Hi i just setup SDL2 for android on windows 7 with this guide - http://www.mosaicit.de/android-sdl-c-build-system-compiling . But the problem is that i would like to use SDL2_image and ttf but i don't know how to add them to this kind of project and i couldn't find anything on the subject elsewhere.
Compile error:
fatal error: SDL_image.h: No such file or
Main.cpp
#include <SDL_image.h>
You need to download and build SDL_image just like you did with SDL: https://www.libsdl.org/projects/SDL_image/
Here's a specific tutorial for SDL_image and Android: http://jorhlok.net/2013/07/31/from-nix-to-android-with-sdl2-and-sdl_image-using-the-command-line-of-course/
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.