Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Re: Help needed reconstructing surfaces from 3D data sets

Subject: CGAL users discussion list

List archive

[cgal-discuss] Re: Help needed reconstructing surfaces from 3D data sets


Chronological Thread 
  • From: bobsta <>
  • To:
  • Subject: [cgal-discuss] Re: Help needed reconstructing surfaces from 3D data sets
  • Date: Wed, 30 Jun 2010 04:47:30 -0700 (PDT)


After digging a bit deeper I discovered that I need to install Taucs. I
downloaded and unpacked the version linked to from the CGAL homepage. I
executed the configure program i.e. ./configure which correctly identified
the OS as linux. However when I tried to run make I receive the following:

cc (SUSE Linux) 4.4.1 [gcc-4_4-branch revision 150839] - 64bit SUSE 11.2

cc -c -O3 -Wall -Werror -std=c99 -DMACHTYPE_x86_64-suse-linux -I src/ -I
build/linux/ -I external/src/ \
progs/taucs_blas_underscore_test.c \

-oobj/linux/taucs_blas_underscore_test.o

<command-line>: error: ISO C99 requires whitespace after the macro name

make: [build/linux/taucs_config_tests.h] Error 1 (ignored)

cc \

-oobj/linux/taucs_blas_underscore_test \

obj/linux/taucs_blas_underscore_test.o -L external/lib/linux
-llapack -L external/lib/linux -lf77blas -lcblas -latlas -L
external/lib/linux -lmetis -lg2c -lm
cc: obj/linux/taucs_blas_underscore_test.o: No such file or directory


make: [build/linux/taucs_config_tests.h] Error 1 (ignored)


obj/linux/taucs_blas_underscore_test build/linux/taucs_config_tests.h


make: obj/linux/taucs_blas_underscore_test: Command not found


make: [build/linux/taucs_config_tests.h] Error 127 (ignored)


cc -c -O3 -Wall -Werror -std=c99 -DMACHTYPE_x86_64-suse-linux -I src/ -I
build/linux/ -I external/src/ \

progs/taucs_blas_nounderscore_test.c \


-oobj/linux/taucs_blas_nounderscore_test.o


<command-line>: error: ISO C99 requires whitespace after the macro name


make: [build/linux/taucs_config_tests.h] Error 1 (ignored)


