-
Notifications
You must be signed in to change notification settings - Fork 34
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
[2.0.0] fails to build on R 3.6.0 #105
Comments
building the bundled nlopt-2.7.1 works well.
So the problem is the overwritten cmake variables. |
Of course the lib will work. |
Thanks for reporting this. I will provide a solution in the next release, either by requiring |
Thanks, yes of course I can test it. |
Here is the working patch, which can you use as an reference. |
Would you mind contributing it as a PR please? |
I will try it tomorrow, because I must look how to detect the R major version. |
> getRversion()
[1] ‘4.1.2’
> getRversion() > "3.6.0"
[1] TRUE
> getRversion() > "4.2.0"
[1] FALSE
> To a first appromixation, I wouldn't though. We are at 4.1.2 and 2 1/2 months away from R 4.2.0. |
The build fails with:
build.log
I think the config step don't resect the fact, that R 3.6.0 don't have variables AR and RANLIB. And so the cmake defaults are overwritten with invalid values.
I have attached an full build log.
The text was updated successfully, but these errors were encountered: