Subject: CGAL users discussion list
List archive
- From: Yuri <>
- To:
- Subject: [cgal-discuss] jet_smooth_point_set and jet_estimate_normals
- Date: Thu, 3 Dec 2009 00:09:34 +0100
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:content-type:subject:date:message-id:to:mime-version:x-mailer; b=k9VCSU6g7YWn/N0WE/rCBBGCAPA+I+nbKFyAnEujP0OC+qx2qKhSMWcNKRqIapC5cG DOJna3LsuMD0+2fgVP3uuqAwiTIKu4g6K+43BRE82tpqtcHr4/ZQozpvy9b+9m7ixlTT R1kz8pV8HsIswwm+hKca0C+a5TEKgzoN1nErI=
hi, I have a problem with these 2 jet functions in my QT Project: jet_smooth_point_set and jet_estimate_normals My operating system is Mac OS X snow leopard. I am using the QT Creator IDE. examples/Point_set_processing_3/jet_smoothing_example.cpp If I 'make' and run the example in the CGAL-build-dir it works. When I include it in my QMAKE project file it does compile without error (only some unused parameter warnings from 'work', 'lwork' and 'kernel' But then it crashes when run. I think that I didn't include some libraries or similar. I don't understand CMAKE and the created makefile so well. The other functions from the point set processing section and also the poisson surface reconstruction function works. Another question is. Can I use static and dynamic libraries in my project? Here are the debugger errrors: Depth | Function 0 dgelss_ 1 CGAL::Lapack_svd::solve 2 CGAL::Monge_via_jet_fitting<CGAL::Filtered_kernel<CGAL::Simple_cartesian<double> >, CGAL::Cartesian<double>, CGAL::Lapack_svd>::solve_linear_system 3 CGAL::Monge_via_jet_fitting<CGAL::Filtered_kernel<CGAL::Simple_cartesian<double> >, CGAL::Cartesian<double>, CGAL::Lapack_svd>::operator()<__gnu_cxx::__normal_iterator<CGAL::Point_3<CGAL::Filtered_kernel<CGAL::Simple_cartesian<double> > >*, std::vector<CGAL::Point_3<CGAL::Filtered_kernel<CGAL::Simple_cartesian<double> > >, std::allocator<CGAL::Point_3<CGAL::Filtered_kernel<CGAL::Simple_cartesian<double> > > > > > > 4 CGAL::CGALi::jet_smooth_point<CGAL::Filtered_kernel<CGAL::Simple_cartesian<double> >, CGAL::Kd_tree<CGAL::Search_traits_3<CGAL::Filtered_kernel<CGAL::Simple_cartesian<double> > >, CGAL::Sliding_midpoint<CGAL::Search_traits_3<CGAL::Filtered_kernel<CGAL::Simple_cartesian<double> > >, CGAL::Plane_separator<double> >, CGAL::Boolean_tag<true> > > 5 CGAL::jet_smooth_point_set<__gnu_cxx::__normal_iterator<CGAL::Point_3<CGAL::Filtered_kernel<CGAL::Simple_cartesian<double> > >*, std::vector<CGAL::Point_3<CGAL::Filtered_kernel<CGAL::Simple_cartesian<double> > >, std::allocator<CGAL::Point_3<CGAL::Filtered_kernel<CGAL::Simple_cartesian<double> > > > > >, CGAL::Dereference_property_map<CGAL::Point_3<CGAL::Filtered_kernel<CGAL::Simple_cartesian<double> > > >, CGAL::Filtered_kernel<CGAL::Simple_cartesian<double> > > 6 CGAL::jet_smooth_point_set<__gnu_cxx::__normal_iterator<CGAL::Point_3<CGAL::Filtered_kernel<CGAL::Simple_cartesian<double> > >*, std::vector<CGAL::Point_3<CGAL::Filtered_kernel<CGAL::Simple_cartesian<double> > >, std::allocator<CGAL::Point_3<CGAL::Filtered_kernel<CGAL::Simple_cartesian<double> > > > > > > 7 main This is my .pro file: # ------------------------------------------------- # Project created by QtCreator 2009-11-12T16:56:37 # ------------------------------------------------- QT += opengl QT -= core \ gui TARGET = test CONFIG += console CONFIG -= app_bundle TEMPLATE = app SOURCES += main.cpp HEADERS += # CGAL QMAKE_CXXFLAGS += -frounding-math INCLUDEPATH += /usr/local/include LIBS += /usr/local/lib64/libtaucs.a LIBS += /usr/local/lib64/libf2c.a LIBS += /usr/local/lib64/libmetis.a INCLUDEPATH += /opt/local/include LIBS += /opt/local/lib/libmpfr.a LIBS += /opt/local/lib/libgmp.a LIBS += /opt/local/lib/libgmpxx.a INCLUDEPATH += /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/Headers LIBS += /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib LIBS += /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib INCLUDEPATH += /Developer/CGAL-3.5/install/include/ LIBS += /Developer/CGAL-3.5/install/lib/libCGAL.a LIBS += /Developer/CGAL-3.5/install/lib/libCGAL_Core.a LIBS += /Developer/CGAL-3.5/install/lib/libCGAL_ImageIO.a LIBS += /Developer/CGAL-3.5/install/lib/libCGAL_PDB.a LIBS += /Developer/CGAL-3.5/install/lib/libCGAL_Qt4.a thanks, Yuri |
- [cgal-discuss] jet_smooth_point_set and jet_estimate_normals, Yuri, 12/03/2009
- Re: [cgal-discuss] jet_smooth_point_set and jet_estimate_normals, Laurent Saboret, 12/03/2009
- Re: [cgal-discuss] jet_smooth_point_set and jet_estimate_normals, Yuri, 12/03/2009
- Re: [cgal-discuss] jet_smooth_point_set and jet_estimate_normals, Laurent Saboret, 12/03/2009
Archive powered by MHonArc 2.6.16.