gmapR install failed
1
0
Entering edit mode
conbward • 0
@user-24131
Last seen 2.5 years ago
United States

I am trying to install the gmapR package, but it is not working. Below is the error message



*** arch - i386
"C:/rtools40/mingw32/bin/"gcc  -I"C:/PROGRA~1/R/R-40~1.2/include" -DNDEBUG          -O2 -Wall  -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c R_init_gmapR.c -o R_init_gmapR.o
"C:/rtools40/mingw32/bin/"gcc  -I"C:/PROGRA~1/R/R-40~1.2/include" -DNDEBUG          -O2 -Wall  -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c bamreader.c -o bamreader.o
bamreader.c:2:10: fatal error: gstruct/bamread.h: No such file or directory
 #include <gstruct/bamread.h>
          ^~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [C:/PROGRA~1/R/R-40~1.2/etc/i386/Makeconf:222: bamreader.o] Error 1
ERROR: compilation failed for package 'gmap


> sessionInfo()
R version 4.0.2 (2020-06-22)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 18363)
gmapR • 559 views
ADD COMMENT
0
Entering edit mode
@martin-morgan-1513
Last seen 20 days ago
United States

gmapR is not available on Windows because it is very difficult (impossible?) to build on that platform. Your best bet is to use it on a supported platform, or perhaps through a docker image.

ADD COMMENT

Login before adding your answer.

Traffic: 322 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6