*Pramod: mex -setup is showing following compilers-
Would you like mex to locate installed compilers [y]/n? n
Select a compiler:
 Intel C++ 11.1 (with Microsoft Visual C++ 2008 SP1 linker)
 Intel C++ 9.1 (with Microsoft Visual C++ 2005 SP1 linker)
 Intel Visual Fortran 11.1 (with Microsoft Visual C++ 2008 SP1 linker)
 Intel Visual Fortran 11.1 (with Microsoft Visual C++ 2008 Shell linker)
 Intel Visual Fortran 10.1 (with Microsoft Visual C++ 2005 SP1 linker)
 Lcc-win32 C 2.4.1
 Microsoft Visual C++ 6.0
 Microsoft Visual C++ 2005 SP1
 Microsoft Visual C++ 2008 Express
 Microsoft Visual C++ 2008 SP1
 Open WATCOM C++
which compiler I can select, though I installed VS2010, it's not showing here.
Hi Dirk, I'm using Win7(32), Matlab 2008b, VS2010 Ultimate. I installed unstable updated OpenNI and NITE according to your suggestion. I'm getting following error which is similar to previous posting's error.
??? Error using ==> mex at 213
Unable to complete successfully.
Error in ==> compile_cpp_files at 34
mex('-v',['-L' OpenNiPathLib],'-lopenNI',['-I' OpenNiPathInclude],Filename);
Shall I show the OpenNI installation directory in the 1st line like "function compile_cpp_files('C:\Program Files\OpenNI\')". I'm littel bit cofused here. In the 'C:\Program Files\OpenNI\Lib\' "openNI.lib" is available. Kindly help me out please.