Skip to Content.
Sympa Menu

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

Subject: CGAL users discussion list

List archive

[cgal-discuss] link error when building demo Surface_reconstruction_points_3


Chronological Thread 
  • From: Liang <>
  • To:
  • Subject: [cgal-discuss] link error when building demo Surface_reconstruction_points_3
  • Date: Wed, 25 May 2011 15:18:41 -0700 (PDT)

I need to render off file generated by CGAL code, so I found
Surface_reconstruction_points_3 demo.
But it took me a while to generate all the vcproj files using CMake because
I had to build libQGLViewer first which is a prerequisite for running the
demo.
When I built the solution, there were no compile errors but a lot of link
errors like:

2>Scene_plane_item.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: __thiscall
qglviewer::ManipulatedFrame::ManipulatedFrame(void)"
(__imp_??0ManipulatedFrame@qglviewer@@QAE@XZ)
referenced in function
"public: __thiscall Scene_plane_item::Scene_plane_item(class Scene_interface
const *)"
(??0Scene_plane_item@@QAE@PBVScene_interface@@@Z)
2>Scene_plane_item.obj : error LNK2001: unresolved external symbol "public:
virtual struct QMetaObject const * __thiscall
qglviewer::ManipulatedFrame::metaObject(void)const "
(?metaObject@ManipulatedFrame@qglviewer@@UBEPBUQMetaObject@@XZ)
......

I suspect that I was doing something wrong with the settings. Anybody could
help me with that? I'd really appreciate it.

I am using 32-bit WIN7 and MSVC 2008 (9.0 + SP1 - VC.Version.9.0.30729.1.SP)

--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/link-error-when-building-demo-Surface-reconstruction-points-3-tp3551144p3551144.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.16.

Top of Page