Subject: CGAL users discussion list
List archive
- From: Xie Yi <>
- To:
- Subject: [cgal-discuss] Re: Error by compiling poisson_reconstruction_example
- Date: Fri, 25 Jun 2010 01:22:06 -0700 (PDT)
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_reconstruction_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_reconstruction_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
>>
>>
>
> --
> You are currently subscribed to cgal-discuss.
> To unsubscribe or access the archives, go to
> https://lists-sop.inria.fr/wws/info/cgal-discuss
>
>
>
> 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.
>
>
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_reconstruction_points_3$
make
Scanning dependencies of target poisson_reconstruction_example
[100%] Building CXX object
CMakeFiles/poisson_reconstruction_example.dir/poisson_reconstruction_example.o
Linking CXX executable poisson_reconstruction_example
/usr/local/lib/libtaucs.a(taucs_vec_base.o): In function `taucs_vec_norm2':
taucs_vec_base.c:(.text+0x3aa): undefined reference to `dnrm2_'
taucs_vec_base.c:(.text+0x3c2): undefined reference to `dznrm2_'
taucs_vec_base.c:(.text+0x3da): undefined reference to `scnrm2_'
taucs_vec_base.c:(.text+0x3f2): undefined reference to `snrm2_'
/usr/local/lib/libtaucs.a(taucs_ccs_ooc_llt_D.o): In function
`recursive_leftlooking_supernodal_update':
taucs_ccs_ooc_llt.c:(.text+0x370): undefined reference to `dsyrk_'
taucs_ccs_ooc_llt.c:(.text+0x3fb): undefined reference to `dgemm_'
/usr/local/lib/libtaucs.a(taucs_ccs_ooc_llt_D.o): In function
`recursive_leftlooking_supernodal_update_panel_ooc':
taucs_ccs_ooc_llt.c:(.text+0x849): undefined reference to `dsyrk_'
taucs_ccs_ooc_llt.c:(.text+0x8d7): undefined reference to `dgemm_'
taucs_ccs_ooc_llt.c:(.text+0xd3c): undefined reference to `dsyrk_'
taucs_ccs_ooc_llt.c:(.text+0xdca): undefined reference to `dgemm_'
/usr/local/lib/libtaucs.a(taucs_ccs_ooc_llt_D.o): In function
`leftlooking_supernodal_front_factor':
taucs_ccs_ooc_llt.c:(.text+0x174f): undefined reference to `dpotrf_'
taucs_ccs_ooc_llt.c:(.text+0x1809): undefined reference to `dtrsm_'
/usr/local/lib/libtaucs.a(taucs_ccs_ooc_llt_D.o): In function
`recursive_supernodal_solve_l_ooc':
taucs_ccs_ooc_llt.c:(.text+0x1be3): undefined reference to `dtrsm_'
taucs_ccs_ooc_llt.c:(.text+0x1c52): undefined reference to `dgemm_'
/usr/local/lib/libtaucs.a(taucs_ccs_ooc_llt_D.o): In function
`recursive_supernodal_solve_lt_ooc':
taucs_ccs_ooc_llt.c:(.text+0x2139): undefined reference to `dtrsm_'
taucs_ccs_ooc_llt.c:(.text+0x2512): undefined reference to `dgemm_'
/usr/local/lib/libtaucs.a(taucs_ccs_ooc_llt_S.o): In function
`recursive_leftlooking_supernodal_update':
taucs_ccs_ooc_llt.c:(.text+0x370): undefined reference to `ssyrk_'
taucs_ccs_ooc_llt.c:(.text+0x3fb): undefined reference to `sgemm_'
/usr/local/lib/libtaucs.a(taucs_ccs_ooc_llt_S.o): In function
`recursive_leftlooking_supernodal_update_panel_ooc':
taucs_ccs_ooc_llt.c:(.text+0x849): undefined reference to `ssyrk_'
taucs_ccs_ooc_llt.c:(.text+0x8d7): undefined reference to `sgemm_'
taucs_ccs_ooc_llt.c:(.text+0xd3c): undefined reference to `ssyrk_'
taucs_ccs_ooc_llt.c:(.text+0xdca): undefined reference to `sgemm_'
/usr/local/lib/libtaucs.a(taucs_ccs_ooc_llt_S.o): In function
`leftlooking_supernodal_front_factor':
taucs_ccs_ooc_llt.c:(.text+0x174f): undefined reference to `spotrf_'
taucs_ccs_ooc_llt.c:(.text+0x180c): undefined reference to `strsm_'
/usr/local/lib/libtaucs.a(taucs_ccs_ooc_llt_S.o): In function
`recursive_supernodal_solve_l_ooc':
taucs_ccs_ooc_llt.c:(.text+0x1bda): undefined reference to `strsm_'
taucs_ccs_ooc_llt.c:(.text+0x1c43): undefined reference to `sgemm_'
/usr/local/lib/libtaucs.a(taucs_ccs_ooc_llt_S.o): In function
`recursive_supernodal_solve_lt_ooc':
taucs_ccs_ooc_llt.c:(.text+0x2131): undefined reference to `strsm_'
taucs_ccs_ooc_llt.c:(.text+0x2513): undefined reference to `sgemm_'
/usr/local/lib/libtaucs.a(taucs_ccs_ooc_llt_Z.o): In function
`recursive_leftlooking_supernodal_update':
taucs_ccs_ooc_llt.c:(.text+0x36d): undefined reference to `zherk_'
taucs_ccs_ooc_llt.c:(.text+0x3f4): undefined reference to `zgemm_'
/usr/local/lib/libtaucs.a(taucs_ccs_ooc_llt_Z.o): In function
`recursive_leftlooking_supernodal_update_panel_ooc':
taucs_ccs_ooc_llt.c:(.text+0x852): undefined reference to `zherk_'
taucs_ccs_ooc_llt.c:(.text+0x8e2): undefined reference to `zgemm_'
taucs_ccs_ooc_llt.c:(.text+0xd42): undefined reference to `zherk_'
taucs_ccs_ooc_llt.c:(.text+0xdd7): undefined reference to `zgemm_'
/usr/local/lib/libtaucs.a(taucs_ccs_ooc_llt_Z.o): In function
`leftlooking_supernodal_front_factor':
taucs_ccs_ooc_llt.c:(.text+0x1798): undefined reference to `zpotrf_'
taucs_ccs_ooc_llt.c:(.text+0x1854): undefined reference to `ztrsm_'
/usr/local/lib/libtaucs.a(taucs_ccs_ooc_llt_Z.o): In function
`recursive_supernodal_solve_l_ooc':
taucs_ccs_ooc_llt.c:(.text+0x1cfd): undefined reference to `ztrsm_'
taucs_ccs_ooc_llt.c:(.text+0x1d63): undefined reference to `zgemm_'
/usr/local/lib/libtaucs.a(taucs_ccs_ooc_llt_Z.o): In function
`recursive_supernodal_solve_lt_ooc':
taucs_ccs_ooc_llt.c:(.text+0x2359): undefined reference to `ztrsm_'
taucs_ccs_ooc_llt.c:(.text+0x299a): undefined reference to `zgemm_'
/usr/local/lib/libtaucs.a(taucs_ccs_ooc_llt_C.o): In function
`recursive_leftlooking_supernodal_update':
taucs_ccs_ooc_llt.c:(.text+0x370): undefined reference to `cherk_'
taucs_ccs_ooc_llt.c:(.text+0x3fb): undefined reference to `cgemm_'
/usr/local/lib/libtaucs.a(taucs_ccs_ooc_llt_C.o): In function
`recursive_leftlooking_supernodal_update_panel_ooc':
taucs_ccs_ooc_llt.c:(.text+0x869): undefined reference to `cherk_'
taucs_ccs_ooc_llt.c:(.text+0x8f7): undefined reference to `cgemm_'
taucs_ccs_ooc_llt.c:(.text+0xd6c): undefined reference to `cherk_'
taucs_ccs_ooc_llt.c:(.text+0xdfa): undefined reference to `cgemm_'
/usr/local/lib/libtaucs.a(taucs_ccs_ooc_llt_C.o): In function
`leftlooking_supernodal_front_factor':
taucs_ccs_ooc_llt.c:(.text+0x17b0): undefined reference to `cpotrf_'
taucs_ccs_ooc_llt.c:(.text+0x186c): undefined reference to `ctrsm_'
/usr/local/lib/libtaucs.a(taucs_ccs_ooc_llt_C.o): In function
`recursive_supernodal_solve_l_ooc':
taucs_ccs_ooc_llt.c:(.text+0x1cf2): undefined reference to `ctrsm_'
taucs_ccs_ooc_llt.c:(.text+0x1d5e): undefined reference to `cgemm_'
/usr/local/lib/libtaucs.a(taucs_ccs_ooc_llt_C.o): In function
`recursive_supernodal_solve_lt_ooc':
taucs_ccs_ooc_llt.c:(.text+0x2327): undefined reference to `ctrsm_'
taucs_ccs_ooc_llt.c:(.text+0x2930): undefined reference to `cgemm_'
/usr/local/lib/libtaucs.a(taucs_sn_llt_D.o): In function
`recursive_supernodal_solve_l':
taucs_sn_llt.c:(.text+0x3fc): undefined reference to `dtrsm_'
taucs_sn_llt.c:(.text+0x477): undefined reference to `dgemm_'
/usr/local/lib/libtaucs.a(taucs_sn_llt_D.o): In function
`recursive_supernodal_solve_lt':
taucs_sn_llt.c:(.text+0x6d0): undefined reference to `dtrsm_'
taucs_sn_llt.c:(.text+0x76a): undefined reference to `dgemm_'
/usr/local/lib/libtaucs.a(taucs_sn_llt_D.o): In function
`recursive_leftlooking_supernodal_update':
taucs_sn_llt.c:(.text+0xbde): undefined reference to `dsyrk_'
taucs_sn_llt.c:(.text+0xc69): undefined reference to `dgemm_'
/usr/local/lib/libtaucs.a(taucs_sn_llt_D.o): In function
`recursive_leftlooking_supernodal_factor_llt':
taucs_sn_llt.c:(.text+0x11ab): undefined reference to `dpotrf_'
taucs_sn_llt.c:(.text+0x122d): undefined reference to `dtrsm_'
/usr/local/lib/libtaucs.a(taucs_sn_llt_D.o): In function
`recursive_multifrontal_supernodal_factor_llt':
taucs_sn_llt.c:(.text+0x1f95): undefined reference to `dpotrf_'
taucs_sn_llt.c:(.text+0x21f5): undefined reference to `dtrsm_'
taucs_sn_llt.c:(.text+0x22c2): undefined reference to `dsyrk_'
/usr/local/lib/libtaucs.a(taucs_sn_llt_S.o): In function
`recursive_supernodal_solve_l':
taucs_sn_llt.c:(.text+0x3f6): undefined reference to `strsm_'
taucs_sn_llt.c:(.text+0x471): undefined reference to `sgemm_'
/usr/local/lib/libtaucs.a(taucs_sn_llt_S.o): In function
`recursive_supernodal_solve_lt':
taucs_sn_llt.c:(.text+0x6c8): undefined reference to `strsm_'
taucs_sn_llt.c:(.text+0x76b): undefined reference to `sgemm_'
/usr/local/lib/libtaucs.a(taucs_sn_llt_S.o): In function
`recursive_leftlooking_supernodal_update':
taucs_sn_llt.c:(.text+0xbde): undefined reference to `ssyrk_'
taucs_sn_llt.c:(.text+0xc69): undefined reference to `sgemm_'
/usr/local/lib/libtaucs.a(taucs_sn_llt_S.o): In function
`recursive_leftlooking_supernodal_factor_llt':
taucs_sn_llt.c:(.text+0x11ae): undefined reference to `spotrf_'
taucs_sn_llt.c:(.text+0x1230): undefined reference to `strsm_'
/usr/local/lib/libtaucs.a(taucs_sn_llt_S.o): In function
`recursive_multifrontal_supernodal_factor_llt':
taucs_sn_llt.c:(.text+0x1fa0): undefined reference to `spotrf_'
taucs_sn_llt.c:(.text+0x2205): undefined reference to `strsm_'
taucs_sn_llt.c:(.text+0x22d2): undefined reference to `ssyrk_'
/usr/local/lib/libtaucs.a(taucs_sn_llt_Z.o): In function
`recursive_supernodal_solve_l':
taucs_sn_llt.c:(.text+0x40c): undefined reference to `ztrsm_'
taucs_sn_llt.c:(.text+0x484): undefined reference to `zgemm_'
/usr/local/lib/libtaucs.a(taucs_sn_llt_Z.o): In function
`recursive_supernodal_solve_lt':
taucs_sn_llt.c:(.text+0x704): undefined reference to `ztrsm_'
taucs_sn_llt.c:(.text+0x7ae): undefined reference to `zgemm_'
/usr/local/lib/libtaucs.a(taucs_sn_llt_Z.o): In function
`recursive_leftlooking_supernodal_update':
taucs_sn_llt.c:(.text+0xc23): undefined reference to `zherk_'
taucs_sn_llt.c:(.text+0xca9): undefined reference to `zgemm_'
/usr/local/lib/libtaucs.a(taucs_sn_llt_Z.o): In function
`recursive_leftlooking_supernodal_factor_llt':
taucs_sn_llt.c:(.text+0x1231): undefined reference to `zpotrf_'
taucs_sn_llt.c:(.text+0x12b6): undefined reference to `ztrsm_'
/usr/local/lib/libtaucs.a(taucs_sn_llt_Z.o): In function
`recursive_multifrontal_supernodal_factor_llt':
taucs_sn_llt.c:(.text+0x210c): undefined reference to `zpotrf_'
taucs_sn_llt.c:(.text+0x23a0): undefined reference to `ztrsm_'
taucs_sn_llt.c:(.text+0x246d): undefined reference to `zherk_'
/usr/local/lib/libtaucs.a(taucs_sn_llt_C.o): In function
`recursive_supernodal_solve_l':
taucs_sn_llt.c:(.text+0x40e): undefined reference to `ctrsm_'
taucs_sn_llt.c:(.text+0x486): undefined reference to `cgemm_'
/usr/local/lib/libtaucs.a(taucs_sn_llt_C.o): In function
`recursive_supernodal_solve_lt':
taucs_sn_llt.c:(.text+0x6ee): undefined reference to `ctrsm_'
taucs_sn_llt.c:(.text+0x78d): undefined reference to `cgemm_'
/usr/local/lib/libtaucs.a(taucs_sn_llt_C.o): In function
`recursive_leftlooking_supernodal_update':
taucs_sn_llt.c:(.text+0xc03): undefined reference to `cherk_'
taucs_sn_llt.c:(.text+0xc8e): undefined reference to `cgemm_'
/usr/local/lib/libtaucs.a(taucs_sn_llt_C.o): In function
`recursive_leftlooking_supernodal_factor_llt':
taucs_sn_llt.c:(.text+0x1222): undefined reference to `cpotrf_'
taucs_sn_llt.c:(.text+0x12a6): undefined reference to `ctrsm_'
/usr/local/lib/libtaucs.a(taucs_sn_llt_C.o): In function
`recursive_multifrontal_supernodal_factor_llt':
taucs_sn_llt.c:(.text+0x20cc): undefined reference to `cpotrf_'
taucs_sn_llt.c:(.text+0x2360): undefined reference to `ctrsm_'
taucs_sn_llt.c:(.text+0x242d): undefined reference to `cherk_'
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
And another one:
abbotxie@abbotxie-laptop:~/Programs/CGAL-3.6/demo/Surface_reconstruction_points_3$
./Point_set_demo
### Loading "libPS_demo_average_spacing_plugin.so"...
### Loading "libPS_demo_cleaning_plugin.so"...
### Loading "libPS_demo_inside_out_plugin.so"...
### Loading "libPS_demo_local_spacing_plugin.so"...
### Loading "libPS_demo_normal_estimation_plugin.so"...
### Loading "libPS_demo_off_plugin.so"...
### Loading "libPS_demo_poisson_plugin.so"...
Error loading "libPS_demo_poisson_plugin.so": Cannot load library
/home/abbotxie/Programs/CGAL-3.6/demo/Surface_reconstruction_points_3/libPS_demo_poisson_plugin.so:
(/home/abbotxie/Programs/CGAL-3.6/demo/Surface_reconstruction_points_3/libPS_demo_poisson_plugin.so:
undefined symbol: dnrm2_)
### Loading "libPS_demo_simplification_plugin.so"...
### Loading "libPS_demo_smoothing_plugin.so"...
### Loading "libPS_demo_xyz_plugin.so"...
Write setting... done.
And still a question. Where can the Lib MKL be found? It's kind of required
by configuring.
Best regards
XIE, Yi
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Re-Error-by-compiling-poisson-reconstruction-example-tp2268101p2268113.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] Error by compiling poisson_reconstruction_example, Xie Yi, 06/24/2010
- Re: [cgal-discuss] Error by compiling poisson_reconstruction_example, Laurent Saboret, 06/25/2010
- [cgal-discuss] Re: Error by compiling poisson_reconstruction_example, Xie Yi, 06/25/2010
- [cgal-discuss] Re: Error by compiling poisson_reconstruction_example, Xie Yi, 06/25/2010
- Re: [cgal-discuss] Re: Error by compiling poisson_reconstruction_example, Laurent Saboret, 06/25/2010
- [cgal-discuss] Re: Error by compiling poisson_reconstruction_example, Xie Yi, 06/25/2010
- Re: [cgal-discuss] Re: Error by compiling poisson_reconstruction_example, Laurent Saboret, 06/25/2010
- [cgal-discuss] Re: Error by compiling poisson_reconstruction_example, Xie Yi, 06/25/2010
- Re: [cgal-discuss] Re: Error by compiling poisson_reconstruction_example, Laurent Saboret, 06/25/2010
- [cgal-discuss] Re: Error by compiling poisson_reconstruction_example, Xie Yi, 06/25/2010
- Re: [cgal-discuss] Re: Error by compiling poisson_reconstruction_example, Laurent Rineau (GeometryFactory), 06/25/2010
- [cgal-discuss] Re: Error by compiling poisson_reconstruction_example, Xie Yi, 06/25/2010
- Re: [cgal-discuss] Re: Error by compiling poisson_reconstruction_example, Laurent Saboret, 06/25/2010
- [cgal-discuss] Re: Error by compiling poisson_reconstruction_example, Xie Yi, 06/25/2010
- Re: [cgal-discuss] Re: Error by compiling poisson_reconstruction_example, Laurent Saboret, 06/25/2010
- [cgal-discuss] Re: Error by compiling poisson_reconstruction_example, Xie Yi, 06/25/2010
- Re: [cgal-discuss] Re: Error by compiling poisson_reconstruction_example, Laurent Saboret, 06/25/2010
- [cgal-discuss] Re: Error by compiling poisson_reconstruction_example, Xie Yi, 06/25/2010
- [cgal-discuss] Re: Error by compiling poisson_reconstruction_example, Xie Yi, 06/25/2010
- Re: [cgal-discuss] Error by compiling poisson_reconstruction_example, Laurent Saboret, 06/25/2010
Archive powered by MHonArc 2.6.16.