Hi,
I am new to SCIRun and am having problems linking in TetGen (im running linux ubuntu 9.04). I followed the instructions in the ischemia model tutorial and everything worked up until the point when i type "make" to build scirun. The following is what is output in my terminal window:
--------------------------------------------------------------------------------------------------------------------------
joe@PC018850:~/PhD/Programs/SCIRun/bin$ sudo make
[ 0%] Built target copy_scripts
[ 0%] Built target sci_glew
[ 0%] Built target slivrG
[ 2%] Built target slivrV
[ 2%] Built target Core_Exceptions
[ 4%] Built target Core_Thread
[ 6%] Built target Core_Util
[ 7%] Built target Core_Math
[ 7%] Built target Core_Persistent
[ 9%] Built target Core_Geometry
[ 9%] Built target Core_XMLUtil
[ 10%] Built target Core_Basis
[ 15%] Built target Core_Datatypes
[ 22%] Built target Core_Geom
[ 22%] Built target Core_Algorithms_Util
[ 22%] Built target Core_Algorithms_Converter
[ 22%] Built target Core_Volume
[ 22%] Built target Core_Matlab
[ 23%] Built target Core_ImportExport
[ 24%] Built target Core_Algorithms_DataIO
[ 24%] Built target Core_Algorithms_DataStreaming
[ 27%] Built target Core_Algorithms_Math
Linking CXX shared library ../../../lib/libCore_Algorithms_Fields.so
/usr/bin/ld: /home/joe/PhD/Programs/SCIRun/tetgen1.4.2/libtet.a(tetgen.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/home/joe/PhD/Programs/SCIRun/tetgen1.4.2/libtet.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [lib/libCore_Algorithms_Fields.so] Error 1
make[1]: *** [Core/Algorithms/Fields/CMakeFiles/Core_Algorithms_Fields.dir/all] Error 2
make: *** [all] Error 2
joe@PC018850:~/PhD/Programs/SCIRun/bin$
--------------------------------------------------------------------------------------------------------------------------
any help anyone could give would be much appreciated.
regards
Joe
Archive powered by MHonArc 2.6.16.