Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] want to use CGAL in Matlab, but can't compile mex file in matlab,
Chronological Thread
- From: Marc Glisse <>
- To:
- Subject: Re: [cgal-discuss] want to use CGAL in Matlab, but can't compile mex file in matlab,
- Date: Sun, 12 Jan 2014 22:55:57 +0100 (CET)
On Sun, 12 Jan 2014,
wrote:
mex -v point_cloud.C comp_llpmatrix.C glpmatrix.C glpmatrix_arbdst.C
glpmatrix_kernel.C lpbmatrix.C lpmatrix.C -ICGAL -lgmp -lboost_thread
-I/usr/include/:/usr/local/include/:/usr/local/MATLAB/R2012a/extern/include/
-L/usr/lib/:/usr/local/lib/:/usr/local/MATLAB/R2012a/extern/lib/glnxa64/
Not -ICGAL, -lCGAL. You forgot to link with lapack and possibly other things. Your -I and -L options are weird, but I don't think they are causing your problem. The multiple definition thing is a bug in your code.
You really need to read some doc on what these all mean.
--
Marc Glisse
- Re: [cgal-discuss] want to use CGAL in Matlab, but can't compile mex file in matlab,, , 01/12/2014
- Re: [cgal-discuss] want to use CGAL in Matlab, but can't compile mex file in matlab,, Marc Glisse, 01/12/2014
- Re: [cgal-discuss] want to use CGAL in Matlab, but can't compile mex file in matlab,, , 01/12/2014
- Re: [cgal-discuss] want to use CGAL in Matlab, but can't compile mex file in matlab,, Marc Glisse, 01/12/2014
- Re: [cgal-discuss] want to use CGAL in Matlab, but can't compile mex file in matlab,, , 01/12/2014
- Re: [cgal-discuss] want to use CGAL in Matlab, but can't compile mex file in matlab,, Marc Glisse, 01/12/2014
- Re: [cgal-discuss] want to use CGAL in Matlab, but can't compile mex file in matlab,, , 01/12/2014
- Re: [cgal-discuss] want to use CGAL in Matlab, but can't compile mex file in matlab,, Marc Glisse, 01/12/2014
- Re: [cgal-discuss] want to use CGAL in Matlab, but can't compile mex file in matlab,, , 01/12/2014
- Re: [cgal-discuss] want to use CGAL in Matlab, but can't compile mex file in matlab,, Marc Glisse, 01/12/2014
- Re: [cgal-discuss] want to use CGAL in Matlab, but can't compile mex file in matlab,, , 01/12/2014
- Re: [cgal-discuss] want to use CGAL in Matlab, but can't compile mex file in matlab,, Marc Glisse, 01/12/2014
- Re: [cgal-discuss] want to use CGAL in Matlab, but can't compile mex file in matlab,, , 01/12/2014
- Re: [cgal-discuss] want to use CGAL in Matlab, but can't compile mex file in matlab,, Marc Glisse, 01/12/2014
- Re: [cgal-discuss] want to use CGAL in Matlab, but can't compile mex file in matlab,, , 01/12/2014
- Re: [cgal-discuss] want to use CGAL in Matlab, but can't compile mex file in matlab,, Marc Glisse, 01/12/2014
Archive powered by MHonArc 2.6.18.