I'm using ubuntu 16.04 and I installed gnu octave (4.0.2) through the software center. I can run octave via the shell but I do not get behind how to start if I want to use it in a c++ code. It breaks directly at the beginning by missing the octave header:
#include <iostream>
#include <octave/octave.h>
leads to
/home/analysis/Filter/Filter.cxx:2:10: fatal error: 'octave/octave.h' file not found
#include <octave/octave.h>
I know it is in /usr/include/octave-4.0.2/octave/. How do I get my code to know this ? Thank you very much in advance!