Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] compile an example code on win32 to produce

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] compile an example code on win32 to produce


Chronological Thread 
  • From: "Laurent Rineau (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] compile an example code on win32 to produce
  • Date: Wed, 4 Feb 2009 10:41:34 +0100
  • Organization: GeometryFactory

On Wednesday 04 February 2009 10:14:20 Andreas Fabri wrote:
> Kye Wong wrote:
> > Hi!
> > yes,i've tried to build the .lib files many times and can only get lib
> > files like: CGAL-vc80-mt-gd.lib,CGAL_PDB-vc80-mt-gd.lib,
> > CGAL_ImageIO-vc80-mt-gd.lib,CGAL_Core-vc80-mt-gd.lib and so on.
> >
> > I've tried to follow every step in the installation manual and could not
> > get the reason why I can not get the ***-sgd.lib.
>
> Hello Kye,
>
> If you want to use the static runtime, you have to change
> the compiler options /MD and MDd to /MT and MTd
> the CMAKE_CXX_FLAGS_DEBUG and CMAKE_CXX_FLAGS_RELEASE

That setup is not really supported by our cmake scripts: even if the flags
are
changed, the libraries name remain suffixed by -mt and -mt-gd. Kye, you will
need to rename the libraries to "-s" and "-sgd", by hand.

--
Laurent Rineau, PhD
Engineer at GeometryFactory
http://www.geometryfactory.com/




Archive powered by MHonArc 2.6.16.

Top of Page