-
Notifications
You must be signed in to change notification settings - Fork 3
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
Compilation error under linux 64 bit and R-mkl #3
Comments
Hi, It compiles fine for me in Linux (Ubuntu 14.04) using gcc 4.8.4. What version of gcc do you have? (ggc -v) ---- On Thu, 09 Jun 2016 09:40:04 +0200 poldokim <notifications@github.com>wrote ---- When I try to compile FLash packages I have this error: R version 3.3.0 (2016-05-03) -- "Supposedly Educational" Copyright (C) 2016 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu (64-bit)
FLashDLL.cpp:83:14: error: cannot convert ‘bool’ to ‘SEXP {aka SEXPREC_}’ in return return false; ^~~~~ FLashDLL.cpp:133:14: error: cannot convert ‘bool’ to ‘SEXP {aka SEXPREC_}’ in return return false; ^~~~~ Do you have any suggestion? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread. |
|
I haven't tried compiling with MKL or the latest gcc. We use the same We are moving to a new version of FLash, currently in alpha but already https://github.com/iagomosqueira/FLasher It is based on Rcpp and cppAD, so it should have less problems compiling Do let us know if you try compiling it. It is still missing a few bits On 09/06/16 14:51, poldokim wrote:
|
Forgot to add, you will need specific versions of both FLCore and FLFishery library(devtools) |
Thanks a lot! New libraries compiles fine! |
Good to know. It is still missing functionality, but it is progressing On 13/06/16 09:07, poldokim wrote:
|
Trying to get FLash(er) to compile on my x86-64 Windows 7 machine. I have used the following approach (from above)
FLFishery loads without issue. FLasher strikes out with the following error: FLash strikes out, too, but I assume it has something to do with the Windows 7 x64. Suggestions on how to continue? |
The new FLBiol class is now on master, so you will need to do
which works here (R 3.3.1 on Linux, gcc version 4.8.4. FLash only works on 32 bit, due to the old version of Adol-C. We are not upgrading it and have moved to develop FLasher instead. I won't be able to test on a Windows 7 machine until later in the week. To make sure we try on the same setup, what version of Rtools are you using? |
Just tried your suggestion. FLCore and FLFishery load without issue. FLasher still fails. I'm using RTools34. Perhaps the following output is useful.
|
Thanks. I can test this tomorrow. Last time I tried with Rtools 3.4 it On 06/09/16 13:28, Scott Large wrote:
|
This issue was moved to flr/FLasher#51 |
When I try to compile FLash packages I have this error:
R version 3.3.0 (2016-05-03) -- "Supposedly Educational"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
* installing *source* package ‘FLash’ ...
** libs
g++ -I/usr/include/R/ -DNDEBUG -D_FORTIFY_SOURCE=2 -I../inst/include -fpic -O3 -m64 -I/opt/intel/composerxe/linux/mkl/include -c FLCoreClasses.cpp -o FLCoreClasses.o
g++ -I/usr/include/R/ -DNDEBUG -D_FORTIFY_SOURCE=2 -I../inst/include -fpic -O3 -m64 -I/opt/intel/composerxe/linux/mkl/include -c FLashDLL.cpp -o FLashDLL.o
FLashDLL.cpp: In function ‘SEXPREC* fwd_adolc_FLBiol(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)’:
FLashDLL.cpp: In function ‘SEXPREC* fwd_adolc_FLBiols(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)’:
ERROR: compilation failed for package ‘FLash’
Do you have any suggestion?
The text was updated successfully, but these errors were encountered: