caiohamamura / rGEDIsimulator

4 stars 1 forks source link

ERROR: compilation failed for package 'rGEDIsimulator' #4

Open zlifufu opened 1 month ago

zlifufu commented 1 month ago

########################################################################### When install the package, I meet the following error, could you please help me to solve it ?

It seems that need to manually install and configure the system libraries, gls and pkg-config?

Can this be resolved by installing the unsplit rGEDI 040 version? But I can't find rGEDI version 040.

Another student had the same problem with installing the GEDI simulator package. ##########################################################################

devtools::install_github("caiohamamura/Rgedisimulator", dependencies = TRUE) Downloading GitHub repo caiohamamura/Rgedisimulator@HEAD ── R CMD build ─────────────────────────────────────────────────────────────────────────────────────────────────────── ✔ checking for file 'C:\Users\lifufu\AppData\Local\Temp\Rtmp65Hvfx\remotes7e947d54cc5\caiohamamura-rGEDIsimulator-086e354/DESCRIPTION' ... ─ preparing 'rGEDIsimulator': ✔ checking DESCRIPTION meta-information ... ─ cleaning src ─ checking for LF line-endings in source and make files and shell scripts ─ checking for empty or unneeded directories Omitted 'LazyData' from DESCRIPTION ─ building 'rGEDIsimulator_0.2.1.tar.gz' Warning: file 'rGEDIsimulator/cleanup' did not have execute permissions: corrected Warning: file 'rGEDIsimulator/configure' did not have execute permissions: corrected Warning: file 'rGEDIsimulator/src/gedisimulator/configure' did not have execute permissions: corrected

