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: Kye Wong <>
  • To:
  • Subject: Re: [cgal-discuss] compile an example code on win32 to produce
  • Date: Wed, 4 Feb 2009 18:17:01 +0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=gW7MFvXS33Nd6vb7uK2aSble7VUijJ1vSz7njS6mOjPd/hUgaDT1C1gyUvhweda4LL OpUiBbszMBjmk3MqqACiTQk4JQve4ZGB+fxac51r5nklbo0xVLpKHVOjk+PtKr0FFR7O eplCgMvSs77QM1zX7iG+xYm3KMf3cbr/GgbnI=

Hi Andreas and Laurent:
 
Does it mean that I just need to rename the built libs with ***-mt and ***-mt-gd to ***-s and ***-mt-sgd?

On Wed, Feb 4, 2009 at 5:41 PM, Laurent Rineau (GeometryFactory) <> wrote:
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/

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss



--
Kye Wong



Archive powered by MHonArc 2.6.16.

Top of Page