Subject: CGAL users discussion list
List archive
- From: "Laurent Rineau (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] Installing CGAL windows 64 bits
- Date: Fri, 3 Jun 2011 19:09:43 +0200
- Organization: GeometryFactory
On vendredi 03 juin 2011 16:59:34 Gil wrote:
> Hi,
>
> Thanks again.
>
> In fact it seems that everything is okay in the 32bit version.
> The other problem that I have is when i trying to compile a mex file
> with matlab (64bits) that use CGAL.
> I got an error that is relate to unresolved externals. So I think now
> that for create a mex file with the matlab 64 bit version I need to have
> everything in 64 bits.
>
> Gil
>
> --> link /out:"mexfile.mexw64" /dll /export:mexFunction
> /LIBPATH:"C:\Program Files\MATLAB\R2011a\extern\lib\win64\microsoft"
> libmx.lib libmex.lib libmat.lib /MACHINE:X64 kernel32.lib user32.lib
> gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib
> oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /manifest
> /incremental:NO
> /implib:"C:\Users\Gil\AppData\Local\Temp\mex_EBlwq8\templib.x"
> /MAP:"mexfile.mexw64.map"
> @C:\Users\Gil\AppData\Local\Temp\mex_EBlwq8\mex_tmp.rsp "C:\Program
> Files (x86)\CGAL-3.8\lib\CGAL-vc100-mt.lib" "C:\Program Files
> (x86)\boost\boost_1_46_1\lib\libboost_thread-vc100-mt-1_46_1.lib"
> "C:\Program Files (x86)\CGAL-3.8\auxiliary\gmp\lib\gmp-vc100-mt.lib"
> "C:\Program Files (x86)\CGAL-3.8\auxiliary\gmp\lib\mpfr-vc100-mt.lib"
To compile anything using CGAL in 64 bits, you need to have Boost libraries
compiled in 64 bits mode. You also need gmp and mpfr libraries in 64 bits.
Then you need to recompile CGAL libraries in 64 bits mode too.
I advise you to:
- download Boost sources and compile them in 64 bits,
- install a second copy of CGAL in C:\Program Files\CGAL-3.8 (instead of C:
\Program Files (x86)\CGAL-3.8), and choose 64 bits versions of third-party
precompiled libraries.
--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/
- [cgal-discuss] Installing CGAL windows 64 bits, Gil, 06/03/2011
- Re: [cgal-discuss] Installing CGAL windows 64 bits, Laurent Rineau (GeometryFactory), 06/03/2011
- Re: [cgal-discuss] Installing CGAL windows 64 bits, Gil, 06/03/2011
- Re: [cgal-discuss] Installing CGAL windows 64 bits, Laurent Rineau (GeometryFactory), 06/03/2011
- Re: [cgal-discuss] Installing CGAL windows 64 bits, Gil, 06/03/2011
- Re: [cgal-discuss] Installing CGAL windows 64 bits, Laurent Rineau (GeometryFactory), 06/03/2011
- Re: [cgal-discuss] Installing CGAL windows 64 bits, Gil, 06/03/2011
- Re: [cgal-discuss] Installing CGAL windows 64 bits, Laurent Rineau (GeometryFactory), 06/03/2011
- Re: [cgal-discuss] Installing CGAL windows 64 bits, Gil, 06/03/2011
- Re: [cgal-discuss] Installing CGAL windows 64 bits, Laurent Rineau (GeometryFactory), 06/03/2011
Archive powered by MHonArc 2.6.16.