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 18:43:57 +0100
  • Organization: GeometryFactory

On Wednesday 04 February 2009 18:03:09 Qianqian Fang wrote:
> I am using "Microsoft Visual C++ 2005 Express Edition", and things are
> almost fine for 3.3 (not the static linking bit), but I am trying to
> compile my code against 3.4 beta, which I can not even set up the
> makefiles.

There might be problems with the express edition of VC2005. That compiler has
not been tested during the developement of CGAL-3.4.

As far as I can see, cmake uses /MT for the express edition, whereas it is
/MD
for the commercial version of VC2005. I do not know why. Does VC2005 express
edition ship the dynamic runtime?

I am pretty sure that our precompiled version of gmp and mpfr needs /MD,
unfortunately. Try to turn /MT into /MD in the cmake variables
CMAKE_CXX_FLAGS_RELEASE and CMAKE_CXX_FLAGS_DEBUG.

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




Archive powered by MHonArc 2.6.16.

Top of Page