Subject: CGAL users discussion list
List archive
- From: "Laurent Rineau (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] cgal4.0 and static lib ?
- Date: Tue, 27 Mar 2012 17:28:26 +0200
- Organization: GeometryFactory
Le mardi 27 mars 2012 08:21:44 gwenm a écrit :
> Hi all
> concerning cgal3.9 and Win64-VC10 configuration, i have been told a few
> weeks ago : Use the flags /MD or /MDd instead of /MT or /MTd. The CGAL
> project does no effort to support linking with the static version of the
> Microsoft runtime.
>
> Actually i have iimplemented your new version cgal4.0 (but with win32 :)).
> Is 4.0 version compliant with static lib ? i succeed in compiling cgal,
> cgal_core, cgal_imageIO, cgalQT4 in static mode. But when trying to build
> constrained_delaunay_triangulation_2 , linking fails due to "cannot open
> file 'libCGAL-vc100-mt-sgd-4.0.lib'" (only -gd-4.0.lib files are created
> when compiling in static mode ...)
Hi Gwenaëlle,
The solution is the same: use /MD or /MDd to compile any CGAL binary,
including the examples. :-)
It seems you tried to compile constrained_delaunay_triangulation_2 using the
flag /MTd, and that is why the auto-linking feature of CGAL tried to find the
*-sgd-* version of the library, which does not exist.
--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/
- [cgal-discuss] cgal4.0 and static lib ?, gwenm, 03/27/2012
- Re: [cgal-discuss] cgal4.0 and static lib ?, Laurent Rineau (GeometryFactory), 03/27/2012
- [cgal-discuss] Re: cgal4.0 and static lib ?, Zohar, 03/27/2012
- Re: [cgal-discuss] Re: cgal4.0 and static lib ?, Laurent Rineau (GeometryFactory), 03/28/2012
- [cgal-discuss] Re: cgal4.0 and static lib ?, Zohar, 03/27/2012
- Re: [cgal-discuss] cgal4.0 and static lib ?, Laurent Rineau (GeometryFactory), 03/27/2012
Archive powered by MHonArc 2.6.16.