But which one? I'm trying to follow the steps of this tutorial ( http://www.vtk.org/Wiki/CMake:MatlabMex). However I don't know how to apply the patch that is referenced in it. The patch is for Linux machines and I'm using Windows.
On Fri, Sep 23, 2011 at 4:44 AM, David Cole <david.c...@kitware.com> wrote: > You can't set CC and CXX and use them with the Visual Studio generators. > Try using a makefile generator instead... > > HTH, > David > > > > On Thursday, September 22, 2011, Jaka Katrašnik <jaka.katras...@gmail.com> > wrote: > > Hi, > > > > I'm having trouble using cmake to compile a matlab mex file. When I try > to to use cmake with the CC CXX environment variables set to mex I get the > following error > > > > E:\Jaka_docs\cmake tutorial\step1>cmake . > > -- Building for: Visual Studio 10 > > CMake Error at C:/Program Files (x86)/CMake > 2.8/share/cmake-2.8/Modules/CMakeDet > > ermineCCompiler.cmake:44 (MESSAGE): > > Could not find compiler set in environment variable CC: > > > > mex. > > Call Stack (most recent call first): > > CMakeLists.txt:2 (project) > > > > > > CMake Error: Could not find cmake module file:E:/Jaka_docs/cmake > tutorial/step1/ > > CMakeFiles/CMakeCCompiler.cmake > > CMake Error: Could not find cmake module file:E:/Jaka_docs/cmake > tutorial/step1/ > > CMakeFiles/CMakeCXXCompiler.cmake > > -- Configuring incomplete, errors occurred! > > > > > > Has anyone had a similar problem? Do you know of a solution to this? > > > > Thank you > > Jaka Katrasnik > > > > >
-- 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