SCM

R Development Page

RcppCImg log file (00install.out)

* installing *source* package 'RcppCImg' ...
** libs

*** arch - i386
g++ -m32 -I"R:/lib/R/R-PATC~1/include" -DNDEBUG -I../inst/include/   -I"R:/lib/local/2.15/Rcpp/include" -I"R:/base/local215/include"     -O2 -Wall  -mtune=core2 -c RcppCImg.cpp -o RcppCImg.o
In file included from r:\base\rtools\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/objbase.h:154:0,
                 from r:\base\rtools\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/ole2.h:16,
                 from r:\base\rtools\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/windows.h:94,
                 from ../inst/include/CImg.h:125,
                 from ../inst/include/RcppCImg.h:5,
                 from RcppCImg.cpp:1:
r:\base\rtools\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/objidl.h:598:52: error: macro "Realloc" requires 3 arguments, but only 2 given
r:\base\rtools\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/objidl.h:598:56: error: ISO C++ forbids initialization of member 'Realloc' [-fpermissive]
r:\base\rtools\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/objidl.h:598:56: error: making 'Realloc' static [-fpermissive]
r:\base\rtools\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/objidl.h:598:56: error: invalid in-class initialization of static data member of non-integral type 'void*'
r:\base\rtools\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/objidl.h:599:25: error: expected identifier before '(' token
r:\base\rtools\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/objidl.h:599:25: error: 'parameter' declared as function returning a function
r:\base\rtools\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/objidl.h:599:25: error: expected ')' before ',' token
In file included from r:\base\rtools\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/msxml.h:209:0,
                 from r:\base\rtools\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/urlmon.h:219,
                 from r:\base\rtools\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/objbase.h:348,
                 from r:\base\rtools\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/ole2.h:16,
                 from r:\base\rtools\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/windows.h:94,
                 from ../inst/include/CImg.h:125,
                 from ../inst/include/RcppCImg.h:5,
                 from RcppCImg.cpp:1:
r:\base\rtools\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/oaidl.h:1890:28: error: expected identifier before '(' token
r:\base\rtools\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/oaidl.h:1890:28: error: 'parameter' declared as function returning a function
r:\base\rtools\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/oaidl.h:1890:28: error: expected ')' before ',' token
In file included from ../inst/include/RcppCImg.h:5:0,
                 from RcppCImg.cpp:1:
../inst/include/CImg.h: In function 'unsigned int cimg_library::cimg::float2uint(float)':
../inst/include/CImg.h:4018:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../inst/include/CImg.h: In function 'float cimg_library::cimg::uint2float(unsigned int)':
../inst/include/CImg.h:4023:39: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
RcppCImg.cpp: In function 'void _rcpp_module_CIMG_init()':
RcppCImg.cpp:28:23: error: 'init_1' was not declared in this scope
RcppCImg.cpp:28:30: error: expected primary-expression before 'const'
RcppCImg.cpp:29:23: error: 'init_2' was not declared in this scope
RcppCImg.cpp:29:30: error: expected primary-expression before 'int'
RcppCImg.cpp:29:34: error: expected primary-expression before 'int'
make: *** [RcppCImg.o] Error 1
g++ -m32 -I"R:/lib/R/R-PATC~1/include" -DNDEBUG -I../inst/include/   -I"R:/lib/local/2.15/Rcpp/include" -I"R:/base/local215/include"     -O2 -Wall  -mtune=core2 -c RcppCImg.cpp -o RcppCImg.o
In file included from r:\base\rtools\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/objbase.h:154:0,
                 from r:\base\rtools\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/ole2.h:16,
                 from r:\base\rtools\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/windows.h:94,
                 from ../inst/include/CImg.h:125,
                 from ../inst/include/RcppCImg.h:5,
                 from RcppCImg.cpp:1:
r:\base\rtools\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/objidl.h:598:52: error: macro "Realloc" requires 3 arguments, but only 2 given
r:\base\rtools\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/objidl.h:598:56: error: ISO C++ forbids initialization of member 'Realloc' [-fpermissive]
r:\base\rtools\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/objidl.h:598:56: error: making 'Realloc' static [-fpermissive]
r:\base\rtools\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/objidl.h:598:56: error: invalid in-class initialization of static data member of non-integral type 'void*'
r:\base\rtools\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/objidl.h:599:25: error: expected identifier before '(' token
r:\base\rtools\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/objidl.h:599:25: error: 'parameter' declared as function returning a function
r:\base\rtools\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/objidl.h:599:25: error: expected ')' before ',' token
In file included from r:\base\rtools\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/msxml.h:209:0,
                 from r:\base\rtools\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/urlmon.h:219,
                 from r:\base\rtools\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/objbase.h:348,
                 from r:\base\rtools\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/ole2.h:16,
                 from r:\base\rtools\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/windows.h:94,
                 from ../inst/include/CImg.h:125,
                 from ../inst/include/RcppCImg.h:5,
                 from RcppCImg.cpp:1:
r:\base\rtools\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/oaidl.h:1890:28: error: expected identifier before '(' token
r:\base\rtools\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/oaidl.h:1890:28: error: 'parameter' declared as function returning a function
r:\base\rtools\gcc-4.6.3\bin\../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/include/oaidl.h:1890:28: error: expected ')' before ',' token
In file included from ../inst/include/RcppCImg.h:5:0,
                 from RcppCImg.cpp:1:
../inst/include/CImg.h: In function 'unsigned int cimg_library::cimg::float2uint(float)':
../inst/include/CImg.h:4018:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
../inst/include/CImg.h: In function 'float cimg_library::cimg::uint2float(unsigned int)':
../inst/include/CImg.h:4023:39: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
RcppCImg.cpp: In function 'void _rcpp_module_CIMG_init()':
RcppCImg.cpp:28:23: error: 'init_1' was not declared in this scope
RcppCImg.cpp:28:30: error: expected primary-expression before 'const'
RcppCImg.cpp:29:23: error: 'init_2' was not declared in this scope
RcppCImg.cpp:29:30: error: expected primary-expression before 'int'
RcppCImg.cpp:29:34: error: expected primary-expression before 'int'
make: *** [RcppCImg.o] Error 1
ERROR: compilation failed for package 'RcppCImg'
* removing 'R:/run/building/build_2013-02-15-08-50/RF_PKG_CHECK/PKGS/RcppCImg.Rcheck/RcppCImg'
Thanks to:
Vienna University of Economics and Business University of Wisconsin - Madison Powered By FusionForge