1

我一直在尝试将我的 raylib 游戏编译到网络上(按照本教程https://github.com/raysan5/raylib/wiki/Working-for-Web-(HTML5)),我被困在这部分:

Before compiling raylib, make sure all paths to emscripten (EMSDK_PATH) and tools are correctly configured on
 C:/raylib/raylib/src/Makefile, you must verify these lines.

To compile raylib source code, just execute Notepad++ script: raylib_makefile and SET PLATFORM=PLATFORM_WEB.
 To do this, start up Notepad++ for raylib, open the raylib.h file, press F6, choose raylib_makefile, verify that
 in the script SET PLATFORM=PLATFORM_WEB, then click OK to run the script. That script just calls the following make
 line (in case you're are working on a custom environment):

make PLATFORM=PLATFORM_WEB -B

当我在 notepad++ 中打开 C:\raylib\raylib\src\raylib.h 并按 F6 时没有任何反应,当我尝试PLATFORM=PLATFORM_WEB -B在 powershell 中调用 make 时它说

the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ make PLATFORM=PLATFORM_WEB -B
+ ~~~~
    + CategoryInfo          : ObjectNotFound: (make:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

请帮忙

4

0 回答 0