Re: [CMake] CMake amp; Matlab

2010-04-15 Thread Matt McCormick
James C. Sutherland james.sutherl...@... writes:

 
 I have been trying to get CMake to build Matlab MEX files without any success.
 

 1. It seems that FindMatlab.cmake is not very functional.  I am on a Mac with 

If I recall correctly, it is rather out of date.

 
 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?


___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] CMake amp; Matlab

2010-04-15 Thread James C. Sutherland
 
 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?
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake