Subject: CGAL users discussion list
List archive
- From: Laurent Saboret <>
- To:
- Subject: Re: [cgal-discuss] compile surface reconstruction example
- Date: Fri, 12 Aug 2011 16:43:18 +0200
Hi,
Linking with TAUCS is a little complex as TAUCS requires other libraries
(BLAS, LAPACK, Metis).
I recommend you to use the makefile
examples/Surface_reconstruction_points_3/CMakeLists.txt provided with CGAL.
If you prefer to write your own CMakeLists.txt, you need:
find_package(TAUCS)
include( ${TAUCS_USE_FILE} )
Best regards,
Laurent SABORET
Le 12/08/2011 11:57, Yifei Li a écrit :
Hi all,
I'm trying to compile the surface reconstruction example at
http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Surface_reconstruction_points_3/Chapter_main.html#Subsection_47.3.2
using cake, and here's my CMakeLists.txt:
make_minimum_required(VERSION 2.8)
project(cgal)
find_package(CGAL)
include(UseCGAL)
add_library(taucs STATIC IMPORTED)
set_property(TARGET taucs PROPERTY IMPORTED_LOCATION
/opt/local/lib/libtaucs.a)
add_executable(cgal main.cpp)
target_link_libraries(cgal taucs)
But I got following linking errors (snippet):
"_dtrsm_", referenced from:
_recursive_supernodal_solve_l in libtaucs.a(taucs_sn_llt_D.o)
_recursive_supernodal_solve_lt in libtaucs.a(taucs_sn_llt_D.o)
_recursive_leftlooking_supernodal_factor_llt in
libtaucs.a(taucs_sn_llt_D.o)
_recursive_multifrontal_supernodal_factor_llt in
libtaucs.a(taucs_sn_llt_D.o)
_leftlooking_supernodal_front_factor in
libtaucs.a(taucs_ccs_ooc_llt_D.o)
_recursive_supernodal_solve_l_ooc in libtaucs.a(taucs_ccs_ooc_llt_D.o)
_recursive_supernodal_solve_lt_ooc in libtaucs.a(taucs_ccs_ooc_llt_D.o)
What are the other libraries should I link to my project?
Thanks
Yifei
- [cgal-discuss] compile surface reconstruction example, Yifei Li, 08/12/2011
- Re: [cgal-discuss] compile surface reconstruction example, Laurent Saboret, 08/12/2011
Archive powered by MHonArc 2.6.16.