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

  • Thread starter Thread starter DonaldD
  • Start date Start date
  • Tags Tags
    C++ Octave
Click For Summary
SUMMARY

This discussion addresses the issue of locating the oct.h header file while using Octave with C++ on Fedora 16. Users confirmed that the Fedora build may not include the oct.h library, which is essential for compilation. The resolution involved identifying a missing library rather than a problem with the header file itself. The Octave manual, available on the Octave Homepage or SourceForge, provides necessary guidance for users encountering similar issues.

PREREQUISITES
  • Familiarity with Octave version installed via Yum on Fedora 16
  • Understanding of C++ compilation processes and header file usage
  • Knowledge of library dependencies in software development
  • Basic navigation of the Octave manual and SourceForge resources
NEXT STEPS
  • Investigate how to install missing libraries for Octave on Fedora
  • Learn about C++ header file management and compilation
  • Explore the Octave manual for examples of integrating C++
  • Research common issues with Octave installations on Linux distributions
USEFUL FOR

Developers using Octave with C++, Fedora users troubleshooting library issues, and anyone seeking to integrate C++ functionality into Octave projects.

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
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
7K
  • · Replies 17 ·
Replies
17
Views
5K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 0 ·
Replies
0
Views
3K
Replies
4
Views
5K
  • · Replies 15 ·
Replies
15
Views
8K
  • · Replies 11 ·
Replies
11
Views
6K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K