SCIRun User Mailing List

Text archives Help


[SCIRUN-USERS] dynamic compilation error using BioImage


Chronological Thread 
  • From: "Gordon Kindlmann" <gk@bwh.harvard.edu>
  • To: scirun-users@sci.utah.edu
  • Subject: [SCIRUN-USERS] dynamic compilation error using BioImage
  • Date: 30 Jul 2005 17:48:18 -0400
  • Envelope-recipients: scirun-users@sci.utah.edu,
  • Envelope-sender: gk@bwh.harvard.edu

hello,

I just downloaded SCIRunBioPSE-OSX-bin.1.24.1.tar.gz from http:// software.sci.utah.edu/ and installed it with little incident. The one tiny snag was in following directions in SCIRunDocs.1.24.1/doc/ Installation/Guide/osx/srig.html:

sudo sh -c 'gunzip -c SCIRunBioPSE-OSX.1.24.1.tar.gz \
 | (cd /usr/local && tar xf -)'

this didn't work because the filename was missing "-bin", and then I put that in, I started getting lots of garbage characters to the screen. This, however, worked, and may be a simpler way of accomplishing the same:

set SDIR=`pwd`
cd /usr/local
sudo tar xzvf ${DIR}/SCIRunBioPSE-OSX-bin.1.24.1.tar.gz


Anyway, after starting BioImage, I loaded this dataset:

http://www.sci.utah.edu/~gk/tmp/minipin.nrrd

and then clicked on the "Histogram" button of the processing pane, and got this:

