[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: using Octave from C++
From: |
Tatsuro MATSUOKA |
Subject: |
Re: using Octave from C++ |
Date: |
Fri, 16 Jul 2010 08:00:09 +0900 (JST) |
Hello
To my knowledge, it is impossible to use the octave C++ libraries of
octave/mingw32 from the MSVC.
You can make standalone program by
mkoctfile --link-stand-alone
In the above command, the MinGW GCC compliers (version 4.4.0) and MinGW linker
are used if you use
octave-3.2.4/mingw32.
For the detail of the stand alone program, please see the octave manual
Appendix A Dynamically Linked Functions
A.3 Standalone Programs
If you want use octave libraries from the MSVC, perhaps you should build octave
by the MSVC toolkits.
It is logically possible. However it is also very very hard work so that I do
not recommend to try it.
* In the past, there existed the MSVC versions of octave. They were deleted
from the octave-forge
site due to the license issue.
Regards
Tatsuro
--- Christina Satzinger wrote:
>
> I'm trying to call Octave code from C++ by using feval as shown here:
> http://wiki.octave.org/wiki.pl?CategoryExternal
>
>
>
> I'm using VisualC++ 2008 and now have unresolved externals like
> __declspec(dllimport) void __cdecl do_octave_atexit(void)"
> (__imp_?do_octave_atexit@@YAXXZ)
>
>
>
> What library do I have to link? Is it 'liboctave.lib'? How can I get it?
>
>
>
> Thank you for any hints!
>
> _________________________________________________________________
> Hotmail: Vertrauensw将舐dige E-Mails dank leistungsstarkem SPAM-Schutz.
> https://signup.live.com/signup.aspx?id=60969>
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>
--------------------------------------
Get the new Internet Explorer 8 optimized for Yahoo! JAPAN
http://pr.mail.yahoo.co.jp/ie8/