Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] how to compile mex-file based on CGAL in Matlab

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] how to compile mex-file based on CGAL in Matlab


Chronological Thread 
  • From: 魏华祎 <>
  • To:
  • Subject: Re: [cgal-discuss] how to compile mex-file based on CGAL in Matlab
  • Date: Mon, 14 Mar 2011 09:03:01 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=MMuSq7gL+BWgAIFqiyKrCuz8kFRqpIrSzpauU65sGNx8W2L0l1/o/nwAWU3FJqlfpt M0zNIpQpMYvqQufXkZfLGX4DxmhsJez07zN9XDlaW68Du2bM1JbY5MWVpW+E0EfbxYro qS7XZReQBZkGCWcXPkqFdCta1H+nufdQWGj6c=

 Hi, Sylvain and Joachim,

    it's should be -lboost_thread.  I can compile my mex file now. Thanks very much for your help! The following command can work well:

>> mex -v mexfile.cpp -lCGAL -lgmp -lboost_thread  -I/usr/include/:/usr/local/include/:/opt/matlab/extern/include/ -L/usr/lib/:/usr/local/lib/:/opt/matlab/extern/lib/glnxa64




Best Wishes

Huayi



On Sun, Mar 13, 2011 at 11:28 PM, Sylvain Pion <> wrote:
-lboost -lboost_thread ?


On Sun, Mar 13, 2011 at 9:05 PM, 魏华祎 <> wrote:
Hi, Joachim,

     I just google the internet and find  that  we should use -lboost_filesystem, not -lboost. But my program still cannot work , it says that :

there exist some problem on the  'boost::thread_specific_ptr<...', I don't know why, and cannot find some useful information on the internet.

Best Wishes

Huayi



--
Sylvain




Archive powered by MHonArc 2.6.16.

Top of Page