Skip to Content.
Sympa Menu

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

Subject: CGAL users discussion list

List archive

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


Chronological Thread 
  • From: Laurent Saboret <>
  • To:
  • Subject: Re: [cgal-discuss] Re: Help needed reconstructing surfaces from 3D data sets
  • Date: Wed, 30 Jun 2010 15:53:14 +0200
  • Organization: INFOTERRA

Hi,

Did you download the latest version of TAUCS?
It is https://gforge.inria.fr/frs/download.php/24628/taucs_full.tgz (41.44 MB).
CGAL-README.TXT should be dated August 2009 (see bottom of the file).

Regards,
Laurent S.


bobsta wrote:
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





Ce courrier électronique et toutes les pièces éventuellement jointes qu’il
contient sont CONFIDENTIELS et destinés exclusivement à l’usage de leur
destinataire. Si une erreur de transmission ou une adresse erronée a mal
dirigée ce courrier, merci d’en informer l’expéditeur en lui faisant une
réponse par courrier électronique dès réception. Si vous n’êtes pas le
destinataire de ce courrier, vous ne devez pas l’utiliser, le conserver, en
faire état, le distribuer, le copier, l’imprimer ou en révéler le contenu à
une tierce partie.
Ce courrier électronique est à usage strictement informatif et ne saurait
engager de quelque manière que ce soit SPOT IMAGE SA, ni ses filiales.

This e-mail and any attachments hereto are CONFIDENTIAL and intended solely
for the use of the addressee. If you have received this e-mail in error
please send it back to the person that sent it to you.
If you have received it in error, please notify the sender by return email.
If you are not the addressee of this email, you must not use, keep,
disseminate, copy, print or otherwise deal with it.
This email is for information only and will not bind SPOT IMAGE SA in any
contract or obligation, nor its subsidiaries.



Archive powered by MHonArc 2.6.16.

Top of Page