C++ implementation of octave functions
Michael Goffioul
michael.goffioul at gmail.com
Mon Apr 6 15:06:52 CDT 2009
On Mon, Apr 6, 2009 at 10:44 AM, aicha khabil <aicha.cs at gmail.com> wrote:
> I am using octave on windows xp. i use octave to implemante a few functoion
> about matrix ones into my program c++, but i failed to connecte vc++ with
> octave librairie .
>
> Do you can explane me how can i to do this.
You have to follow the standard way of using external libraries in VC++:
1) include required octave headers in your source code
2) add octave include directory to the include path
3) add octave library directory to library path
4) link your software against required octave libraries
Additionally, you have to
- use the same VC compiler as the one used to generate the octave
binary version you're using (recent versions have been compiled with
VS2008)
- use the /MD compilation flag
Michael.
More information about the Help-octave
mailing list