** libs using C compiler: 'gcc.exe (GCC) 12.2.0' using C++ compiler: 'G__~1.EXE (GCC) 12.2.0' cp -r /x86_64-w64-mingw32.static.posix/bin/../share/gdal ../inst/ cp -r /x86_64-w64-mingw32.static.posix/bin/../share/proj ../inst/ gcc -I"C:/PROGRA~1/R/R-43~1.0/include" -DNDEBUG -I./tools -I./cmpfit-1.2 -I./libclidar -I. -DCURL_STATICLIB -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -DDLLEXPORT -D_USE_MATH_DEFINES -D_WIN32 -DWIN32 -DH5_BUILT_AS_DYNAMIC_LIB -DDLL_EXPORTS -DUSEPHOTON -DCURL_STATICLIB -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c gediMetrics.c -o gediMetrics.o gcc -I"C:/PROGRA~1/R/R-43~1.0/include" -DNDEBUG -I./tools -I./cmpfit-1.2 -I./libclidar -I. -DCURL_STATICLIB -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -DDLLEXPORT -D_USE_MATH_DEFINES -D_WIN32 -DWIN32 -DH5_BUILT_AS_DYNAMIC_LIB -DDLL_EXPORTS -DUSEPHOTON -DCURL_STATICLIB -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c gediSimulator.c -o gediSimulator.o In file included from gediSimulator.c:12: gedisimulator/gediRat.c: In function 'checkWaveOverwrite': gedisimulator/gediRat.c:207:32: warning: '%s' directive writing up to 999 bytes into a region of size 400 [-Wformat-overflow=] 207 | sprintf(dimage->waveNamen,"%s.%s.wave",dimage->outNamen,dimage->gediRat.waveIDlist[numb]); | ^~ gedisimulator/gediRat.c:207:5: note: 'sprintf' output 7 or more bytes (assuming 1006) into a destination of size 400 207 | sprintf(dimage->waveNamen,"%s.%s.wave",dimage->outNamen,dimage->gediRat.waveIDlist[numb]); | ^~~~~~~~~~~~~~~~~~~~~ gedisimulator/gediRat.c:205:32: warning: '%s' directive writing up to 999 bytes into a region of size 400 [-Wformat-overflow=] 205 | sprintf(dimage->waveNamen,"%s.%d.%d.wave",dimage->outNamen,(int)dimage->gediRat.coord[0],(int)dimage->gediRat.coord[1]); | ^~ gedisimulator/gediRat.c:205:5: note: 'sprintf' output between 10 and 1029 bytes into a destination of size 400 205 | sprintf(dimage->waveNamen,"%s.%d.%d.wave",dimage->outNamen,(int)dimage->gediRat.coord[0],(int)dimage->gediRat.coord[1]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I"C:/PROGRA~1/R/R-43~1.0/include" -DNDEBUG -I./tools -I./cmpfit-1.2 -I./libclidar -I. -DCURL_STATICLIB -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -DDLLEXPORT -D_USE_MATH_DEFINES -D_WIN32 -DWIN32 -DH5_BUILT_AS_DYNAMIC_LIB -DDLL_EXPORTS -DUSEPHOTON -DCURL_STATICLIB -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c argParse.c -o argParse.o gcc -I"C:/PROGRA~1/R/R-43~1.0/include" -DNDEBUG -I./tools -I./cmpfit-1.2 -I./libclidar -I. -DCURL_STATICLIB -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -DDLLEXPORT -D_USE_MATH_DEFINES -D_WIN32 -DWIN32 -DH5_BUILT_AS_DYNAMIC_LIB -DDLL_EXPORTS -DUSEPHOTON -DCURL_STATICLIB -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c functionWrappers.c -o functionWrappers.o gcc -I"C:/PROGRA~1/R/R-43~1.0/include" -DNDEBUG -I./tools -I./cmpfit-1.2 -I./libclidar -I. -DCURL_STATICLIB -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -DDLLEXPORT -D_USE_MATH_DEFINES -D_WIN32 -DWIN32 -DH5_BUILT_AS_DYNAMIC_LIB -DDLL_EXPORTS -DUSEPHOTON -DCURL_STATICLIB -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c registerDynamicSymbol.c -o registerDynamicSymbol.o gcc -I"C:/PROGRA~1/R/R-43~1.0/include" -DNDEBUG -I./tools -I./cmpfit-1.2 -I./libclidar -I. -DCURL_STATICLIB -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -DDLLEXPORT -D_USE_MATH_DEFINES -D_WIN32 -DWIN32 -DH5_BUILT_AS_DYNAMIC_LIB -DDLL_EXPORTS -DUSEPHOTON -DCURL_STATICLIB -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c tools/tools.c -o tools/tools.o ar crs libtools.a tools/tools.o gcc -I"C:/PROGRA~1/R/R-43~1.0/include" -DNDEBUG -I./tools -I./cmpfit-1.2 -I./libclidar -I. -DCURL_STATICLIB -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -DDLLEXPORT -D_USE_MATH_DEFINES -D_WIN32 -DWIN32 -DH5_BUILT_AS_DYNAMIC_LIB -DDLL_EXPORTS -DUSEPHOTON -DCURL_STATICLIB -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c libclidar/libLasProcess.c -o libclidar/libLasProcess.o libclidar/libLasProcess.c: In function 'processWave': libclidar/libLasProcess.c:56:9: warning: unused variable 'status' [-Wunused-variable] 56 | float status = 0; | ^~ gcc -I"C:/PROGRA~1/R/R-43~1.0/include" -DNDEBUG -I./tools -I./cmpfit-1.2 -I./libclidar -I. -DCURL_STATICLIB -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -DDLLEXPORT -D_USE_MATH_DEFINES -D_WIN32 -DWIN32 -DH5_BUILT_AS_DYNAMIC_LIB -DDLL_EXPORTS -DUSEPHOTON -DCURL_STATICLIB -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c libclidar/libLasRead.c -o libclidar/libLasRead.o gcc -I"C:/PROGRA~1/R/R-43~1.0/include" -DNDEBUG -I./tools -I./cmpfit-1.2 -I./libclidar -I. -DCURL_STATICLIB -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -DDLLEXPORT -D_USE_MATH_DEFINES -D_WIN32 -DWIN32 -DH5_BUILT_AS_DYNAMIC_LIB -DDLL_EXPORTS -DUSEPHOTON -DCURL_STATICLIB -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c libclidar/gaussFit.c -o libclidar/gaussFit.o gcc -I"C:/PROGRA~1/R/R-43~1.0/include" -DNDEBUG -I./tools -I./cmpfit-1.2 -I./libclidar -I. -DCURL_STATICLIB -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -DDLLEXPORT -D_USE_MATH_DEFINES -D_WIN32 -DWIN32 -DH5_BUILT_AS_DYNAMIC_LIB -DDLL_EXPORTS -DUSEPHOTON -DCURL_STATICLIB -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c libclidar/libLidVoxel.c -o libclidar/libLidVoxel.o gcc -I"C:/PROGRA~1/R/R-43~1.0/include" -DNDEBUG -I./tools -I./cmpfit-1.2 -I./libclidar -I. -DCURL_STATICLIB -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -DDLLEXPORT -D_USE_MATH_DEFINES -D_WIN32 -DWIN32 -DH5_BUILT_AS_DYNAMIC_LIB -DDLL_EXPORTS -DUSEPHOTON -DCURL_STATICLIB -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c libclidar/libTLSread.c -o libclidar/libTLSread.o gcc -I"C:/PROGRA~1/R/R-43~1.0/include" -DNDEBUG -I./tools -I./cmpfit-1.2 -I./libclidar -I. -DCURL_STATICLIB -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -DDLLEXPORT -D_USE_MATH_DEFINES -D_WIN32 -DWIN32 -DH5_BUILT_AS_DYNAMIC_LIB -DDLL_EXPORTS -DUSEPHOTON -DCURL_STATICLIB -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c libclidar/libLidarHDF.c -o libclidar/libLidarHDF.o libclidar/libLidarHDF.c: In function 'readLVIShdf': libclidar/libLidarHDF.c:410:23: warning: '%d' directive writing between 1 and 11 bytes into a region of size 7 [-Wformat-overflow=] 410 | sprintf(varName,"LAT%d",lvis->nBins-1); | ^~ libclidar/libLidarHDF.c:410:19: note: directive argument in the range [-2147483648, 2147483646] 410 | sprintf(varName,"LAT%d",lvis->nBins-1); | ^~~ libclidar/libLidarHDF.c:410:3: note: 'sprintf' output between 5 and 15 bytes into a destination of size 10 410 | sprintf(varName,"LAT%d",lvis->nBins-1); | ^~~~~~~~~~ libclidar/libLidarHDF.c:413:23: warning: '%d' directive writing between 1 and 11 bytes into a region of size 7 [-Wformat-overflow=] 413 | sprintf(varName,"LON%d",lvis->nBins-1); | ^~ libclidar/libLidarHDF.c:413:19: note: directive argument in the range [-2147483648, 2147483646] 413 | sprintf(varName,"LON%d",lvis->nBins-1); | ^~~ libclidar/libLidarHDF.c:413:3: note: 'sprintf' output between 5 and 15 bytes into a destination of size 10 413 | sprintf(varName,"LON%d",lvis->nBins-1); | ^~~~~~~~~~ libclidar/libLidarHDF.c:416:21: warning: '%d' directive writing between 1 and 11 bytes into a region of size 9 [-Wformat-overflow=] 416 | sprintf(varName,"Z%d",lvis->nBins-1); | ^~ libclidar/libLidarHDF.c:416:19: note: directive argument in the range [-2147483648, 2147483646] 416 | sprintf(varName,"Z%d",lvis->nBins-1); | ^~~~~ libclidar/libLidarHDF.c:416:3: note: 'sprintf' output between 3 and 13 bytes into a destination of size 10 416 | sprintf(varName,"Z%d",lvis->nBins-1); | ^~~~~~~~ gcc -I"C:/PROGRA~1/R/R-43~1.0/include" -DNDEBUG -I./tools -I./cmpfit-1.2 -I./libclidar -I. -DCURL_STATICLIB -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -DDLLEXPORT -D_USE_MATH_DEFINES -D_WIN32 -DWIN32 -DH5_BUILT_AS_DYNAMIC_LIB -DDLL_EXPORTS -DUSEPHOTON -DCURL_STATICLIB -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c libclidar/libOctree.c -o libclidar/libOctree.o ar crs libclidar.a libclidar/libLasProcess.o libclidar/libLasRead.o libclidar/gaussFit.o libclidar/libLidVoxel.o libclidar/libTLSread.o libclidar/libLidarHDF.o libclidar/libOctree.o gcc -I"C:/PROGRA~1/R/R-43~1.0/include" -DNDEBUG -I./tools -I./cmpfit-1.2 -I./libclidar -I. -DCURL_STATICLIB -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -DDLLEXPORT -D_USE_MATH_DEFINES -D_WIN32 -DWIN32 -DH5_BUILT_AS_DYNAMIC_LIB -DDLL_EXPORTS -DUSEPHOTON -DCURL_STATICLIB -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c cmpfit-1.2/mpfit.c -o cmpfit-1.2/mpfit.o cmpfit-1.2/mpfit.c: In function 'mpfit': cmpfit-1.2/mpfit.c:278:20: warning: variable 'qanypegged' set but not used [-Wunused-but-set-variable] 278 | int qanylim = 0, qanypegged = 0; | ^~~~~~ ar crs libcmpfit.a cmpfit-1.2/mpfit.o gcc -I"C:/PROGRA~1/R/R-43~1.0/include" -DNDEBUG -I./tools -I./cmpfit-1.2 -I./libclidar -I. -DCURL_STATICLIB -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -DDLLEXPORT -D_USE_MATH_DEFINES -D_WIN32 -DWIN32 -DH5_BUILT_AS_DYNAMIC_LIB -DDLL_EXPORTS -DUSEPHOTON -DCURL_STATICLIB -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c gedisimulator/gediIO.c -o gedisimulator/gediIO.o gedisimulator/gediIO.c: In function 'setGediGrid': gedisimulator/gediIO.c:2996:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2996 | if(gediRat->coords==NULL) | ^~ gedisimulator/gediIO.c:2998:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2998 | setRatBounds(gediRat); | ^~~~ gcc -I"C:/PROGRA~1/R/R-43~1.0/include" -DNDEBUG -I./tools -I./cmpfit-1.2 -I./libclidar -I. -DCURL_STATICLIB -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -DDLLEXPORT -D_USE_MATH_DEFINES -D_WIN32 -DWIN32 -DH5_BUILT_AS_DYNAMIC_LIB -DDLL_EXPORTS -DUSEPHOTON -DCURL_STATICLIB -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c gedisimulator/photonCount.c -o gedisimulator/photonCount.o gcc -I"C:/PROGRA~1/R/R-43~1.0/include" -DNDEBUG -I./tools -I./cmpfit-1.2 -I./libclidar -I. -DCURL_STATICLIB -I"C:/rtools43/x86_64-w64-mingw32.static.posix/include" -DDLLEXPORT -D_USE_MATH_DEFINES -D_WIN32 -DWIN32 -DH5_BUILT_AS_DYNAMIC_LIB -DDLL_EXPORTS -DUSEPHOTON -DCURL_STATICLIB -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c gedisimulator/gediNoise.c -o gedisimulator/gediNoise.o ar crs libgedisimulator.a gedisimulator/gediIO.o gedisimulator/photonCount.o gedisimulator/gediNoise.o make: pkg-config: No such file or directory make: pkg-config: No such file or directory make: pkg-config: No such file or directory make: pkg-config: No such file or directory make: pkg-config: No such file or directory make: pkg-config: No such file or directory make: pkg-config: No such file or directory make: pkg-config: No such file or directory g++ -std=gnu++17 -shared -s -static-libgcc -o rGEDIsimulator.dll tmp.def gediMetrics.o gediSimulator.o argParse.o functionWrappers.o registerDynamicSymbol.o -L. -lclidar -ltools -lgedisimulator -lcmpfit -lhdf5 -LC:/rtools43/x86_64-w64-mingw32.static.posix/lib/x64 -LC:/rtools43/x86_64-w64-mingw32.static.posix/lib -LC:/PROGRA~1/R/R-43~1.0/bin/x64 -lR C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: ./libclidar.a(libLasProcess.o):libLasProcess.:(.text+0x19a6): undefined reference to gsl_fft_complex_radix2_forward' C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: ./libclidar.a(libLasProcess.o):libLasProcess.:(.text+0x1ae4): undefined reference togsl_fft_complex_radix2_forward' C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: ./libclidar.a(libLasProcess.o):libLasProcess.:(.text+0x1b44): undefined reference to gsl_fft_complex_radix2_backward' C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: ./libclidar.a(libLasProcess.o):libLasProcess.:(.text+0x1bb6): undefined reference togsl_fft_complex_radix2_forward' C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: ./libclidar.a(libLasProcess.o):libLasProcess.:(.text+0x1c19): undefined reference to gsl_fft_complex_radix2_backward' C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: ./libclidar.a(libLasProcess.o):libLasProcess.:(.text+0x1d43): undefined reference togsl_fft_complex_radix2_forward' C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: ./libclidar.a(libLasProcess.o):libLasProcess.:(.text+0x1d55): undefined reference to gsl_fft_complex_radix2_backward' C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: ./libclidar.a(libLasProcess.o):libLasProcess.:(.text+0x1d67): undefined reference togsl_fft_complex_radix2_forward' C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: ./libclidar.a(libLasProcess.o):libLasProcess.:(.text+0x1d79): undefined reference to gsl_fft_complex_radix2_backward' C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: ./libclidar.a(libLasProcess.o):libLasProcess.:(.text+0x1e3c): undefined reference togsl_fft_complex_radix2_forward' C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: ./libclidar.a(libLasProcess.o):libLasProcess.:(.text+0x1f91): undefined reference to gsl_fft_complex_radix2_forward' C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: ./libclidar.a(libLasProcess.o):libLasProcess.:(.text+0x1ffe): undefined reference togsl_fft_complex_radix2_backward' C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: ./libclidar.a(libLasProcess.o):libLasProcess.:(.text+0x215d): undefined reference to gsl_fft_complex_radix2_forward' C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: ./libclidar.a(libLasProcess.o):libLasProcess.:(.text+0x216f): undefined reference togsl_fft_complex_radix2_backward' C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: ./libgedisimulator.a(gediIO.o):gediIO.c:(.text+0x1e01): undefined reference to OSRNewSpatialReference' C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: ./libgedisimulator.a(gediIO.o):gediIO.c:(.text+0x1e0b): undefined reference toOSRNewSpatialReference' C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: ./libgedisimulator.a(gediIO.o):gediIO.c:(.text+0x1e1b): undefined reference to OSRImportFromEPSG' C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: ./libgedisimulator.a(gediIO.o):gediIO.c:(.text+0x1e25): undefined reference toOSRImportFromEPSG' C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: ./libgedisimulator.a(gediIO.o):gediIO.c:(.text+0x1e30): undefined reference to OCTNewCoordinateTransformation' C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: ./libgedisimulator.a(gediIO.o):gediIO.c:(.text+0x1e4d): undefined reference toOCTTransform' C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: ./libgedisimulator.a(gediIO.o):gediIO.c:(.text+0x1e55): undefined reference to OCTDestroyCoordinateTransformation' C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: ./libgedisimulator.a(gediIO.o):gediIO.c:(.text+0x1e5d): undefined reference toOSRDestroySpatialReference' C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: ./libgedisimulator.a(gediIO.o):gediIO.c:(.text+0x1e65): undefined reference to OSRDestroySpatialReference' C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: ./libgedisimulator.a(gediIO.o):gediIO.c:(.text+0x3345): undefined reference toGDALVersionInfo' C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: ./libgedisimulator.a(gediIO.o):gediIO.c:(.text+0x34cb): undefined reference to OSRNewSpatialReference' C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: ./libgedisimulator.a(gediIO.o):gediIO.c:(.text+0x34d5): undefined reference toOSRNewSpatialReference' C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: ./libgedisimulator.a(gediIO.o):gediIO.c:(.text+0x34e3): undefined reference to OSRImportFromEPSG' C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: ./libgedisimulator.a(gediIO.o):gediIO.c:(.text+0x34ed): undefined reference toOSRImportFromEPSG' C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: ./libgedisimulator.a(gediIO.o):gediIO.c:(.text+0x34f8): undefined reference to OCTNewCoordinateTransformation' C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: ./libgedisimulator.a(gediIO.o):gediIO.c:(.text+0x3513): undefined reference toOCTTransform' C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: ./libgedisimulator.a(gediIO.o):gediIO.c:(.text+0x351b): undefined reference to OCTDestroyCoordinateTransformation' C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: ./libgedisimulator.a(gediIO.o):gediIO.c:(.text+0x3523): undefined reference toOSRDestroySpatialReference' C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: ./libgedisimulator.a(gediIO.o):gediIO.c:(.text+0x352b): undefined reference to OSRDestroySpatialReference' C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: ./libgedisimulator.a(gediIO.o):gediIO.c:(.text+0x7541): undefined reference togsl_fft_complex_radix2_forward' C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: ./libgedisimulator.a(photonCount.o):photonCount.c:(.text+0xaaf): undefined reference to gsl_fft_complex_radix2_forward' C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: ./libgedisimulator.a(photonCount.o):photonCount.c:(.text+0xabf): undefined reference togsl_fft_complex_radix2_forward' C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: ./libgedisimulator.a(photonCount.o):photonCount.c:(.text+0xb4f): undefined reference to gsl_fft_complex_radix2_backward' C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: ./libgedisimulator.a(gediNoise.o):gediNoise.c:(.text+0xa99): undefined reference togsl_cdf_gaussian_P' C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: ./libgedisimulator.a(gediNoise.o):gediNoise.c:(.text+0xb09): undefined reference to gsl_cdf_gaussian_P' C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: ./libgedisimulator.a(gediNoise.o):gediNoise.c:(.text+0xc16): undefined reference togsl_cdf_gaussian_P' C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: ./libgedisimulator.a(gediNoise.o):gediNoise.c:(.text+0x133b): undefined reference to gsl_cdf_gaussian_P' C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: C:/rtools43/x86_64-w64-mingw32.static.posix/lib/libhdf5.a(H5Z.c.obj):H5Z.c:(.text+0x78e): undefined reference toSZ_encoder_enabled' C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: C:/rtools43/x86_64-w64-mingw32.static.posix/lib/libhdf5.a(H5Zdeflate.c.obj):H5Zdeflate.c:(.text+0x14c): undefined reference to compress2' C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: C:/rtools43/x86_64-w64-mingw32.static.posix/lib/libhdf5.a(H5Zdeflate.c.obj):H5Zdeflate.c:(.text+0x272): undefined reference toinflateInit_' C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: C:/rtools43/x86_64-w64-mingw32.static.posix/lib/libhdf5.a(H5Zdeflate.c.obj):H5Zdeflate.c:(.text+0x29d): undefined reference to inflate' C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: C:/rtools43/x86_64-w64-mingw32.static.posix/lib/libhdf5.a(H5Zdeflate.c.obj):H5Zdeflate.c:(.text+0x2d4): undefined reference toinflateEnd' C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: C:/rtools43/x86_64-w64-mingw32.static.posix/lib/libhdf5.a(H5Zdeflate.c.obj):H5Zdeflate.c:(.text+0x30c): undefined reference to inflateEnd' C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: C:/rtools43/x86_64-w64-mingw32.static.posix/lib/libhdf5.a(H5Zdeflate.c.obj):H5Zdeflate.c:(.text+0x646): undefined reference toinflateEnd' C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: C:/rtools43/x86_64-w64-mingw32.static.posix/lib/libhdf5.a(H5Zszip.c.obj):H5Zszip.c:(.text+0xee): undefined reference to SZ_BufftoBuffDecompress' C:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: C:/rtools43/x86_64-w64-mingw32.static.posix/lib/libhdf5.a(H5Zszip.c.obj):H5Zszip.c:(.text+0x1b9): undefined reference toSZ_BufftoBuffCompress' collect2.exe: error: ld returned 1 exit status no DLL was created ERROR: compilation failed for package 'rGEDIsimulator'