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/374404a8-c619-4e0a-85db-4d3fa6477eban%40googlegroups.com.

Reply via email to