-
Notifications
You must be signed in to change notification settings - Fork 3
Description
I used the method for solving Issue #1 but ran into a different issue that I do not know how to solve. It may be something that I am doing wrong which means the "issue" is with me. The entire output is below.
install.packages("mander.tar.gz", repos = NULL, type = "source")
Installing package into ‘C:/Users/creynol9/AppData/Local/R/win-library/4.3’
(as ‘lib’ is unspecified)
Warning: invalid package 'mander.tar.gz'
Error: ERROR: no packages specified
Warning in install.packages :
installation of package ‘mander.tar.gz’ had non-zero exit status
setwd("C:/Users/creynol9")
install.packages("mander.tar.gz", repos = NULL, type = "source")
Installing package into ‘C:/Users/creynol9/AppData/Local/R/win-library/4.3’
(as ‘lib’ is unspecified)
Warning in untar2(tarfile, files, list, exdir, restore_times) :
using pax extended headers
- installing source package 'mandeR' ...
** using staged installation
** libs
using C++ compiler: 'G__1.EXE (GCC) 12.3.0'1/R/R-43
using C++11
g++ -std=gnu++11 -c -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -I"C:/PROGRA1.3/include" -DNDEBUG -DDOCTEST_CONFIG_DISABLE -I'C:/Users/creynol9/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -DDOCTEST_CONFIG_DISABLE Rwrapper.cpp -o Rwrapper.o1/R/R-43
g++ -std=gnu++11 -c -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -I"C:/PROGRA1.3/include" -DNDEBUG -DDOCTEST_CONFIG_DISABLE -I'C:/Users/creynol9/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -DDOCTEST_CONFIG_DISABLE RcppExports.cpp -o RcppExports.o1/R/R-43
g++ -std=gnu++11 -c -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -I"C:/PROGRA1.3/include" -DNDEBUG -DDOCTEST_CONFIG_DISABLE -I'C:/Users/creynol9/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -DDOCTEST_CONFIG_DISABLE compactnesslib/shapelib/safileio.cpp -o compactnesslib/shapelib/safileio.o1/R/R-43
compactnesslib/shapelib/safileio.cpp:73: warning: "NOMINMAX" redefined
73 | # define NOMINMAX
|
In file included from c:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\x86_64-w64-mingw32.static.posix\bits\c++config.h:655,
from c:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\cmath:41,
from c:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\math.h:36,
from compactnesslib/shapelib/safileio.cpp:61:
c:\rtools43\x86_64-w64-mingw32.static.posix\lib\gcc\x86_64-w64-mingw32.static.posix\12.3.0\include\c++\x86_64-w64-mingw32.static.posix\bits\os_defines.h:45: note: this is the location of the previous definition
45 | #define NOMINMAX 1
|
compactnesslib/shapelib/safileio.cpp:75: warning: ignoring '#pragma comment ' [-Wunknown-pragmas]
75 | # pragma comment(lib, "kernel32.lib")
|
g++ -std=gnu++11 -c -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -I"C:/PROGRA1.3/include" -DNDEBUG -DDOCTEST_CONFIG_DISABLE -I'C:/Users/creynol9/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -DDOCTEST_CONFIG_DISABLE compactnesslib/shapelib/shptree.cpp -o compactnesslib/shapelib/shptree.o1/R/R-43
g++ -std=gnu++11 -c -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -I"C:/PROGRA1.3/include" -DNDEBUG -DDOCTEST_CONFIG_DISABLE -I'C:/Users/creynol9/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -DDOCTEST_CONFIG_DISABLE compactnesslib/shapelib/shpopen.cpp -o compactnesslib/shapelib/shpopen.o1/R/R-43
g++ -std=gnu++11 -c -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -I"C:/PROGRA1.3/include" -DNDEBUG -DDOCTEST_CONFIG_DISABLE -I'C:/Users/creynol9/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -DDOCTEST_CONFIG_DISABLE compactnesslib/shapelib/dbfopen.cpp -o compactnesslib/shapelib/dbfopen.o1/R/R-43~1.3/include" -DNDEBUG -DDOCTEST_CONFIG_DISABLE -I'C:/Users/creynol9/AppData/Local/R/win-library/4.3/Rcpp/include' -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -DDOCTEST_CONFIG_DISABLE compactnesslib/geom.cpp -o compactnesslib/geom.o
compactnesslib/shapelib/dbfopen.cpp: In function 'int DBFWriteAttribute(DBFHandle, int, int, void*)':
compactnesslib/shapelib/dbfopen.cpp:1346:20: warning: 'char* strncpy(char*, const char*, size_t)' output may be truncated copying between 0 and 399 bytes from a string of length 399 [-Wstringop-truncation]
1346 | strncpy((char ) (pabyRec+psDBF->panFieldOffset[iField]),
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1347 | szSField, strlen(szSField) );
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compactnesslib/shapelib/dbfopen.cpp:1328:20: warning: 'char strncpy(char*, const char*, size_t)' output may be truncated copying between 0 and 399 bytes from a string of length 399 [-Wstringop-truncation]
1328 | strncpy((char ) (pabyRec+psDBF->panFieldOffset[iField]),
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1329 | szSField, strlen(szSField) );
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compactnesslib/shapelib/dbfopen.cpp: In function 'int DBFAddNativeFieldType(DBFHandle, const char, char, int, int)':
compactnesslib/shapelib/dbfopen.cpp:879:16: warning: 'char* strncpy(char*, const char*, size_t)' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
879 | strncpy( pszFInfo, pszFieldName, strlen(pszFieldName));
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compactnesslib/shapelib/dbfopen.cpp:878:21: note: length computed here
878 | if( (int) strlen(pszFieldName) < 10 )
| ~~~~~~^~~~~~~~~~~~~~
compactnesslib/shapelib/dbfopen.cpp: In function 'int DBFGetFieldIndex(DBFHandle, const char*)':
compactnesslib/shapelib/dbfopen.cpp:1693:16: warning: 'char* strncpy(char*, const char*, size_t)' output may be truncated copying 11 bytes from a string of length 11 [-Wstringop-truncation]
1693 | strncpy(name2,name,11);
| ~~~~~~~^~~~~~~~~~~~~~~
compactnesslib/shapelib/dbfopen.cpp: In function 'int DBFAlterFieldDefn(DBFHandle, int, const char*, char, int, int)':
compactnesslib/shapelib/dbfopen.cpp:2065:16: warning: 'char* strncpy(char*, const char*, size_t)' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
2065 | strncpy( pszFInfo, pszFieldName, strlen(pszFieldName));
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compactnesslib/shapelib/dbfopen.cpp:2064:21: note: length computed here
2064 | if( (int) strlen(pszFieldName) < 10 )
| ~~~~~~^~~~~~~~~~~~~~
g++ -std=gnu++11 -c -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -I"C:/PROGRA
make: *** No rule to make target 'compactnesslib/compactengine.o', needed by 'mandeR.dll'. Stop.
ERROR: compilation failed for package 'mandeR' - removing 'C:/Users/creynol9/AppData/Local/R/win-library/4.3/mandeR'
Warning in install.packages :
installation of package ‘mander.tar.gz’ had non-zero exit status