Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to Install RcppOctave on MacOS 11.1 Big Sur #23

Open
gloewing opened this issue Feb 25, 2021 · 1 comment
Open

Unable to Install RcppOctave on MacOS 11.1 Big Sur #23

gloewing opened this issue Feb 25, 2021 · 1 comment

Comments

@gloewing
Copy link

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.

@barracuda156
Copy link

barracuda156 commented Mar 27, 2024

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants