* installing *source* package 'lsoda' ... ** this is package 'lsoda' version '1.0' ** using staged installation ** libs using C++ compiler: 'g++.exe (GCC) 14.2.0' using C++11 g++ -std=gnu++11 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -I../inst/include -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o In file included from RcppExports.cpp:4: ../inst/include/lsoda.h:2176:27: error: field 'mord' has incomplete type 'std::array' 2176 | std::array mord; | ^~~~ In file included from D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.2.0/include/c++/tuple:38, from D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.2.0/include/c++/bits/hashtable_policy.h:34, from D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.2.0/include/c++/bits/hashtable.h:35, from D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.2.0/include/c++/bits/unordered_map.h:33, from D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.2.0/include/c++/unordered_map:41, from D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp/platform/compiler.h:153, from D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp/r/headers.h:66, from D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/RcppCommon.h:30, from D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp.h:27, from ../inst/include/lsoda.h:35: D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.2.0/include/c++/bits/stl_pair.h:99:12: note: declaration of 'struct std::array' 99 | struct array; | ^~~~~ ../inst/include/lsoda.h:2177:28: error: field 'sm1' has incomplete type 'std::array' 2177 | std::array sm1; | ^~~ D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.2.0/include/c++/bits/stl_pair.h:99:12: note: declaration of 'struct std::array' 99 | struct array; | ^~~~~ ../inst/include/lsoda.h:2179:28: error: field 'el' has incomplete type 'std::array' 2179 | std::array el; // = {0}; | ^~ D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.2.0/include/c++/bits/stl_pair.h:99:12: note: declaration of 'struct std::array' 99 | struct array; | ^~~~~ ../inst/include/lsoda.h:2180:28: error: field 'cm1' has incomplete type 'std::array' 2180 | std::array cm1; // = {0}; | ^~~ D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.2.0/include/c++/bits/stl_pair.h:99:12: note: declaration of 'struct std::array' 99 | struct array; | ^~~~~ ../inst/include/lsoda.h:2181:27: error: field 'cm2' has incomplete type 'std::array' 2181 | std::array cm2; // = {0}; | ^~~ D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.2.0/include/c++/bits/stl_pair.h:99:12: note: declaration of 'struct std::array' 99 | struct array; | ^~~~~ ../inst/include/lsoda.h:2183:44: error: field 'elco' has incomplete type 'std::array, 13>' 2183 | std::array, 13> elco; | ^~~~ D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.2.0/include/c++/bits/stl_pair.h:99:12: note: declaration of 'struct std::array, 13>' 99 | struct array; | ^~~~~ ../inst/include/lsoda.h:2184:43: error: field 'tesco' has incomplete type 'std::array, 13>' 2184 | std::array, 13> tesco; | ^~~~~ D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.2.0/include/c++/bits/stl_pair.h:99:12: note: declaration of 'struct std::array, 13>' 99 | struct array; | ^~~~~ ../inst/include/lsoda.h: In member function 'void LSODA::LSODA::lsoda(LSODA::LSODA_ODE_SYSTEM_TYPE, size_t, std::vector&, double*, double, int, int*, int, int, std::array&, std::array&, void*)': ../inst/include/lsoda.h:418:22: error: no match for 'operator[]' (operand types are 'std::array' and 'int') 418 | ml = iworks[0]; | ^ ../inst/include/lsoda.h:419:22: error: no match for 'operator[]' (operand types are 'std::array' and 'int') 419 | mu = iworks[1]; | ^ ../inst/include/lsoda.h:450:26: error: no match for 'operator[]' (operand types are 'std::array' and 'int') 450 | ixpr = iworks[2]; | ^ ../inst/include/lsoda.h:457:28: error: no match for 'operator[]' (operand types are 'std::array' and 'int') 457 | mxstep = iworks[3]; | ^ ../inst/include/lsoda.h:460:28: error: no match for 'operator[]' (operand types are 'std::array' and 'int') 460 | mxhnil = iworks[4]; | ^ ../inst/include/lsoda.h:463:30: error: no match for 'operator[]' (operand types are 'std::array' and 'int') 463 | h0 = rworks[1]; | ^ ../inst/include/lsoda.h:464:30: error: no match for 'operator[]' (operand types are 'std::array' and 'int') 464 | mxordn = iworks[5]; | ^ ../inst/include/lsoda.h:470:30: error: no match for 'operator[]' (operand types are 'std::array' and 'int') 470 | mxords = iworks[6]; | ^ ../inst/include/lsoda.h:485:26: error: no match for 'operator[]' (operand types are 'std::array' and 'int') 485 | hmax = rworks[2]; | ^ ../inst/include/lsoda.h:495:26: error: no match for 'operator[]' (operand types are 'std::array' and 'int') 495 | hmin = rworks[3]; | ^ ../inst/include/lsoda.h:566:25: error: no match for 'operator[]' (operand types are 'std::array' and 'int') 566 | tcrit = rworks[0]; | ^ ../inst/include/lsoda.h:718:25: error: no match for 'operator[]' (operand types are 'std::array' and 'int') 718 | tcrit = rworks[0]; | ^ ../inst/include/lsoda.h:745:27: error: no match for 'operator[]' (operand types are 'std::array' and 'int') 745 | tcrit = rworks[0]; | ^ ../inst/include/lsoda.h: In member function 'void LSODA::LSODA::resetcoeff()': ../inst/include/lsoda.h:2108:30: error: aggregate 'std::array ep1' has incomplete type and cannot be defined 2108 | std::array ep1; | ^~~ ../inst/include/lsoda.h:36:1: note: 'std::array' is defined in header ''; this is probably fixable by adding '#include ' 35 | #include +++ |+#include 36 | ../inst/include/lsoda.h: In member function 'void LSODA::LSODA::lsoda_function(LSODA::LSODA_ODE_SYSTEM_TYPE, size_t, std::vector&, std::vector&, double*, double, int*, void*, double, double)': ../inst/include/lsoda.h:2144:26: error: variable 'std::array iworks' has initializer but incomplete type 2144 | std::array iworks = {{0}}; | ^~~~~~ ../inst/include/lsoda.h:2144:26: note: 'std::array' is defined in header ''; this is probably fixable by adding '#include ' ../inst/include/lsoda.h:2145:29: error: variable 'std::array rworks' has initializer but incomplete type 2145 | std::array rworks = {{0.0}}; | ^~~~~~ ../inst/include/lsoda.h:2145:29: note: 'std::array' is defined in header ''; this is probably fixable by adding '#include ' make: *** [D:/RCompile/recent/R/etc/x64/Makeconf:296: RcppExports.o] Error 1 ERROR: compilation failed for package 'lsoda' * removing 'd:/RCompile/CRANincoming/R-devel/lib/lsoda'