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: Mon, 30 May 2011 13:25:24 -0700 (PDT)


Laurent Saboret-3 wrote:
>
> Hi Liang,
>
> Please set only QGLVIEWERROOT environment variable and restart cmake-gui
> (or MS-DOS prompt if you use command-line cmake).
> CMake contains rules to build properly QGLVIEWER_INCLUDE_DIR,
> QGLVIEWER_LIBRARY_RELEASE, QGLVIEWER_LIBRARY_DEBUG... from QGLVIEWERROOT.
>
> After changing environment variables, you should clear CMake cache (ie
> delete CMakeCache.txt file).
>
> Then try to regenerate the sln/vcproj files for CMake.
> The Visual Studio solution is supposed to work out of the box. There is no
> need to change its settings in Visual Studio.
>
> Best regards,
> Laurent Saboret
>
>

Thank you very much, Laurent. I configured again under your instruction, and
this time it passed!

But here comes another issue. When I tried to run the Point_set_demo, VS
popped up an error:
The procedure entry point _Z5qFreePv could not be located in the dynamic
link library QtCore4.dll

in both debug and release mode.

I googled this error. It seems that the solution is using/deploying the DLL
files from "/Qt/version #/qt/bin" and not "/Qt/version #/bin". But the fact
is I do not have this directory "/Qt/version #/qt/bin". The PATh for Qt bin
directory on my machine is "C:\Qt\4.7.2\bin". There is no "qt" folder under
the "C:\Qt\4.7.2" directory .

Also, I have tried the CGAL precompiled surface_reconstruction_points_3 demo
with the "all demo dlls" in the same directory. It worked fine. So I guess
maybe there's something wrong with the QT dlls on my machine.

Best regards,

Liang

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



Archive powered by MHonArc 2.6.16.

Top of Page