Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Re: link error when building demo Surface_reconstruction_points_3

Subject: CGAL users discussion list

List archive

[cgal-discuss] Re: link error when building demo Surface_reconstruction_points_3


Chronological Thread 
  • From: Liang <>
  • To:
  • Subject: [cgal-discuss] Re: link error when building demo Surface_reconstruction_points_3
  • Date: Fri, 27 May 2011 11:06:20 -0700 (PDT)

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.

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.



Archive powered by MHonArc 2.6.16.

Top of Page