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 Rineau (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Re: Error by compiling poisson_reconstruction_example
  • Date: Fri, 25 Jun 2010 12:21:49 +0200
  • Organization: GeometryFactory

On Friday 25 June 2010 10:22:06 Xie Yi wrote:
> Laurent Saboret-2 wrote:
> > Hi Xie Yi,
> >
> > Please try to delete cmake cache and try again:
> > cd ~/Programs/CGAL-3.6/examples/Surface_reconstruction_points_3
> > delete CMakeCache.txt
> > cmake -DCGAL_DIR=$HOME/CGAL-3.6 .
> > make
> >
> > Best regards,
> > Laurent Saboret
> >
> > Xie Yi wrote:
> >> Hi, everyone,
> >>
> >> after Sebastien helped me, finally I installed taucs successfully. I'm
> >> only
> >> one step away from compiling. I thought at least.
> >>
> >> Now I have an error as follow:
> >>
> >> abbotxie@abbotxie-laptop:~/Programs/CGAL-3.6/examples/Surface_reconstruc
> >> tion_points_3$ cmake -DCGAL_DIR=$HOME/CGAL-3.6 .
> >> -- Build type: Release
> >> -- USING CXXFLAGS = ' -frounding-math -O3 -DNDEBUG'
> >> -- USING EXEFLAGS = ' '
> >> -- Targetting Unix Makefiles
> >> -- Using /usr/bin/c++ compiler.
> >> -- TAUCS include: /usr/local/include
> >> -- TAUCS definitions:
> >> -- TAUCS library directories: /usr/local/lib
> >> -- TAUCS libraries:
> >> /usr/local/lib/libtaucs.a;/usr/local/lib/libmetis.a -- LAPACK include:
> >> -- LAPACK definitions:
> >> -- LAPACK library directories: /usr/local/lib
> >> -- LAPACK libraries: true
> >> -- LAPACK link flags:
> >> -- BLAS include:
> >> -- BLAS definitions:
> >> -- BLAS library directories: /usr/local/lib
> >> -- BLAS libraries: true
> >> -- BLAS link flags:
> >> -- MKL not found. Please specify library location.
> >> -- NOTICE: Some of the executables in this directory need the MKL
> >> library and will not be compiled.
> >> -- Configuring done
> >> -- Generating done
> >> -- Build files have been written to:
> >> /home/abbotxie/Programs/CGAL-3.6/examples/Surface_reconstruction_points_
> >> 3
> >> abbotxie@abbotxie-laptop:~/Programs/CGAL-3.6/examples/Surface_reconstru
> >> ction_points_3$ make
> >> Linking CXX executable poisson_reconstruction_example
> >> /usr/bin/ld: cannot find -ltrue
> >> collect2: ld returned 1 exit status
> >> make[2]: *** [poisson_reconstruction_example] Error 1
> >> make[1]: *** [CMakeFiles/poisson_reconstruction_example.dir/all] Error 2
> >> make: *** [all] Error 2
> >>
> >> I can't find anything about this -ltrue. Has anyone an idea about this?
> >>
> >> Thank you.
> >>
> >> Best regards
> >>
> >> XIE Yi
>
> Thank you Laurent. I found out what the problem was. I was stupid putting
> BLAS_LIBRARIES=true and BLAS_LIBRARIES_DIR=/usr/lib/. That's why I got
> -ltrue and cannot find it anywhere.
>
> But now I'm facing another problem here:
>
> abbotxie@abbotxie-laptop:~/Programs/CGAL-3.6/examples/Surface_reconstructio
> n_points_3$ make
> Scanning dependencies of target poisson_reconstruction_example
> [100%] Building CXX object
> CMakeFiles/poisson_reconstruction_example.dir/poisson_reconstruction_exampl
> e.o Linking CXX executable poisson_reconstruction_example

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/



Archive powered by MHonArc 2.6.16.

Top of Page