* using log directory 'd:/Rcompile/CRANpkg/local/3.2/cheddar.Rcheck' * using R version 3.2.5 (2016-04-14) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'cheddar/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'cheddar' version '0.1-631' * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'cheddar' can be installed ... ERROR Installation failed. See 'd:/Rcompile/CRANpkg/local/3.2/cheddar.Rcheck/00install.out' for details. * DONE The installation logfile: * installing *source* package 'cheddar' ... ** package 'cheddar' successfully unpacked and MD5 sums checked ** libs *** arch - i386 make[1]: Entering directory `/cygdrive/d/temp/RtmpsVgN1D/R.INSTALL2dc4b8f5152/cheddar/src-i386' g++ -I"D:/RCompile/recent/R-3.2.5/include" -DNDEBUG -I"d:/RCompile/r-compiling/local/local323/include" -O2 -Wall -mtune=core2 -c anneal.cpp -o anneal.o anneal.cpp: In member function 'SimulatedAnnealing::Result SimulatedAnnealing::optimise(SumDietGap*)': anneal.cpp:322:32: error: 'exp' is not a member of 'std' anneal.cpp:322:32: note: suggested alternative: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/math.h:117:18: note: 'exp' anneal.cpp: In function 'void minimise_sum_diet_gaps(const int*, const int*, const double*, const double*, const double*, const int*, const int*, int*, int*, int*)': anneal.cpp:528:9: error: 'memcpy' is not a member of 'std' anneal.cpp:528:9: note: suggested alternative: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/wchar.h:921:17: note: 'memcpy' make[1]: *** [anneal.o] Error 1 make[1]: Leaving directory `/cygdrive/d/temp/RtmpsVgN1D/R.INSTALL2dc4b8f5152/cheddar/src-i386' Warning: running command 'make -f "D:/RCompile/recent/R-3.2.5/etc/i386/Makeconf" -f "D:/RCompile/recent/R-3.2.5/etc/i386/Makevars.site" -f "D:/RCompile/recent/R-3.2.5/share/make/winshlib.mk" SHLIB_LDFLAGS='$(SHLIB_CXXLDFLAGS)' SHLIB_LD='$(SHLIB_CXXLD)' SHLIB="cheddar.dll" OBJECTS="anneal.o shortest_paths.o trophic_chains.o"' had status 2 make[1]: Entering directory `/cygdrive/d/temp/RtmpsVgN1D/R.INSTALL2dc4b8f5152/cheddar/src-i386' g++ -I"D:/RCompile/recent/R-3.2.5/include" -DNDEBUG -I"d:/RCompile/r-compiling/local/local323/include" -O2 -Wall -mtune=core2 -c anneal.cpp -o anneal.o anneal.cpp: In member function 'SimulatedAnnealing::Result SimulatedAnnealing::optimise(SumDietGap*)': anneal.cpp:322:32: error: 'exp' is not a member of 'std' anneal.cpp:322:32: note: suggested alternative: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/math.h:117:18: note: 'exp' anneal.cpp: In function 'void minimise_sum_diet_gaps(const int*, const int*, const double*, const double*, const double*, const int*, const int*, int*, int*, int*)': anneal.cpp:528:9: error: 'memcpy' is not a member of 'std' anneal.cpp:528:9: note: suggested alternative: d:\compiler\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/wchar.h:921:17: note: 'memcpy' make[1]: *** [anneal.o] Error 1 make[1]: Leaving directory `/cygdrive/d/temp/RtmpsVgN1D/R.INSTALL2dc4b8f5152/cheddar/src-i386' Warning: running command 'make -f "D:/RCompile/recent/R-3.2.5/etc/i386/Makeconf" -f "D:/RCompile/recent/R-3.2.5/etc/i386/Makevars.site" -f "D:/RCompile/recent/R-3.2.5/share/make/winshlib.mk" SHLIB_LDFLAGS='$(SHLIB_CXXLDFLAGS)' SHLIB_LD='$(SHLIB_CXXLD)' SHLIB="cheddar.dll" OBJECTS="anneal.o shortest_paths.o trophic_chains.o" symbols.rds' had status 2 ERROR: compilation failed for package 'cheddar' * removing 'd:/Rcompile/CRANpkg/lib/3.2/cheddar' * restoring previous 'd:/Rcompile/CRANpkg/lib/3.2/cheddar'