[CMake] CMake & Matlab

James C. Sutherland James.Sutherland at utah.edu
Thu Apr 15 19:22:56 EDT 2010


>> 
>> 2. The instructions on http://www.cmake.org/Wiki/CMake:MatlabMex don't seem to work either.
>> I tried following the approach of setting MEX as the CC and CXX compiler, but even on the trivial "hello
>> world" example posted on the wiki page, CMake fails during the configure phase:
>> 	The C compiler "/Applications/MATLAB_R2010a.app/bin/mex" is not able to compile a simple test program.
>> 
> 
> Did you apply to the patch linked on the wiki page and build your out custom 
> CMake?
> 
I didn't apply the patch because I assumed that it had been fixed in 2.8.0 (which is what I am using).  Is that not the case?


More information about the CMake mailing list