Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Visual Studio 10 - CGAL3.9, boost_1_48_0 64 bit debug produces linking error or unresolved externals

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Visual Studio 10 - CGAL3.9, boost_1_48_0 64 bit debug produces linking error or unresolved externals


Chronological Thread 
  • From: "Laurent Rineau (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Visual Studio 10 - CGAL3.9, boost_1_48_0 64 bit debug produces linking error or unresolved externals
  • Date: Fri, 20 Jan 2012 11:49:04 +0100
  • Organization: GeometryFactory

Le jeudi 19 janvier 2012 17:14:56 Ewan Brock a écrit :
> 4. I now have C:\fresh_cgal\CGAL-3.9\lib\Debug\CGAL-vc100-mt-gd.lib
>
> 5. When I link an example, I have lib paths:
>
> LIBPATH:"C:\dev\ewan\utils\cgal\install\cgal-3_9_0-WIN64.VC10\lib"
> /LIBPATH:"C:\dev\ewan\utils\cgal\install\cgal-3_9_0-WIN64.VC10\auxiliary\gmp
> \lib"
>
>
>
> And libraries to link "CGAL-vc100-mt-gd.lib" "CGAL_Core-vc100-mt-gd.lib"
> "libgmp-10.lib"
>
> Error comes up:
>
>
>
>
>
> 1>LINK : fatal error LNK1104: cannot open file 'gmp-vc100-mt-gd.lib'

How have you created the solution for the example? Using CMake? By your own?
Is that a solution file that was used for an older CGAL version? On Windows,
the linking scheme about GMP and MPFR has changed in recent CGAL version. We
dropped the name mangling of the GMP and MPFR .lib file, and now we use the
upstream names: libgmp-10.lib and libmpfr-4.lib.

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