help-octave
[Top][All Lists]
Advanced

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

How to use mkoctfile


From: mkole
Subject: How to use mkoctfile
Date: Sun, 8 Jul 2012 07:17:34 -0700 (PDT)

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. I've done a
lot of searching and just cannot find an answer.
My core issue is being able to use the function 'resampc' . I haven't used
Matlab and so I'm not familiar with the other .mex~  files included with the
code. Can any of these be used somehow in Octave?  Any assistance would be
greatly appreciated !

I've been using Octave for image-processing (I'm just a photographer
/Photoshop hobbyist), and I've been posting my experiences in learning how
to use it on Google+, hoping to help others who might be interested in
getting started with Octave.

Mark

--
View this message in context: 
http://octave.1599824.n4.nabble.com/How-to-use-mkoctfile-tp4631295.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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