Skip to content

Issue on installation of httpgd with Surface Pro 11 #225

@S-Koiso

Description

@S-Koiso

I try to install the package to enhance my MS VS code visualization but I got errors. How can I solve this problem?

Environment

  • OS: Windows 11 64ARM (Surface Pro 11)
  • R version: 4.5.1
> remotes::install_github("nx10/httpgd")
Downloading GitHub repo nx10/httpgd@HEAD
── R CMD build ───────────────────────────────────────────────────────────────────────────────
✔  checking for file 'C:\Users\xxx\AppData\Local\Temp\RtmpyGkGPX\remotes1af050131a9c\nx10-httpgd-dd6ed3a/DESCRIPTION' (342ms)
─  preparing 'httpgd': (1.5s)
✔  checking DESCRIPTION meta-information ... 
─  cleaning src
─  checking for LF line-endings in source and make files and shell scripts (460ms)
─  checking for empty or unneeded directories
─  building 'httpgd_2.0.4.tar.gz'   Warning: file 'httpgd/cleanup' did not have execute permissions: corrected
   Warning: file 'httpgd/configure' did not have execute permissions: corrected
   
Installing package into ‘C:/Users/xxx/AppData/Local/R/win-library/4.5’
(as ‘lib’ is unspecified)
* installing *source* package 'httpgd' ...
** this is package 'httpgd' version '2.0.4'
** using staged installation
** libs
using C++ compiler: 'G__~1.EXE (GCC) 14.2.0'
rm -f cpp11.o httpgd.o httpgd_rng.o httpgd_webserver.o unigd_impl.o
g++ -std=gnu++17  -I"C:/PROGRA~2/R/R-45~1.1/include" -DNDEBUG -Ilib -DFMT_HEADER_ONLY -DHTTPGD_DEBUG_DEVICE -I'C:/Users/xxx/AppData/Local/R/win-library/4.5/unigd/include' -I'C:/Users/xxx/AppData/Local/R/win-library/4.5/cpp11/include' -I'C:/Users/xxx/AppData/Local/R/win-library/4.5/AsioHeaders/include'   -I"C:/rtools45/x86_64-w64-mingw32.static.posix/include"      -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c cpp11.cpp -o cpp11.o
g++ -std=gnu++17  -I"C:/PROGRA~2/R/R-45~1.1/include" -DNDEBUG -Ilib -DFMT_HEADER_ONLY -DHTTPGD_DEBUG_DEVICE -I'C:/Users/xxx/AppData/Local/R/win-library/4.5/unigd/include' -I'C:/Users/xxx/AppData/Local/R/win-library/4.5/cpp11/include' -I'C:/Users/xxx/AppData/Local/R/win-library/4.5/AsioHeaders/include'   -I"C:/rtools45/x86_64-w64-mingw32.static.posix/include"      -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c httpgd.cpp -o httpgd.o
g++ -std=gnu++17  -I"C:/PROGRA~2/R/R-45~1.1/include" -DNDEBUG -Ilib -DFMT_HEADER_ONLY -DHTTPGD_DEBUG_DEVICE -I'C:/Users/xxx/AppData/Local/R/win-library/4.5/unigd/include' -I'C:/Users/xxx/AppData/Local/R/win-library/4.5/cpp11/include' -I'C:/Users/xxx/AppData/Local/R/win-library/4.5/AsioHeaders/include'   -I"C:/rtools45/x86_64-w64-mingw32.static.posix/include"      -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c httpgd_rng.cpp -o httpgd_rng.o
g++ -std=gnu++17  -I"C:/PROGRA~2/R/R-45~1.1/include" -DNDEBUG -Ilib -DFMT_HEADER_ONLY -DHTTPGD_DEBUG_DEVICE -I'C:/Users/xxx/AppData/Local/R/win-library/4.5/unigd/include' -I'C:/Users/xxx/AppData/Local/R/win-library/4.5/cpp11/include' -I'C:/Users/xxx/AppData/Local/R/win-library/4.5/AsioHeaders/include'   -I"C:/rtools45/x86_64-w64-mingw32.static.posix/include"      -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c httpgd_webserver.cpp -o httpgd_webserver.o
g++ -std=gnu++17  -I"C:/PROGRA~2/R/R-45~1.1/include" -DNDEBUG -Ilib -DFMT_HEADER_ONLY -DHTTPGD_DEBUG_DEVICE -I'C:/Users/xxx/AppData/Local/R/win-library/4.5/unigd/include' -I'C:/Users/xxx/AppData/Local/R/win-library/4.5/cpp11/include' -I'C:/Users/xxx/AppData/Local/R/win-library/4.5/AsioHeaders/include'   -I"C:/rtools45/x86_64-w64-mingw32.static.posix/include"      -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c unigd_impl.cpp -o unigd_impl.o
g++ -std=gnu++17 -shared -s -static-libgcc -o httpgd.dll tmp.def cpp11.o httpgd.o httpgd_rng.o httpgd_webserver.o unigd_impl.o -lmswsock -lwsock32 -lws2_32 -lbcrypt -LC:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64 -LC:/rtools45/x86_64-w64-mingw32.static.posix/lib -LC:/PROGRA~2/R/R-45~1.1/bin/x64 -lR
installing to C:/Users/xxx/AppData/Local/R/win-library/4.5/00LOCK-httpgd/00new/httpgd/libs/x64
** R
** inst
** byte-compile and prepare package for lazy loading
ERROR: lazy loading failed for package 'httpgd'
* removing 'C:/Users/xxx/AppData/Local/R/win-library/4.5/httpgd'
Warning message:
In i.p(...) :
  installation of package ‘C:/Users/xxx/AppData/Local/Temp/RtmpyGkGPX/file1af06ed52a8/httpgd_2.0.4.tar.gz’ had non-zero exit status

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions