May be "-s USE_SDL_TTF=2"? четверг, 30 марта 2023 г. в 08:09:38 UTC+3, paulk...@gmail.com:
> Hi all, > > I am trying to compile an SDL2 project using on the command line using > emcc. In the my makefile I have the following lines: > > debug: > emcc $(wildcard src/*.cpp) \ > -sUSE_SDL=2 > -o ./out/build/x64-debug \ > -lSDL2 \ > -lSDL2_image \ > -lSDL2_ttf \ > -lSDL2_mixer > > emcc =02 *.o -o paultris.js ./out/build/x64-debug > > when I type make I get the following error: > > [image: Capture.PNG] > > I don't why it is unable to find the header file as I have specifically > told cmake to use lSDL2_ttf. Is there anything else that I need to include > in the makefile? > > Regards, > Paul King > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-discuss+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/e6c8f611-3020-4057-a24c-c611e94269dbn%40googlegroups.com.