Subject: CGAL users discussion list
List archive
- From: Morpheus <>
- To:
- Subject: [cgal-discuss] Re: MATLAB mex files with CGAL
- Date: Mon, 20 Sep 2010 13:37:06 -0700 (PDT)
Hi everyone !
I have got the same problem as Amir Vaxman.
I have just installed CGAL library (3.7-beta1), with all the staff :
- cmake-2.8.1-win32-x86
- boost_1_42
- Qt 4.7.0-beta2 (and MinGW)
I tested the examples and some demo under Visual Studio 2008 Express
Edition. Everything worked perfectly.
Then, I created a mex function in a file "alphaShapeCGAL_mex.cpp" for Matlab
(and Octave).
In Matlab, the command line
"mex -IC:/CGAL-3.7-beta1/include/ -IC:/boost_1_42/ ...
-IC:/CGAL-3.7-beta1/auxiliary/gmp/include/ ...
-LC:/CGAL-3.7-beta1/lib/ -lCGAL_Core-vc90-mt-gd...
-LC:/CGAL-3.7-beta1/auxiliary/gmp/lib/ ...
alphaShapeCGAL_mex.cpp"
gave me the error :
"LINK : fatal error LNK1104: cannot open file 'CGAL-vc90-mt.lib'
C:\PROGRA~1\MATLAB\R2009B\BIN\MEX.PL: Error: Link of
'alphaShapeCGAL_mex.mexw64' failed.
??? Error using ==> mex at 221
Unable to complete successfully.
Error in ==> Test_CGAL_AlphaShape2D_3 at 9
mex -IC:/CGAL-3.7-beta1/include/ -IC:/boost_1_42/ ..."
I have to specify that the file 'CGAL-vc90-mt.lib' does not exist in
C:\CGAL-3.7-beta1\lib ...
In Octave("newbe"^_^), the command line
"mkoctfile --mex -LC:/CGAL-3.7-beta1/lib/ -lCGAL_Core-vc90-mt-gd
-LC:/CGAL-3.7-beta1/include/ alphaShapeCGAL_mex.cpp"
gave me this kind off error :
"mkoctfile: unrecognized argument C:/CGAL-3.7-beta1/lib/~~whos_clean:"
I wanted to use "mex files" because all my programs are written in Matlab
language...
Yours sincerely,
Morpheus.
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/MATLAB-mex-files-with-CGAL-tp2534578p2547649.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] MATLAB mex files with CGAL, avaxman, 09/10/2010
- Re: [cgal-discuss] MATLAB mex files with CGAL, Sebastian Hegler, 09/10/2010
- [cgal-discuss] Re: MATLAB mex files with CGAL, Morpheus, 09/20/2010
- Re: [cgal-discuss] Re: MATLAB mex files with CGAL, Mohamed Yousef, 09/20/2010
- [cgal-discuss] Re: MATLAB mex files with CGAL, Morpheus, 09/22/2010
- Re: [cgal-discuss] Re: MATLAB mex files with CGAL, Mohamed Yousef, 09/22/2010
- [cgal-discuss] Re: MATLAB mex files with CGAL, Morpheus, 09/23/2010
- Re: [cgal-discuss] Re: MATLAB mex files with CGAL, Mohamed Yousef, 09/22/2010
- [cgal-discuss] Re: MATLAB mex files with CGAL, Morpheus, 09/22/2010
- Re: [cgal-discuss] Re: MATLAB mex files with CGAL, Mohamed Yousef, 09/20/2010
- [cgal-discuss] Re: MATLAB mex files with CGAL, Morpheus, 09/20/2010
- Re: [cgal-discuss] MATLAB mex files with CGAL, Sebastian Hegler, 09/10/2010
Archive powered by MHonArc 2.6.16.