Entering edit mode
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)