Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] building example without CMAKE

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] building example without CMAKE


Chronological Thread 
  • From: "Laurent Rineau (CGAL/GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] building example without CMAKE
  • Date: Wed, 13 Mar 2013 10:39:07 +0100
  • Organization: GeometryFactory

Le mercredi 13 mars 2013 09:05:07 ponzano a écrit :
> Hi,
>
> i've tried to build the first example the "Convex_hull_2 example" without
> CMake. Of course with cmake the example is builded.
>
> On the countrary if with VisualStudio 2010 on Windows7 32 bit i create a
> simple console application project i get the error:
>
> "cannot open file libboost_thread-vc100-mt-gd-1_47.lib".
>
> I installed CGAL and Boost as in
> http://www.cgal.org/windows_installation.html.
> i included the following path in my projetc:
>
> for include dir:
> C:\dev\CGAL-4.1\auxiliary\gmp\include;
> C:\dev\CGAL-4.1\build\include;
> C:\dev\CGAL-4.1\include;
> C:\Program Files\boost\boost_1_47;
> C:\Qt\4.8.4\include;
> C:\Qt\4.8.4\include\QtCore;
> C:\Qt\4.8.4\include\QtGui;
>
>
> for lib dir:
> C:\Program Files\boost\boost_1_47\lib;
> C:\dev\CGAL-4.1\build\lib;
> C:\dev\CGAL-4.1\auxiliary\gmp\lib;
> C:\Qt\4.8.4\lib;
>
> In my pc i've "boost_thread-vc100-mt-gd-1_47.lib" but not "libboost_thread-
> vc100-mt-gd-1_47.lib" but if in cmake project is ok i shouldn't need it.
>
> Do you have any suggestion?

You should define the preprocessor macro BOOST_ALL_DYN_LINK. With that macro,
the auto-linking feature of Boost will search for the DLL-version of the .lib
files, those that do not start with the prefix "lib*".

--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/




Archive powered by MHonArc 2.6.18.

Top of Page