Re: [CMake] using matlab mex compiler with cmake on windows

2011-10-03 Thread Eike Kroemer
Hi Jaka, David, below I tried to assemble a minimal excerpt from CMake-Files defining a project that I successfully compile under Windows XP, 32bit, MSVC 10 Express, using the CMake 2.8.5 GUI. There wasn't anything special about setting up MSVC or CMake, I think I remember dimly that one had to c

Re: [CMake] using matlab mex compiler with cmake on windows

2011-09-29 Thread David Cole
On Fri, Sep 23, 2011 at 9:00 AM, Jaka Katrašnik wrote: > 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.

[CMake] using matlab mex compiler with cmake on windows

2011-09-23 Thread Jaka Katrašnik
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 wrote: > You can'

Re: [CMake] using matlab mex compiler with cmake on windows

2011-09-22 Thread David Cole
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 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

[CMake] using matlab mex compiler with cmake on windows

2011-09-22 Thread Jaka Katrašnik
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/