[FLR-list] Problems installing FLasher on R3.3.3.
Hintzen, Niels
niels.hintzen at wur.nl
Fri Oct 6 12:10:45 CEST 2017
Dear all,
I don't manage to get Flasher installed on R3.3.3. I do have an up-to-date gcc compiler, but something goes wrong. Any suggestions? Full error message below.
Thanks,
Niels
* installing *source* package 'FLasher' ...
** libs
*** arch - i386
c:/Rtools/mingw_32/bin/g++ -std=c++0x -I"C:/PROGRA~1/R/R-33~1.3/include" -DNDEBUG -I"C:/Program Files/R/R-3.3.3/library/Rcpp/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -I../inst/include -O2 -Wall -mtune=core2 -c FLCatch.cpp -o FLCatch.o
In file included from ../inst/include/cppad/local/recorder.hpp:15:0,
from ../inst/include/cppad/core/ad.hpp:21,
from ../inst/include/cppad/cppad.hpp:55,
from ../inst/include/FLQuant_base.h:7,
from ../inst/include/FLCatch.h:10,
from FLCatch.cpp:6:
../inst/include/cppad/local/pod_vector.hpp:58:25: error: redefinition of 'bool CppAD::local::is_pod() [with Type = unsigned int]'
template <> inline bool is_pod<size_t>(void) { return true; }
^
../inst/include/cppad/local/pod_vector.hpp:56:25: note: 'bool CppAD::local::is_pod() [with Type = unsigned int]' previously declared here
template <> inline bool is_pod<unsigned int>(void) { return true; }
^
make: *** [FLCatch.o] Error 1
Warning: running command 'make -f "Makevars.win" -f "C:/PROGRA~1/R/R-33~1.3/etc/i386/Makeconf" -f "C:/PROGRA~1/R/R-33~1.3/share/make/winshlib.mk" CXX='$(CXX1X) $(CXX1XSTD)' CXXFLAGS='$(CXX1XFLAGS)' CXXPICFLAGS='$(CXX1XPICFLAGS)' SHLIB_LDFLAGS='$(SHLIB_CXX1XLDFLAGS)' SHLIB_LD='$(SHLIB_CXX1XLD)' SHLIB="FLasher.dll" OBJECTS="FLCatch.o FLFishery.o FLQuant_base.o FLQuant_multidim.o FLStock.o RcppExports.o fwdBiol.o fwdControl.o fwdSR.o operating_model.o solver.o tests_FLCatch.o tests_FLFishery.o tests_FLQuant.o tests_FLQuantAD.o tests_FLQuant_multidim.o tests_FLStock.o tests_arithmetic_operators.o tests_fwdBiol.o tests_fwdControl.o tests_fwdSR.o tests_operatingModel.o tests_profiling.o tests_solver.o"' had status 2
ERROR: compilation failed for package 'FLasher'
* removing 'C:/Program Files/R/R-3.3.3/library/FLasher'
The downloaded source packages are in
'C:\Users\hintz001\AppData\Local\Temp\Rtmp6dzPgy\downloaded_packages'
Warning messages:
1: running command '"C:/PROGRA~1/R/R-33~1.3/bin/x64/R" CMD INSTALL -l "C:\Program Files\R\R-3.3.3\library" C:\Users\hintz001\AppData\Local\Temp\Rtmp6dzPgy/downloaded_packages/FLasher_0.0.3.tar.gz' had status 1
2: In install.packages(pkgs, repos = "http://flr-project.org/R") :
installation of package 'FLasher' had non-zero exit status
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/flr-list/attachments/20171006/2d86e3f8/attachment.html>
More information about the flr-list
mailing list