help-octave
[Top][All Lists]
Advanced

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

Re: Octave Standalone exe


From: Tatsuro MATSUOKA
Subject: Re: Octave Standalone exe
Date: Mon, 18 Mar 2013 17:10:43 +0900 (JST)

--- On Mon, 2013/3/18, vinukn  wrote:

> I have a cpp file,I compiled this cpp file using mkoctfile command,but I got
> lots  of errors, Using Octave 3.6.2 visual studio build,2010. I can run
> demos in Octave manual file.
> 
> //Main.cpp
> #include <iostream>
> #include <octave/oct.h>
> #include <octave/octave.h>
> #include <octave/parse.h>
> 
> int main (void)
> {
>   string_vector argv (2);
>   argv(0) = "embedded";
>   argv(1) = "-q";
> 
>   octave_main (2, argv.c_str_vec (), 1);
> 
>  octave_value out = eval_string ("3+4", true,1);
>  
>    std::cout <<out;
>   eval_string ("plot(hilb(3))", true,1);
>   return 0;
> }
> 
> 
> 
> --
> View this message in context: 
> http://octave.1599824.n4.nabble.com/Octave-Standalone-exe-tp4650899.html
> Sent from the Octave - General mailing list archive at Nabble.com.
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://mailman.cae.wisc.edu/listinfo/help-octave
> 

Did you refer the following?

http://wiki.octave.org/Octave_for_Windows#Using_the_Visual_C.2B.2B_compiler_with_Octave

Tatsuro


reply via email to

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