RobLoach / node-raylib

Node.js bindings for Raylib
https://robloach.github.io/node-raylib/
Other
256 stars 20 forks source link

Build fails on windows 64 bit #97

Open Ifelsethendo opened 3 years ago

Ifelsethendo commented 3 years ago

npm ERR! code 1 npm ERR! path C:\cygwin64\myexample\node_modules\raylib npm ERR! command failed npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c cmake-js compile npm ERR! [ npm ERR! 'C:\Program Files\nodejs\node.exe', npm ERR! 'C:\cygwin64\myexample\node_modules\cmake-js\bin\cmake-js', npm ERR! 'compile' npm ERR! ] npm ERR! ERR! OMG There is no Visual C++ compiler installed. Install Visual C++ Build Toolset or Visual Studio. npm ERR! ERR! OMG There is no Visual C++ compiler installed. Install Visual C++ Build Toolset or Visual Studio.


I have 30 gigabytes of Visual Studio and C++ tools installed...

RobLoach commented 2 years ago

Is this still borked? There's a new thing in here to try downloading the latest builds from releases.

konsumer commented 2 years ago

I don't have a windows box around to test, but this should be resolved.

twuky commented 2 years ago

the new prebuilt files should help most windows users. but it would still be helpful probably to double check we have the right documentation for people who want to build manually. if i remember right, to manually build on windows MSVC2019 is needed + cmake. it'd probably be most helpful to have direct links to the pages to get them for windows in the contributing section of the readme