octave-maintainers
[Top][All Lists]
Advanced

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

Re: Octave with C++


From: Jordi Gutiérrez Hermoso
Subject: Re: Octave with C++
Date: Wed, 30 Jun 2010 08:48:54 -0500

Please try to avoid sending HTML emails next time. Since you're using
Gmail, just select the "plain text" option before sending.

On 25 June 2010 14:03, Programmer Programmer <address@hidden> wrote:
>
> I got the latest version of Octave source code "octave-3.2.4"
> I tried to configure, make, and make install...
> I went through so many errors with the Configure and Make transactions.
>
> I solved some, but I stuck with the latest one which is:
> __magick_read__

This is a bit vague. Please post the actual error.

> Removed the unnecessary parameters, but didn't work...

"Didn't work" is also vague. Did it sit on the couch all day?

> I really got tired of trying to compile and build the octave source code.

Well, it is a chore. There is no way to avoid that. Are you sure there
aren't pre-built binaries for your platform? I see below that you're
using Mac OS X, and I'm sure that there are binaries for that
platform.

> After getting the source code installed, where the libraries will exist.

On Mac OS X? I think Octave by default uses /usr/local/lib, but
perhaps it uses whatever tree structure Apple cooked up, so I expect
you know where to find a package's installed files for any other
package if it's not /usr/lib.

> I determined during configuration a specific Folder to make octave installed
> there.
> Such as MyOctave, so it will be as following:
> /Users/Development/myoctave/lib/octave-3.2.4
> /Users/Development/myoctave/include/octave-3.2.4
>
> But when I pass this path to c++ application, so should I add paths of the
> Octave source code which I compiled?

I don't understand what you mean. C++ application? Pass the paths? You
specify a prefix with the configure script and you compile Octave with
the usual GNU build system. I've personally never attempted an
out-of-source build with Octave, so I don't know if it's possible, but
I imagine it is. Is that what you're doing?

> I pass it to Netbeans this way:
> Project> properties> Build> C++ compiler > Include Directors.
> also
> Project> properties> Build> linker > Additional Library Directories.

I don't see why that is necessary. Octave's build system doesn't use
an IDE.

HTH,
- Jordi G. H.


reply via email to

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