Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] Re: link error when building demo Surface_reconstruction_points_3
Chronological Thread
- From: Guillaume Damiand <>
- To: "" <>
- Subject: Re: [cgal-discuss] Re: link error when building demo Surface_reconstruction_points_3
- Date: Fri, 27 May 2011 20:40:00 +0200
Hi Laurent,
Thank you for your reply.
I tried to link to the QGLViewer library by setting the right path in both
CMake and VS, but it did not work.
I tired to regenerate the sln. file and vcproj files with CMake. So I set
QGLVIEWERROOT in the Environment Variables and set QGLVIEWER_INCLUDE_DIR,
QGLVIEWER_LIBRARY_RELEASE, QGLVIEWER_LIBRARY_DEBUG in CMake. After that,
there were no Configure errors. But after I click 'Generate', a lot of
warnings came up as following:
WARNING: Target "Point_set_demo" requests linking to directory
"C:/libQGLViewer-2.3.9/lib". Targets may link only to libraries. CMake is
dropping the item.
WARNING: Target "Point_set_demo" requests linking to directory
"C:/glew-1.6.0/lib". Targets may link only to libraries. CMake is dropping
the item.
I honestly do not know what that means.
I think you have set QGLVIEWER_LIBRARY_RELEASE and QGLVIEWER_LIBRARY_DEBUG to "C:/libQGLViewer-2.3.9/lib". You need to set these variables to the correct QGLViewer library (and not the directory).
Regards
Guillaume
Although CMake generated sln. file and vcproj files for me, I still can not
pass the link error. So I have to say I have no idea how to link with
QGLViewer library now.
Sincerely,
Liang
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/link-error-when-building-demo-Surface-reconstruction-points-3-tp3551144p3555984.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
--
===================================================================
Guillaume DAMIAND
LIRIS UMR 5205
Université Claude Bernard
Bâtiment Nautibus (710)
43 Boulevard du 11 Novembre 1918
69622 Villeurbanne Cedex (France)
-------------------------------------------------------------------
Tél: +33 (0)4.72.43.26.62 Fax: +33 (0)4.72.43.15.36
Mail:
===================================================================
- [cgal-discuss] link error when building demo Surface_reconstruction_points_3, Liang, 05/26/2011
- Re: [cgal-discuss] link error when building demo Surface_reconstruction_points_3, Laurent Saboret, 05/26/2011
- [cgal-discuss] Re: link error when building demo Surface_reconstruction_points_3, Liang, 05/27/2011
- Re: [cgal-discuss] Re: link error when building demo Surface_reconstruction_points_3, Guillaume Damiand, 05/27/2011
- Re: [cgal-discuss] Re: link error when building demo Surface_reconstruction_points_3, Laurent Saboret, 05/30/2011
- [cgal-discuss] Re: link error when building demo Surface_reconstruction_points_3, Liang, 05/27/2011
- Re: [cgal-discuss] link error when building demo Surface_reconstruction_points_3, Laurent Saboret, 05/26/2011
Archive powered by MHonArc 2.6.16.