Octave with C++ on Fedora 16 | Finding oct.h

  • Thread starter Thread starter DonaldD
  • Start date Start date
  • Tags Tags
    C++ Octave
AI Thread Summary
Users on Fedora 16 are encountering issues finding the oct.h file after installing Octave via Yum, which is necessary for integrating Octave with C++. It was clarified that header files like oct.h are not compiled but contain definitions needed for source files. A user reported resolving the issue by identifying a missing library. The Octave manual, available on the homepage or SourceForge, provides further information on this header file. This discussion highlights the importance of ensuring all necessary libraries are installed for successful integration.
DonaldD
Messages
2
Reaction score
0
Hi all,
I'm using Fedora 16 and installed Octave thru Yum.
There is an example in the Octave manual of using Octave with C++ and it #includes a oct.h file.
However, the Fedora build may not have compiled the oct.h library ? or I'm searching in the wrong places.
Has anyone had any experience of this and does anyone know or can suggest a workaround ?
Just point me in a direction if you can please.
 
Physics news on Phys.org
Hey DonaldD and welcome to the forums.

You should note that header files are never compiled: only source files with a .c, .cpp, or similar are compiled.

Header files are usually packed only with definitions and even if they do include any code, they are never compiled into a source object file so if you are worried about compilation issues with this .h, you don't need to.

Can you point us to a link regarding this header file and information?
 
Just got a reply from another forum. solved it. There was a missing library.
I know, the header is not compiled. It's just a textual definition file. Just the way I worded it.
If you still want to look at this, it's in the Octave manual, either the Homepage or on sourceforge
 
Back
Top