cc \
-oobj/linux/taucs_blas_nounderscore_test \
obj/linux/taucs_blas_nounderscore_test.o -L external/lib/linux
-llapack -L external/lib/linux -lf77blas -lcblas -latlas -L
external/lib/linux -lmetis -lg2c -lm
cc: obj/linux/taucs_blas_nounderscore_test.o: No such file or directory
make: [build/linux/taucs_config_tests.h] Error 1 (ignored)
obj/linux/taucs_blas_nounderscore_test build/linux/taucs_config_tests.h
make: obj/linux/taucs_blas_nounderscore_test: Command not found
make: [build/linux/taucs_config_tests.h] Error 127 (ignored)
cc -c -O3 -Wall -Werror -std=c99 -DMACHTYPE_x86_64-suse-linux -I src/ -I
build/linux/ -I external/src/ \
progs/taucs_c99_complex_test.c \
-oobj/linux/taucs_c99_complex_test.o
<command-line>: error: ISO C99 requires whitespace after the macro name
make: [build/linux/taucs_config_tests.h] Error 1 (ignored)
cc \
-oobj/linux/taucs_c99_complex_test \
obj/linux/taucs_c99_complex_test.o -L external/lib/linux -llapack
-L external/lib/linux -lf77blas -lcblas -latlas -L external/lib/linux
-lmetis -lg2c -lm
cc: obj/linux/taucs_c99_complex_test.o: No such file or directory
make: [build/linux/taucs_config_tests.h] Error 1 (ignored)
obj/linux/taucs_c99_complex_test build/linux/taucs_config_tests.h
make: obj/linux/taucs_c99_complex_test: Command not found
make: [build/linux/taucs_config_tests.h] Error 127 (ignored)
cc -c -O3 -Wall -Werror -std=c99 -DMACHTYPE_x86_64-suse-linux -I src/ -I
build/linux/ -I external/src/ \
progs/taucs_cilk_test.c \
-oobj/linux/taucs_cilk_test.o
<command-line>: error: ISO C99 requires whitespace after the macro name
progs/taucs_cilk_test.c:8:19: error: cilk.h: No such file or directory
cc1: warnings being treated as errors
progs/taucs_cilk_test.c:10: error: ignoring #pragma lang
progs/taucs_cilk_test.c:12: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘int’
progs/taucs_cilk_test.c:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘int’
make: [build/linux/taucs_config_tests.h] Error 1 (ignored)
cc \
-oobj/linux/taucs_cilk_test \
obj/linux/taucs_cilk_test.o -L external/lib/linux -llapack -L
external/lib/linux -lf77blas -lcblas -latlas -L external/lib/linux -lmetis
-lg2c -lm
cc: obj/linux/taucs_cilk_test.o: No such file or directory
make: [build/linux/taucs_config_tests.h] Error 1 (ignored)
obj/linux/taucs_cilk_test build/linux/taucs_config_tests.h
make: obj/linux/taucs_cilk_test: Command not found
make: [build/linux/taucs_config_tests.h] Error 127 (ignored)
cc -c -O3 -Wall -Werror -std=c99 -DMACHTYPE_x86_64-suse-linux -I src/ -I
build/linux/ -I external/src/ \
-DTAUCS_CORE_GENERAL \
src/taucs_sn_llt.c \
-oobj/linux/taucs_sn_llt.o
<command-line>: error: ISO C99 requires whitespace after the macro name
In file included from src/taucs_sn_llt.c:13:
src/taucs.h:6:32: error: taucs_config_tests.h: No such file or directory
src/taucs.h:79:2: error: #error "taucs_blas_[no]underscore_test: linking
with the BLAS failed both attempts"
In file included from src/taucs_sn_llt.c:13:
src/taucs.h:828: error: ‘taucs_blas_name’ declared as function returning a
function
cc1: warnings being treated as errors
src/taucs.h:828: error: parameter names (without types) in function
declaration
src/taucs.h:829: error: ‘taucs_blas_name’ declared as function returning a
function
src/taucs.h:829: error: parameter names (without types) in function
declaration
src/taucs.h:830: error: ‘taucs_blas_name’ declared as function returning a
function
src/taucs.h:830: error: parameter names (without types) in function
declaration
src/taucs.h:831: error: ‘taucs_blas_name’ declared as function returning a
function
src/taucs.h:831: error: parameter names (without types) in function
declaration
make: *** [obj/linux/taucs_sn_llt.o] Error 1


From the above it seems that I also have to install metis first ( lapack and
blas were installed when upgrading the OS), which I donwloaded and unpacked.

make[1]: Entering directory `/tmp/metis-4.0/Lib'
gcc -O2 -I. -c coarsen.c
In file included from ./metis.h:36,
from coarsen.c:13:
./proto.h:462: error: conflicting types for ‘__log2’
/usr/include/bits/mathcalls.h:145: note: previous declaration of ‘__log2’
was here
make[1]: *** [coarsen.o] Error 1
make[1]: Leaving directory `/tmp/metis-4.0/Lib'
make: *** [default] Error 2



However more fundamentally: is the Poisson surface reconstruction the best
tool for my purposes, given that I need to generate a mesh/polyhedron on the
basis of point data sets from CT images i.e. the structures represent
anatomical structures. In the end I need to be able render these
convex/concave structures and generate a binary mask for which the bixels
are set "true" if inside the structure and remain "false" if outside the
structure. I just need to know whether I am on the right track.

Mark




--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Help-needed-reconstructing-surfaces-from-3D-data-sets-tp2272304p2272706.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.16.

Top of Page