Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Re: Error by compiling poisson_reconstruction_example

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Re: Error by compiling poisson_reconstruction_example


Chronological Thread 
  • From: Laurent Saboret <>
  • To:
  • Subject: Re: [cgal-discuss] Re: Error by compiling poisson_reconstruction_example
  • Date: Fri, 25 Jun 2010 14:15:05 +0200
  • Organization: INFOTERRA



Xie Yi wrote:
Laurent Rineau (GeometryFactory) wrote:
  
Please give us the result of:

  make poisson_reconstruction_example VERBOSE=1

The parameter VERBOSE=1 will show the compile and link flags used by
CMake.

-- 
Laurent Rineau, PhD
R&D Engineer at GeometryFactory           http://www.geometryfactory.com/
Release Manager of the CGAL Project       http://www.cgal.org/

-- 
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss



    

So here is the result:


make poisson_reconstruction_example VERBOSE=1
/usr/bin/cmake
-H/home/abbotxie/Programs/CGAL-3.6/examples/Surface_reconstruction_points_3
-B/home/abbotxie/Programs/CGAL-3.6/examples/Surface_reconstruction_points_3
--check-build-system CMakeFiles/Makefile.cmake 0
make -f CMakeFiles/Makefile2 poisson_reconstruction_example
make[1]: Entering directory
`/home/abbotxie/Programs/CGAL-3.6/examples/Surface_reconstruction_points_3'
/usr/bin/cmake
-H/home/abbotxie/Programs/CGAL-3.6/examples/Surface_reconstruction_points_3
-B/home/abbotxie/Programs/CGAL-3.6/examples/Surface_reconstruction_points_3
--check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start
/home/abbotxie/Programs/CGAL-3.6/examples/Surface_reconstruction_points_3/CMakeFiles
1
make -f CMakeFiles/Makefile2
CMakeFiles/poisson_reconstruction_example.dir/all
make[2]: Entering directory
`/home/abbotxie/Programs/CGAL-3.6/examples/Surface_reconstruction_points_3'
make -f CMakeFiles/poisson_reconstruction_example.dir/build.make
CMakeFiles/poisson_reconstruction_example.dir/depend
make[3]: Entering directory
`/home/abbotxie/Programs/CGAL-3.6/examples/Surface_reconstruction_points_3'
cd /home/abbotxie/Programs/CGAL-3.6/examples/Surface_reconstruction_points_3
&& /usr/bin/cmake -E cmake_depends "Unix Makefiles"
/home/abbotxie/Programs/CGAL-3.6/examples/Surface_reconstruction_points_3
/home/abbotxie/Programs/CGAL-3.6/examples/Surface_reconstruction_points_3
/home/abbotxie/Programs/CGAL-3.6/examples/Surface_reconstruction_points_3
/home/abbotxie/Programs/CGAL-3.6/examples/Surface_reconstruction_points_3
/home/abbotxie/Programs/CGAL-3.6/examples/Surface_reconstruction_points_3/CMakeFiles/poisson_reconstruction_example.dir/DependInfo.cmake
--color=
Dependee
"/home/abbotxie/Programs/CGAL-3.6/examples/Surface_reconstruction_points_3/CMakeFiles/CMakeDirectoryInformation.cmake"
is newer than depender
"/home/abbotxie/Programs/CGAL-3.6/examples/Surface_reconstruction_points_3/CMakeFiles/poisson_reconstruction_example.dir/depend.internal".
Scanning dependencies of target poisson_reconstruction_example
make[3]: Leaving directory
`/home/abbotxie/Programs/CGAL-3.6/examples/Surface_reconstruction_points_3'                                         
make -f CMakeFiles/poisson_reconstruction_example.dir/build.make
CMakeFiles/poisson_reconstruction_example.dir/build
make[3]: Entering directory
`/home/abbotxie/Programs/CGAL-3.6/examples/Surface_reconstruction_points_3'
/usr/bin/cmake -E cmake_progress_report
/home/abbotxie/Programs/CGAL-3.6/examples/Surface_reconstruction_points_3/CMakeFiles
1
[100%] Building CXX object
CMakeFiles/poisson_reconstruction_example.dir/poisson_reconstruction_example.o
/usr/bin/c++   -DDEBUG_TRACE -DCGAL_USE_TAUCS -frounding-math -O3 -DNDEBUG
-I/home/abbotxie/Programs/CGAL-3.6/examples/Surface_reconstruction_points_3/../../include
-I/home/abbotxie/Programs/CGAL-3.6/examples/Surface_reconstruction_points_3/include
-I/home/abbotxie/Programs/CGAL-3.6/examples/Surface_reconstruction_points_3/.
-I/home/abbotxie/Programs/CGAL-3.6/examples/Surface_reconstruction_points_3/../../../../experimental-packages/ARAP_Parameterization/include
-I/home/abbotxie/Programs/CGAL-3.6/examples/Surface_reconstruction_points_3/../../../Surface_mesher/include
-I/home/abbotxie/Programs/CGAL-3.6/examples/Surface_reconstruction_points_3/../../../Point_set_processing_3/include
-I/home/abbotxie/Programs/CGAL-3.6/examples/Surface_reconstruction_points_3/../../../Installation/include
-I/home/abbotxie/Programs/CGAL-3.6/examples/Surface_reconstruction_points_3
-I/usr/local/include -I/home/abbotxie/Programs/CGAL-3.6/include   -o
CMakeFiles/poisson_reconstruction_example.dir/poisson_reconstruction_example.o
-c
/home/abbotxie/Programs/CGAL-3.6/examples/Surface_reconstruction_points_3/poisson_reconstruction_example.cpp
Linking CXX executable poisson_reconstruction_example
/usr/bin/cmake -E cmake_link_script
CMakeFiles/poisson_reconstruction_example.dir/link.txt --verbose=1                                         
/usr/bin/c++    -frounding-math -O3 -DNDEBUG  
CMakeFiles/poisson_reconstruction_example.dir/poisson_reconstruction_example.o 
-o poisson_reconstruction_example -rdynamic
-L/home/abbotxie/Programs/CGAL-3.6/lib -L/usr/local/lib
/home/abbotxie/Programs/CGAL-3.6/lib/libCGAL_Core.so
/home/abbotxie/Programs/CGAL-3.6/lib/libCGAL.so /usr/local/lib/libmpfr.so
/usr/local/lib/libgmp.so -lboost_thread-mt /usr/local/lib/libtaucs.a
/usr/local/lib/libmetis.a /usr/local/lib/liblapack.a
/usr/local/lib/libblas.a
/home/abbotxie/Programs/CGAL-3.6/lib/libCGAL_Core.so
/home/abbotxie/Programs/CGAL-3.6/lib/libCGAL.so /usr/local/lib/libmpfr.so
/usr/local/lib/libgmp.so -lboost_thread-mt /usr/local/lib/libtaucs.a
/usr/local/lib/libmetis.a /usr/local/lib/liblapack.a
/usr/local/lib/libblas.a
-Wl,-rpath,/home/abbotxie/Programs/CGAL-3.6/lib:/usr/local/lib 
xerbla is a lapack routine. 
Please check that you do not have blas and lapack installed twice on your machine (e.g. once with taucs and once with apt-get.

/usr/local/lib/libblas.a(xerbla.o): In function `xerbla_':
(.text+0x0): multiple definition of `xerbla_'
/usr/local/lib/liblapack.a(xerbla.o):xerbla.f:(.text+0x0): first defined
here
/usr/local/lib/liblapack.a(xerbla.o): In function `xerbla_':
xerbla.f:(.text+0xe): undefined reference to `s_wsfe'
xerbla.f:(.text+0x2a): undefined reference to `do_fio'
xerbla.f:(.text+0x46): undefined reference to `do_fio'
xerbla.f:(.text+0x4b): undefined reference to `e_wsfe'
xerbla.f:(.text+0x5d): undefined reference to `s_stop'
collect2: ld returned 1 exit status
make[3]: *** [poisson_reconstruction_example] Error 1
make[3]: Leaving directory
`/home/abbotxie/Programs/CGAL-3.6/examples/Surface_reconstruction_points_3'
make[2]: *** [CMakeFiles/poisson_reconstruction_example.dir/all] Error 2
make[2]: Leaving directory
`/home/abbotxie/Programs/CGAL-3.6/examples/Surface_reconstruction_points_3'
make[1]: *** [CMakeFiles/poisson_reconstruction_example.dir/rule] Error 2
make[1]: Leaving directory
`/home/abbotxie/Programs/CGAL-3.6/examples/Surface_reconstruction_points_3'
make: *** [poisson_reconstruction_example] Error 2

Regards,

XIE, Yi

  
Hi,

The first error is
/usr/local/lib/libblas.a(xerbla.o): In function `xerbla_':
(.text+0x0): multiple definition of `xerbla_'
/usr/local/lib/liblapack.a(xerbla.o):xerbla.f:(.text+0x0): first defined
here

xerbla is a lapack routine.
Please check that you do not have blas and lapack installed twice on your machine (e.g. once with taucs and once with apt-get).

If you do, please:
- remove blas and lapack installed with apt-get
- recompile taucs
- clear cmake cache and run again cmake then make

Regards,
Laurent Saboret


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