Skip to Content.
Sympa Menu

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

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Visual studio link error


Chronological Thread 
  • From: Arun Ramasamy <>
  • To:
  • Subject: Re: [cgal-discuss] Visual studio link error
  • Date: Fri, 17 Dec 2010 06:04:30 -0800 (PST)
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=ww6+ad+3OpihOkSzbhN0iR2t16veIr+gksIOZSBgJ1dpqJnTh7o+NLxT+eaRfBvUvCNbe4fsWQNZlUo8BfRTZu2IXU1S6RnQkH4yVNuXbqSGtZMqX09ZXytKQO0c6/cmfabGpUcgnfGHnGjdUs/Z1tk/Co+VfCgemyNFbzqIsos=;

HI Yongquan,
I had similar issues. I think you need point your linker's "Additional library directories" to the dir where you have your gmp library. This property should be under
"Configuration Properties" -> Linker-> General. For example if CGAL is installed under "Program Files" , you should add C:/Program Files/CGAL 3.7/auxillary/gmp/lib.
This fixed the issue for me.
arun


From: Yongquan Yang <>
To:
Sent: Thu, December 16, 2010 11:07:26 AM
Subject: Re: [cgal-discuss] Visual studio link error

Thanks for your reply.
Yes, I am pretty sure that I was using the 3.7 version. If the auto-linking is disabled, why the compiler would ask for that file? 
Maybe it is the way that I used to compile the CGAL is not right. 
I am trying to re-compile the CGAL and I do not remember the file existed in that folder. 

Would you please tell me where can I find the information about how to compile the CGAL for Visual Studio 2008?

Thank you very much!

Best,

Yongquan 

On Thu, Dec 16, 2010 at 5:55 AM, 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






Archive powered by MHonArc 2.6.16.

Top of Page