Octave Header File Location

I am trying to use Octave as an external solver in my C / C ++ code.

I read here that you need to include the octave header file /oct.h. However, I cannot find it on my computer. I searched everywhere, including the root directory of the octave version 3.0.5.

What should I do?

+3
source share
3 answers

I found it in my installation of Octave 3.2.2 on Windows: C: \ Octave \ 3.2.2_gcc-4.3.0 \ include \ octave-3.2.2 \ octave.

Are you using a different operating system? If so, you may need to set the headers separately. For example, Ubuntu 10.10 has a separate octave3.2-headers package .

Windows, Octave , 3.2.2 . Windows Octave-Forge.

+3

Ubuntu, Octave 3.8.1, , , liboctave-dev

+1

The inbox of Octave 4.0.0 installed on Ubuntu can be found in / usr / include / octave-4.0.0 / octave.

0
source

Source: https://habr.com/ru/post/1777148/


All Articles