help-octave
[Top][All Lists]
Advanced

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

Re: C++ implementation of octave functions


From: Michael Goffioul
Subject: Re: C++ implementation of octave functions
Date: Mon, 6 Apr 2009 21:06:52 +0100

On Mon, Apr 6, 2009 at 10:44 AM, aicha khabil <address@hidden> 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.


reply via email to

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