Greetings from Chicago,
Please bear with me, I'm fairly new to Octave. I'm trying to use some code
for creating contourlets and the function 'resampc' is called from within
another function. resampc.c is provided by the author as well as resampc.dll
, ~.mexglx, ~.mexlx, ~.mexmac, & ~.mexsol. I believe I need to compile
resampc as an octave file and I've tried >>mkoctfile -v --mex resampc.c
and also >>mkoctfile -v resampc.c
I get this error:
cc-msvc -d -c -D_WIN32 -DWIN32 -D__WIN32__
-ID:\Programs\OCTAVE~1.1\include\octave-3.6.1\octave\..
-ID:\Programs\OCTAVE~1.1\include\octave-3.6.1\octave
-ID:\Programs\OCTAVE~1.1\include -O2 -MD -wd4244 -fp:strict -fp:except-
resampc.c -o resampc.o
cl -nologo -c -D_WIN32 -DWIN32 -D__WIN32__
-ID:\Programs\OCTAVE~1.1\include\octave-3.6.1\octave\..
-ID:\Programs\OCTAVE~1.1\include\octave-3.6.1\octave
-ID:\Programs\OCTAVE~1.1\include -O2 -MD -wd4244 -fp:strict -fp:except-
resampc.c -Foresampc.o
cc-msvc -d -shared -o resampc.oct resampc.o
-LD:\Programs\OCTAVE~1.1\lib\octave\3.6.1 -LD:\Programs\OCTAVE~1.1\lib
-loctinterp -loctave -lcruft
link -nologo -DLL -out:resampc.oct resampc.o
-LIBPATH:D:\Programs\OCTAVE~1.1\lib\octave\3.6.1
-LIBPATH:D:\Programs\OCTAVE~1.1\lib octinterp.lib octave.lib cruft.lib
dirent.lib
warning: unable to find mkoctfile in expected location:
`D:\Programs\OCTAVE~1.1\bin\mkoctfile-3.6.1'
warning: mkoctfile exited with failure status
I'm using octave 3.6.1 through GUIOctave 1.6.00 on Windows Vista and
everything to this point has worked very well. I've installed Octave and GUI
octave in a directory where I have read/write permission (outside of
'Program Files'), I have User Account Control off (long before using
Octave), I understand that the error message does not necessarily mean
'mkoctfile' really is not found- I can run
>>mkoctfile -h and get the result. I downloaded dirent-vs2010.lib as
recommended by a Google search and it is in the lib directory.
Did you rename the file into "dirent.lib"?
If you did, could you then try to run mkoctfile from a windows command prompt:
D:\Programs\OCTAVE~1.1\bin\mkoctfile.exe --mex -v resampc.c
Michael.