help-octave
[Top][All Lists]
Advanced

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

Re: problem with "mkoctfile"


From: José Luis García Pallero
Subject: Re: problem with "mkoctfile"
Date: Wed, 29 Oct 2008 16:18:16 +0100

Hi,
What about the mingw version of Octave?. Is possible to compile oct functions in windows withot Microsoft software?

2008/10/29 Ivan Sutoris <address@hidden>
On Wed, Oct 29, 2008 at 11:24 AM, Dawei <address@hidden> wrote:
>
> when I use "mkoctfile" in octave just like
>
> mkoctfile helloworld.cc
>
> it returns
>
> 'cl' is not recognized as an internal or external command, operable proggram
> of batch file.
> 'link' is not recognized as an internal or external command, operable
> proggram of batch file.
>
> I searched a lot in google, but nothing found. I will appreciate it very
> much if somebody can help me here.
>
> thank you guys!

I assume you are using Octave in Windows from Octave Forge installer.
To compile oct and mex files, you must install Microsoft Visual Studio
(there is free Expres edition you can download) - see README file in
C:\Program Files\Octave for details. Then, you must run Octave with
enviroment variables properly set up - easiest way to do this is to
run 'Visual Studio Command Prompt' from Start menu, cd to directory
with your source file and run octave there.

Regards
Ivan Sutoris
_______________________________________________
Help-octave mailing list
address@hidden
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave



--
*****************************************
José Luis García Pallero
address@hidden
(o<
/ / \
V_/_
Use Debian GNU/Linux and enjoy!
*****************************************

reply via email to

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