Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] 'CGAL-vc100-mt-sgd.lib' and Win64-VC10

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] 'CGAL-vc100-mt-sgd.lib' and Win64-VC10


Chronological Thread 
  • From: "Laurent Rineau (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] 'CGAL-vc100-mt-sgd.lib' and Win64-VC10
  • Date: Fri, 09 Mar 2012 17:04:15 +0100
  • Organization: GeometryFactory

Le vendredi 09 mars 2012 07:03:48 gwenm a écrit :
> Hi all
> I have looked on several forums on the internet but i am still without right
> solution :-(
> so i decide to post my own pb and configuration:
>
> i try to install and use cgall but i have problems with cgal lib.
> I explain : build is ok aith a simple program displaying "hello world" in my
> main program.
> However, once i #include "CGAL\Point_2.h" then
>
> >ClCompile:
> 1> All outputs are up-to-date.
> 1>LINK : fatal error LNK1104: cannot open file 'CGAL-vc100-mt-sgd.lib'
> 1>
> 1>Build FAILED.
>
> When i build cgal, the librarys are ...-mt-gd.lib.
> I do not succeed in building -Sgd.lib.
>
> I use windows7-64bits and visual 10.
>
> Does anyone have an idea ?

Hi Gwenaëlle,

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.

See the Microsoft documentation about those flags:
http://msdn.microsoft.com/en-us/library/2kzt1wy3%28VS.110%29.aspx
or in french:
http://msdn.microsoft.com/fr-fr/library/2kzt1wy3%28VS.110%29.aspx

I do not remember where that is explained, in the CGAL documentation.

--
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.16.

Top of Page