[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Getting started with Octave and Visual C++
From: |
Tatsuro MATSUOKA |
Subject: |
Re: Getting started with Octave and Visual C++ |
Date: |
Tue, 23 Jun 2009 20:08:06 +0900 (JST) |
Did you setup environmental variables ?
Please see
http://www.tatsuromatsuoka.com/octave/Eng/Win/
msvcoct.html,4,606 bytes, 2009-02-25, md5 a964e274d5b4f0232363dbc8ce8a28ac,
Note for mkoctfile (and
pkg install) for MSVC-octave 3.0.3.
For your case, you will perhaps use visual studio 2008 but not express edition.
I do not know there is a batch files corresponding to 'vcvarsall.bat'in the
express edition.
Please see your the document how to use command line complier.
You can use compile C++ files by mkoctfile --link-stand-alone.
If you want to use Visual studio to build binaries.
You see the compiler and linker options by
mkoctfile --link-stand-alone --verbose foo.cc
and you will find how to set compiler and linker options and you will have to
reflect in the visual
studio settings. I do not have any experience to use visual studio so that you
have to go ahead by
yourself.
Regards
Tatsuro
--- n3t wrote:
>
> Ok, I've installed octave-3.0.1 compiled for visual studio 2008
> (octave-3.0.1-vs2008-setup.exe), but If add the line #include <octave.h> in
> an working project, it says:
>
> 1>c:\programs\octave\include\octave-3.0.1\octave\octave.h(30) : error C2144:
> syntax error : 'int' should be preceded by ';'
> 1>c:\programs\octave\include\octave-3.0.1\octave\octave.h(30) : error C4430:
> missing type specifier - int assumed. Note: C++ does not support default-int
>
> how can i do? i'm desperate!
> --
> View this message in context:
> http://www.nabble.com/Getting-started-with-Octave-and-Visual-C%2B%2B-tp24134467p24163206.html
> Sent from the Octave - General mailing list archive at Nabble.com.
>
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>
--------------------------------------
Power up the Internet with Yahoo! Toolbar.
http://pr.mail.yahoo.co.jp/toolbar/
- Getting started with Octave and Visual C++, n3t, 2009/06/21
- Re: Getting started with Octave and Visual C++, Søren Hauberg, 2009/06/21
- Re: Getting started with Octave and Visual C++, n3t, 2009/06/21
- Re: Getting started with Octave and Visual C++, Søren Hauberg, 2009/06/21
- Re: Getting started with Octave and Visual C++, n3t, 2009/06/23
- Re: Getting started with Octave and Visual C++,
Tatsuro MATSUOKA <=
- Re: Getting started with Octave and Visual C++, n3t, 2009/06/23
- Re: Getting started with Octave and Visual C++, Michael Goffioul, 2009/06/23
- Re: Getting started with Octave and Visual C++, Michael Goffioul, 2009/06/23
Re: Getting started with Octave and Visual C++, Michael Goffioul, 2009/06/21