Open gloewing opened 3 years ago
@gloewing You should pass cppflag to the path where your Octave headers are located. For example, Macports installs those into /opt/local/include/octave-9.1.0
.
So passing -I/opt/local/include/octave-9.1.0
should solve the issue.
Let me try to write a port for it.
UPD. Ah, apparently it got renamed to octave-config.h
. And maybe just unneeded altogether.
Thanks for all your work on this project. I am unable to install RcppOctave despite having successfully installed Octave on my Macbook Pro. I have downloaded the most recent archived version (0.18.1) of RcppOctave from CRAN (https://cran.r-project.org/src/contrib/Archive/RcppOctave/). But when I try to install RcppOctave, I get the following error:
utils.cc:21:10: fatal error: 'octave/config.h' file not found
include <octave/config.h>
1 error generated. make[1]: [utils.oct] Error 1 make: [OctaveModule] Error 2 ERROR: compilation failed for package ‘RcppOctave’
Thanks so much in advance for any advice you can provide.