Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Re: Visual studio link error

Subject: CGAL users discussion list

List archive

[cgal-discuss] Re: Visual studio link error


Chronological Thread 
  • From: nsoonhui <>
  • To:
  • Subject: [cgal-discuss] Re: Visual studio link error
  • Date: Wed, 23 Feb 2011 05:19:01 -0800 (PST)


If you get this error in VS 2008, one thing to make sure is that in
Property->C/C++->Preprocessor->Preprocessor Definitions, the follow
constants must be presented:

CGAL_NO_AUTOLINK_MPFR
CGAL_NO_AUTOLINK_GMP





Laurent Rineau (GeometryFactory) wrote:
>
> On Wednesday 15 December 2010 18:58:23 Yongquan Yang wrote:
>> I was trying to compile the surface reconstruction point 3
>> file
>> CGAL-3.7\examples\Surface_reconstruction_points_3\poisson_reconstruction_e
>> xample.cpp with visual studio 2008.
>> When I build the solution, an error occurred:
>>
>> 1>LINK : fatal error LNK1104: cannot open file 'gmp-vc90-mt-gd.lib'
>
> Are you sure you that you are compiling using the header files of
> CGAL-3.7?
> Since CGAL-3.7, the auto-linking of gmp and mpfr is disabled by default.
>
>> I search my computer and no file named gmp-vc90-mt-gd.lib was found.
>> Somebody said this file locates at CGAL-3.7\auxiliary\gmp\lib, but when I
>> look at that folder I didn't see the file.
>
> What do you have in CGAL-3.7\auxiliary\gmp\lib\ ?
>
> --
> Laurent Rineau, PhD
> R&D Engineer at GeometryFactory http://www.geometryfactory.com/
> Release Manager of the CGAL Project http://www.cgal.org/
>
> --
> You are currently subscribed to cgal-discuss.
> To unsubscribe or access the archives, go to
> https://lists-sop.inria.fr/wws/info/cgal-discuss
>
>
>

--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Visual-studio-link-error-tp3089529p3320978.html
Sent from the cgal-discuss mailing list archive at Nabble.com.


  • [cgal-discuss] Re: Visual studio link error, nsoonhui, 02/23/2011

Archive powered by MHonArc 2.6.16.

Top of Page