REMARK: Dynamically compiling some code.
DynamicLoader - Successfully created /Users/gk/SCIRun/on-the-fly-libs/ Darwin/NrrdToFieldFieldAlgoScalar.LatVolMesh.float.cc
DynamicLoader - Executing: cd /Users/gk/SCIRun/on-the-fly-libs/ Darwin; /usr/bin/make NrrdToFieldFieldAlgoScalar.LatVolMesh.float.dylib
DynamicLoader::compile_so() syscal error 512: command was 'cd /Users/ gk/SCIRun/on-the-fly-libs/Darwin; /usr/bin/make NrrdToFieldFieldAlgoScalar.LatVolMesh.float.dylib > NrrdToFieldFieldAlgoScalar.LatVolMesh.float.log 2>&1'
set -e; c++ -M -O2 -fno-common -dynamic -fcoalesce-templates -Wno- long-double -I/usr/X11R6/include -I/usr/local/SCIRun/Thirdparty/ include -I/usr/local/SCIRun/Thirdparty/include/InsightToolkit -I/usr/ local/SCIRun/Thirdparty/include/InsightToolkit/Algorithms -I/usr/ local/SCIRun/Thirdparty/include/InsightToolkit/BasicFilters -I/usr/ local/SCIRun/Thirdparty/include/InsightToolkit/Common -I/usr/local/ SCIRun/Thirdparty/include/InsightToolkit/IO -I/usr/local/SCIRun/ Thirdparty/include/InsightToolkit/Numerics -I/usr/local/SCIRun/ Thirdparty/include/InsightToolkit/Numerics/FEM -I/usr/local/SCIRun/ Thirdparty/include/InsightToolkit/Numerics/Statistics -I/usr/local/ SCIRun/Thirdparty/include/InsightToolkit/SpatialObject -I/usr/local/ SCIRun/Thirdparty/include/InsightToolkit/Utilities -I/usr/local/ SCIRun/Thirdparty/include/InsightToolkit/Utilities/DICOMParser -I/usr/ local/SCIRun/Thirdparty/include/InsightToolkit/Utilities/MetaIO -I/ usr/local/SCIRun/Thirdparty/include/InsightToolkit/Utilities/NrrdIO - I/usr/local/SCIRun/Thirdparty/include/InsightToolkit/Utilities/vxl/ core -I/usr/local/SCIRun/Thirdparty/include/InsightToolkit/Utilities/ vxl/vcl -I/usr/local/SCIRun/Thirdparty/src/tcl/generic -I/usr/local/ SCIRun/Thirdparty/src/tk/generic -I/usr/local/SCIRun/Thirdparty/src/ tk/unix -I/usr/local/SCIRun/bin -I/usr/local/SCIRun/bin/include -I/ usr/local/SCIRun/src -I/usr/local/SCIRun/src/Packages -I/usr/local/ SCIRun/src/include NrrdToFieldFieldAlgoScalar.LatVolMesh.float.cc \
| sed 's/\(NrrdToFieldFieldAlgoScalar.LatVolMesh.float\)\.o [ :]*/\1.o NrrdToFieldFieldAlgoScalar.LatVolMesh.float.d : /g' > NrrdToFieldFieldAlgoScalar.LatVolMesh.float.d; \
[ -s NrrdToFieldFieldAlgoScalar.LatVolMesh.float.d ] || rm -f NrrdToFieldFieldAlgoScalar.LatVolMesh.float.d
cc1plus: error: unrecognized command line option "-fcoalesce-templates"
rm -f NrrdToFieldFieldAlgoScalar.LatVolMesh.float.o NrrdToFieldFieldAlgoScalar.LatVolMesh.float.so NrrdToFieldFieldAlgoScalar.LatVolMesh.float.dylib
c++ -c -O2 -fno-common -dynamic -fcoalesce-templates -Wno-long- double -I/usr/X11R6/include -I/usr/local/SCIRun/Thirdparty/ include -I/usr/local/SCIRun/Thirdparty/include/InsightToolkit -I/usr/ local/SCIRun/Thirdparty/include/InsightToolkit/Algorithms -I/usr/ local/SCIRun/Thirdparty/include/InsightToolkit/BasicFilters -I/usr/ local/SCIRun/Thirdparty/include/InsightToolkit/Common -I/usr/local/ SCIRun/Thirdparty/include/InsightToolkit/IO -I/usr/local/SCIRun/ Thirdparty/include/InsightToolkit/Numerics -I/usr/local/SCIRun/ Thirdparty/include/InsightToolkit/Numerics/FEM -I/usr/local/SCIRun/ Thirdparty/include/InsightToolkit/Numerics/Statistics -I/usr/local/ SCIRun/Thirdparty/include/InsightToolkit/SpatialObject -I/usr/local/ SCIRun/Thirdparty/include/InsightToolkit/Utilities -I/usr/local/ SCIRun/Thirdparty/include/InsightToolkit/Utilities/DICOMParser -I/usr/ local/SCIRun/Thirdparty/include/InsightToolkit/Utilities/MetaIO -I/ usr/local/SCIRun/Thirdparty/include/InsightToolkit/Utilities/NrrdIO - I/usr/local/SCIRun/Thirdparty/include/InsightToolkit/Utilities/vxl/ core -I/usr/local/SCIRun/Thirdparty/include/InsightToolkit/Utilities/ vxl/vcl -I/usr/local/SCIRun/Thirdparty/src/tcl/generic -I/usr/local/ SCIRun/Thirdparty/src/tk/generic -I/usr/local/SCIRun/Thirdparty/src/ tk/unix -I/usr/local/SCIRun/bin -I/usr/local/SCIRun/bin/include -I/ usr/local/SCIRun/src -I/usr/local/SCIRun/src/Packages -I/usr/local/ SCIRun/src/include NrrdToFieldFieldAlgoScalar.LatVolMesh.float.cc -o NrrdToFieldFieldAlgoScalar.LatVolMesh.float.o
cc1plus: error: unrecognized command line option "-fcoalesce-templates"
make: *** [NrrdToFieldFieldAlgoScalar.LatVolMesh.float.o] Error 1
DYNAMIC COMPILATION ERROR: /Users/gk/SCIRun/on-the-fly-libs/Darwin/ NrrdToFieldFieldAlgoScalar.LatVolMesh.float.dylib does not compile!!
REMARK: Dynamic compilation completed.
ERROR: Could not compile algorithm for 'NrrdToFieldFieldAlgoScalar<LatVolField< float >, LatVolMesh, float>'.

I get this information from "System Profiler"
Hardware Overview:

  Machine Name:    PowerBook G4 17"
  Machine Model:    PowerBook5,7
  CPU Type:    PowerPC G4  (1.2)
  Number Of CPUs:    1
  CPU Speed:    1.67 GHz
  L2 Cache (per CPU):    512 KB
  Memory:    2 GB
  Bus Speed:    167 MHz
  Boot ROM Version:    4.9.1f3
  Serial Number:    W85300K7SQ5
  Sudden Motion Sensor:
  State:    Enabled
  Version:    1.0

System Software Overview:

  System Version:    Mac OS X 10.4 (8A451)
  Kernel Version:    Darwin 8.0.0
  Boot Volume:    gnocchi
  Computer Name:    gnocchi
  User Name:    Gordon Kindlmann (gk)

I get a very similar error when trying to load this volume:
http://www.sci.utah.edu/~gk/tmp/minipin-US.nrrd

Looking forward to playing around with BioImage some more!

Gordon

===========================================================================
== The SCIRun Users mailing list: send email to majordomo@sci.utah.edu   ==
== for more details.                                                     ==
== Please acknowledge use of SCIRun in your papers and reports:          ==
==   see http://software.sci.utah.edu/scirun-biopse_citation.bib         ==
===========================================================================




  • [SCIRUN-USERS] dynamic compilation error using BioImage, Gordon Kindlmann, 07/30/2005

Archive powered by MHonArc 2.6.16.

Top of page