an error occurred while installing rGEDI
zhengxy79 opened this issue · 4 comments
Hi, I have been trying to download the rGEDI package but have been getting the same error every time:
D:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: ../windows/hdf5-1.8.16/lib-4.9.3/x64/libhdf5.a(H5.c.obj):H5.c:(.text+0x13): undefined reference to
__imp___iob_func' D:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: ../windows/hdf5-1.8.16/lib-4.9.3/x64/libhdf5.a(H5.c.obj):H5.c:(.text+0x5fc): undefined reference to
__imp___iob_func'
D:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: ../windows/hdf5-1.8.16/lib-4.9.3/x64/libhdf5.a(H5.c.obj):H5.c:(.text+0x1329): undefined reference to__imp___iob_func' D:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: ../windows/hdf5-1.8.16/lib-4.9.3/x64/libhdf5.a(H5.c.obj):H5.c:(.text+0x13fa): undefined reference to
__imp___iob_func'
D:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: ../windows/hdf5-1.8.16/lib-4.9.3/x64/libhdf5.a(H5.c.obj):H5.c:(.text+0x1463): undefined reference to__imp___iob_func' D:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: ../windows/hdf5-1.8.16/lib-4.9.3/x64/libhdf5.a(H5Eint.c.obj):H5Eint.c:(.text+0x224): more undefined references to
__imp___iob_func' follow
collect2.exe: error: ld returned 1 exit status
no DLL was created
ERROR: compilation failed for package 'rGEDI'
- removing 'D:/Program Files/R/R-4.3.1/library/rGEDI'
Warning in install. Packages :
安装程序包‘C:/Users/Administrator/AppData/Local/Temp/RtmpycG5CA/downloaded_packages/rGEDI_0.1.11.tar.gz’时退出狀態的值不是0
How are you trying to install it? Your rGEDI version is 0.1.11, but we are at 0.4.0
It still not works when I use rGEDI v 0.4.0.
D:\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' D:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: ./libgedisimulator.a(photonCount.o):photonCount.c:(.text+0xabf): undefined reference to
gsl_fft_complex_radix2_forward'
D:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: ./libgedisimulator.a(photonCount.o):photonCount.c:(.text+0xb4f): undefined reference togsl_fft_complex_radix2_backward' D:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: ./libgedisimulator.a(gediNoise.o):gediNoise.c:(.text+0xa99): undefined reference to
gsl_cdf_gaussian_P'
D:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: ./libgedisimulator.a(gediNoise.o):gediNoise.c:(.text+0xb09): undefined reference togsl_cdf_gaussian_P' D:\rtools43\x86_64-w64-mingw32.static.posix\bin/ld.exe: ./libgedisimulator.a(gediNoise.o):gediNoise.c:(.text+0xc16): undefined reference to
gsl_cdf_gaussian_P'
D:\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'
collect2.exe: error: ld returned 1 exit status
no DLL was created
ERROR: compilation failed for package 'rGEDI'
- removing 'D:/Program Files/R/R-4.3.1/library/rGEDI'
Warning in install.packages :
安装程序包‘C:/Users/Administrator/Downloads/Compressed/rGEDI_0.4.0.tar.gz’时退出狀態的值不是0
Please try again, I've update Makevars.ucrt. How are you installing it again?
It is done! Thanks for your help!