Subject: CGAL users discussion list
List archive
- From: "Laurent Rineau (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] Re: Visual studio link error
- Date: Mon, 20 Dec 2010 17:07:49 +0100
- Organization: GeometryFactory
On Monday 20 December 2010 16:58:33 Yongquan Yang wrote:
> Hi John,
> I renamed the file "libgmp-10.lib" in the directory
> \CGAL-3.7\auxiliary\gmp\lib to "gmp-vc90-mt-gd.lib", the cannot found
> error has been solved, but there is other problems:
>
> 1>LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other
> libs; use /NODEFAULTLIB:library
> 1>poisson_reconstruction_example.obj : error LNK2019: unresolved external
> symbol
> _GetProcessMemoryInfo@12
> referenced in function "private: unsigned
> int __thiscall CGAL::Memory_sizer::get(bool)const "
> (?get@Memory_sizer@CGAL@
>
> @ABEI_N@Z)
> 1>D:\Work\Yongquan_Yang\VS_Project\Visual Studio
> 2008\Projects\CGALTestAgain\Debug\CGALTestAgain.exe : fatal error LNK1120:
> 1 unresolved externals
>
> I have no idea whether it is the lib problem or anything else.
> Thanks for your help!
I am pretty sure you are linked together old obj files that were compiled
with
CGAL versions *before* CGAL-3.7 (and that is why the linker is searching for
the old gmp lib name gmp-vc90-mt-gd.lib) with obj files that are compiled
with
the current CGAL-3.7 version. Cleanup all you project and restart. And *do
not
rename the gmp library*!
Does your project creates libraries that contain CGAL code?
--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/
- [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.