Subject: CGAL users discussion list
List archive
- From: Yongquan Yang <>
- To:
- Subject: Re: [cgal-discuss] Visual studio link error
- Date: Fri, 17 Dec 2010 13:19:29 -0500
Thanks for your reply.
I have already include that folder in the "Additional library directories", but I have no such .lib files in that directory.
The compiler need 'gmp-vc90-mt-gd.lib', but what I got here are:
2010/08/09 15:19 497,255 libgmp-10.dll
2010/06/15 19:47 114,286 libgmp-10.lib
2010/08/09 15:19 430,477 libmpfr-4.dll
2010/06/21 15:23 70,696 libmpfr-4.lib
Thanks.
Best,
Yongquan
On Fri, Dec 17, 2010 at 9:04 AM, Arun Ramasamy <> wrote:
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,YongquanOn Thu, Dec 16, 2010 at 5:55 AM, Laurent Rineau (GeometryFactory) <> wrote:
On Wednesday 15 December 2010 18:58:23 Yongquan Yang wrote:Are you sure you that you are compiling using the header files of CGAL-3.7?
> 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'
Since CGAL-3.7, the auto-linking of gmp and mpfr is disabled by default.
What do you have in CGAL-3.7\auxiliary\gmp\lib\ ?
> 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.
--
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
- [cgal-discuss] Visual studio link error, Yongquan Yang, 12/15/2010
- Re: [cgal-discuss] Visual studio link error, Laurent Rineau (GeometryFactory), 12/16/2010
- Re: [cgal-discuss] Visual studio link error, Yongquan Yang, 12/16/2010
- Re: [cgal-discuss] Visual studio link error, Arun Ramasamy, 12/17/2010
- Re: [cgal-discuss] Visual studio link error, Yongquan Yang, 12/17/2010
- [cgal-discuss] Re: Visual studio link error, johnzjq, 12/18/2010
- Re: [cgal-discuss] Re: Visual studio link error, Yongquan Yang, 12/20/2010
- Re: [cgal-discuss] Re: Visual studio link error, Laurent Rineau (GeometryFactory), 12/20/2010
- [cgal-discuss] Re: Visual studio link error, johnzjq, 12/21/2010
- Re: [cgal-discuss] Re: Visual studio link error, Laurent Rineau (GeometryFactory), 12/21/2010
- RE: [cgal-discuss] Re: Visual studio link error, Robert Bryce, 12/21/2010
- [cgal-discuss] Re: Visual studio link error, johnzjq, 12/22/2010
- Re: [cgal-discuss] Re: Visual studio link error, Yongquan Yang, 12/20/2010
- [cgal-discuss] Re: Visual studio link error, johnzjq, 12/18/2010
- Re: [cgal-discuss] Visual studio link error, Yongquan Yang, 12/17/2010
- Re: [cgal-discuss] Visual studio link error, Arun Ramasamy, 12/17/2010
- Re: [cgal-discuss] Visual studio link error, Yongquan Yang, 12/16/2010
- Re: [cgal-discuss] Visual studio link error, Laurent Rineau (GeometryFactory), 12/16/2010
- Re: [cgal-discuss] Visual studio link error, Yongquan Yang, 12/17/2010
Archive powered by MHonArc 2.6.16.