help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: warning: unable to find mkoctfile in expected location - Win XP MSVC


From: Michael Goffioul
Subject: Re: warning: unable to find mkoctfile in expected location - Win XP MSVC build
Date: Tue, 6 Nov 2012 12:40:23 -0500

On Tue, Nov 6, 2012 at 12:11 PM, Richard Crozier <address@hidden> wrote:
Hi,

I'm trying to build the example mex function from the manual:

http://www.gnu.org/software/octave/doc/interpreter/Getting-Started-with-Mex_002dFiles.html#Getting-Started-with-Mex_002dFiles

using the MSVC build of Octave on Windows XP 32 Bit, but am getting the
following output.

octave-3.6.2.exe:15> mex firstmexdemo.c -v
cc-msvc -d -c -D_WIN32 -DWIN32 -D__WIN32__
-IC:\Octave\Octave-3.6.2\include\octave-3.6.2\octave\..
-IC:\Octave\Octave-3.6.2\
include\octave-3.6.2\octave -IC:\Octave\Octave-3.6.2\include  -O2 -MD
-wd4244 -fp:strict -fp:except-    -I.  firstmexdemo.c -
o firstmexdemo.o
cl -nologo -c -D_WIN32 -DWIN32 -D__WIN32__
-IC:\Octave\Octave-3.6.2\include\octave-3.6.2\octave\..
-IC:\Octave\Octave-3.6.2\i
nclude\octave-3.6.2\octave -IC:\Octave\Octave-3.6.2\include -O2 -MD -wd4244
-fp:strict -fp:except- -I. firstmexdemo.c -Fofirs
tmexdemo.o
cc-msvc -d -shared  -o firstmexdemo.mex  firstmexdemo.o
-Wl,-export:mexFunction -LC:\Octave\Octave-3.6.2\lib\octave\3.6.2 -
LC:\Octave\Octave-3.6.2\lib -loctinterp -loctave -lcruft
link -nologo -DLL -out:firstmexdemo.mex firstmexdemo.o
-LIBPATH:C:\Octave\Octave-3.6.2\lib\octave\3.6.2 -LIBPATH:C:\Octave\Oc
tave-3.6.2\lib octinterp.lib octave.lib cruft.lib -export:mexFunction
dirent.lib msvcmath.lib
warning: unable to find mkoctfile in expected location:
`C:\Octave\Octave-3.6.2\bin\mkoctfile-3.6.2'
warning: mkoctfile exited with failure status
octave-3.6.2.exe:16>


Any suggestions for what I'm doing wrong? The file 'mkoctfile-3.6.2.exe' is
in the specified location.

Do you have VS2010 installed and accessible in your PATH?
See http://wiki.octave.org/Octave_for_Windows#Using_the_Visual_C.2B.2B_compiler_with_Octave

Michael.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]