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 15:10:05 +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=VqWR8NXg3K11Hkw8eeaHmVkZ0Qy2jh/XMLPEmXKfqHny6XaLVqb7ZtkIcx0VpgDBwh Vzti9/LOIjC+fzJ61EmSi3U1ZnYwPwGIoHTtnBhS8EsKtlRbmgPpxUn7bnZz5x10+nam 7ixbuOjSGISof5OPipkEZATq8z3oApqcu20ME=

Yes,I'm using VS2005,and I've installed SP1 for VS2005
 
I wonder if certain flags should be set in CMake-gui to generate the ***-sgd.lib files,since I've checked the CMakelists.txt file of the CGAL.proj and found following strings:
  set(CGAL_Release_MANGLED_NAME        "${CGAL_BASENAME}-${CGAL_TOOLSET}-mt" )
  set(CGAL_Debug_MANGLED_NAME          "${CGAL_BASENAME}-${CGAL_TOOLSET}-mt-gd" )
  set(CGAL_MinSizeRel_MANGLED_NAME     "${CGAL_BASENAME}-${CGAL_TOOLSET}-mt-o" )
  set(CGAL_RelWithDebInfo_MANGLED_NAME "${CGAL_BASENAME}-${CGAL_TOOLSET}-mt-g" )
 
The problem is: what flags should be set in CMake to let the CGAL.sln generate ***-sgd.lib files?
 
I saw on the mailinglist that somebody has generated the ***-sgd.lib files,I'm wondering how they did it.
 
Thanks very much!
 


 
On Wed, Feb 4, 2009 at 1:44 AM, Laurent Rineau (GeometryFactory) <> wrote:
On Tuesday 03 February 2009 18:29:49 Qianqian Fang wrote:
> Indeed, I was able to compile CGAL 3.3.1 on windows. Your question is
> related to
> compilation configurations. If you open CGAL80.sln with VC2005, you can
> find 4 configurations from the "Configuration Manager", each of them maps
> to a string in the compiled library file. If your code complains about a
> missing CGAL
> lib, make sure you compile for that configuration first.
>
> However, for 3.4beta, I was not even able to create the sln files. Cmake
> complained
> that GMP and MPFR are missing, even they do exist in the auxilary
> directory.

If your first mail of the current thread, you forgot to tell us an interesting
information: your compiler name and version¹. You say your are using VC2005.
Have you tried both Debug and Release configurations? Have you installed the
service pack 1 of VC2005?

¹) See http://www.cgal.org/bug_report.html


Actually maybe there is a problem using CGAL libraries with a static runtime.
That setup has not been really tested on Windows, as far as I know.

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