-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Rmodular cannot be built #3460
Comments
What follows are the cmake flags and the logs starting from the first error: |
Can you please remove the long log here and paste a link to a gist instead? Otherwise chances that somebody reads it go to zero. |
I moved the error log from the previous comment to a gist. I'm building shogun in a chroot where only declared packages are available (that's a feature of GNU Guix). There were no problems with the modular R interface in version 4.0.0. |
Sorry about the delay. This unfortunately is a bug. Will look into it and adding to 5.1 milestone |
I locally have the same errors on ubuntu 16.04 with latest develop and standard packages, R version 3.3.1 https://gist.github.com/karlnapf/69946d524a9773b6cb4d9479ce93097e |
It might be sufficient to I haven't tested this with Shogun yet, but it worked for SPAMS, which also includes bindings that were created with swig. |
Thanks for the hint! This is since R 3.3.0 Just for the record, adding https://gist.github.com/karlnapf/9538ea56ead65bc1c470543ff6c3bd95 |
So the NEWS entry for 3.3.0 you refer to says:
There is also this in the NEWS for 3.3.2
|
Same error with R 3.3.2 |
according to the R manual, no R headers should be included from `extern C` blocks
according to the R manual, no R headers should be included from `extern C` blocks
Fixed via #3538 |
Nice, thank you! |
Let me know if it worked :) |
according to the R manual, no R headers should be included from `extern C` blocks
according to the R manual, no R headers should be included from `extern C` blocks
I'm trying to build shogun with the Rmodular interface with GCC 4.9.3 and R 3.3.0 but I get this error:
error: conflicting declaration of C function ‘long long int std::abs(long long int)’
in gcc-4.9.3/include/c++/cstdlib
In file included from
/gnu/store/pbz6h59l4c4y77j5ik45krlvp4xq79qq-r-3.3.0/lib/R/include/R.h:40:0,
from
/tmp/guix-build-shogun-4.1.0.drv-0/shogun-4.1.0/src/interfaces/r_modular/sg_print_functions.cpp:2:
What then follows is a long stream of errors like "error: template with C linkage" in various files. I can provide the full build log in a few hours.
The text was updated successfully, but these errors were encountered: