help-octave
[Top][All Lists]
Advanced

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

Re: problem with "mkoctfile"


From: Ivan Sutoris
Subject: Re: problem with "mkoctfile"
Date: Wed, 29 Oct 2008 15:54:50 +0100

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


reply via email to

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