Am Mon, 5 Mar 2012 16:14:03 +0000
schrieb Michael Goffioul <michael.goffi...@gmail.com>:

> On Mon, Mar 5, 2012 at 3:47 PM, Okko Lohmann <okko.lohm...@offis.de>
> wrote:
> > Hi all,
> >
> > I just installed the new Octave 3.6.1 for Windows VS2010 on a
> > Windows 7 Professional 64 Bit System. When i try to use mkoctfile
> > it complains about a missing file, but it exists:
> >
> > octave-3.6.1.exe:1> mkoctfile
> > usage: mkoctfile [options] file ...
> > warning: unable to find mkoctfile in expected location:
> > `C:\Octave-3.6.1\bin\mkoctfile-3.6.1' warning: mkoctfile exited
> > with failure status octave-3.6.1.exe:2> dir
> > c:\Octave-3.6.1\bin\mkoctfile-3.6.1.exe mkoctfile-3.6.1.exe
> 
> Try "mkoctfile -h".
> 
> It seems that the return value of "mkoctfile" called without any
> argument is the same as if mkoctfile could not be found; hence the
> confusion.

you are right, that works correctly, but does not solve my original
problem. Should have posted the problem directly.

I'm trying to compile the Matlab Connector "Kinect Microsoft
SDK" ( 
http://www.mathworks.de/matlabcentral/fileexchange/33035-kinect-microsoft-sdk )
with Octave. But when i call the compiler, i get the described error:

octave-3.6.1.exe:1> mkoctfile -v '-Lc:\Program Files\Microsoft
SDKs\Kinect\v1.0\lib\x86' -lKinect10 '-Ic:\Program Files\Microsoft
SDKs\Kinect\v1.0\inc' Mex\mxMSCreateContext.cpp 

cc-msvc -d -c -D_WIN32 -DWIN32 -D__WIN32__
-IC:\Octave-3.6.1\include\octave-3.6.1\octave\..
-IC:\Octave-3.6.1\include\octave-3.6.1\octave -IC:\Octave-3.6.1\include
-Ic:/Software/VC10Libs/include -Ic:/Software/VC10Libs/include/freetype2
-Ic:/Software/VC10Libs/include -Ic:/Software/VC10Libs/include   -O2 -MD
-EHsc -wd4244 -fp:strict -fp:except-   "-Ic:\Program Files\Microsoft
SDKs\Kinect\v1.0\inc"  mxMSCreateContext.cpp -o mxMSCreateContext.o

cl -nologo -c -D_WIN32 -DWIN32 -D__WIN32__
-IC:\Octave-3.6.1\include\octave-3.6.1\octave\..
-IC:\Octave-3.6.1\include\octave-3.6.1\octave -IC:\Octave-3.6.1\include
-Ic:/Software/VC10Libs/include -Ic:/Software/VC10Libs/include/freetype2
-Ic:/Software/VC10Libs/include -Ic:/Software/VC10Libs/include -O2 -MD
-EHsc -wd4244 -fp:strict -fp:except- -I"c:\Program Files\Microsoft
SDKs\Kinect\v1.0\inc" mxMSCreateContext.cpp -FomxMSCreateContext.o

cc-msvc -d -shared  -o mxMSCreateContext.oct  mxMSCreateContext.o
-Lc:\Program Files\Microsoft SDKs\Kinect\v1.0\lib\x86 -lKinect10
-LC:\Octave-3.6.1\lib\octave\3.6.1 -LC:\Octave-3.6.1\lib -loctinterp
-loctave -lcruftlink -nologo -DLL -out:mxMSCreateContext.oct
mxMSCreateContext.o -LIBPATH:c:\Program Files\Microsoft
SDKs\Kinect\v1.0\lib\x86 Kinect10.lib
-LIBPATH:C:\Octave-3.6.1\lib\octave\3.6.1 -LIBPATH:C:\Octave-3.6.1\lib
octinterp.lib octave.lib cruft.lib dirent.lib 

warning: unable to find mkoctfile in expected location:
`C:\Octave-3.6.1\bin\mkoctfile-3.6.1'

warning: mkoctfile exited with failure status

octave-3.6.1.exe:2>

Few more things:
 - on my system the path c:/software/VC10libs/ does not exist (and i
   believe never has).
 - the file dirent.lib does not exist under C:\Octave-3.6.1\lib and can
   not be found any where else

Okko

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to