BoomingTech / Piccolo

Piccolo (formerly Pilot) – mini game engine for games104
MIT License
5.69k stars 1.79k forks source link

运行build_windows.bat时报错找不到系统文件 #473

Open Zhengmingzzz opened 6 months ago

Zhengmingzzz commented 6 months ago

CMake Error at CMakeLists.txt:3 (project): Running

'nmake' '-?'

failed with:

系统找不到指定的文件。

CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage -- Configuring incomplete, errors occurred! 系统找不到指定的文件。 CMake Error: Generator: execution of make failed. Make command was: nmake -f Makefile /nologo

yam4863245 commented 5 months ago

因為nmake不在Path中,將這個路徑加入Path C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\bin\Hostx64\x64

hongyesuifeng commented 5 days ago

因為nmake不在Path中,將這個路徑加入Path C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\bin\Hostx64\x64

把这个路径加入到Path还是不行,是需要安装nmake吗?