I cannot install the unigd v0.1.1 package in R v4.1.0 on my Windows11 laptop. Rtools40 is installed and on the PATH.
I get the following error:
r$> install.packages("unigd", dependencies = T)
...
/mingw32/bin/g++ -shared -s -static-libgcc -o unigd.dll tmp.def base_64.o compress.o cpp11.o draw_data.o page_store.o plot_history.o r_thread_posix.o r_thread_win32.o renderer_cairo.o renderer_json.o renderer_meta.o renderer_strings.o renderer_svg.o renderer_tikz.o renderers.o unigd.o unigd_dev.o unigd_external.o uuid.o -L../windows/harfbuzz-2.7.4/lib/i386 -lpng -lz -L../windows/cairo-1.16.0/lib/i386 -lcairo -lfreetype -lpixman-1 -lharfbuzz -lbz2 -liconv -lgdi32 -ltiff -ltiffxx -ljpeg -lzstd -lwebp -lsharpyuv -llzma -LC:/<MY_INSTALL_DIR>/R/R-41~1.0/bin/i386 -lR
C:/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lzstd
C:/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lwebp
C:/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lsharpyuv
C:/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -llzma
collect2.exe: error: ld returned 1 exit status
no DLL was created
ERROR: compilation failed for package 'unigd'
The package is required by httpgd v2.0.1 which is recommended to view R graphics in VScode.
Thanks for your help!
1