+ 3
How to run sdl2 app from command line in cxxdroid app ?
I am using this command clang++ `sdl2-config --cflags --libs` -o main main.cpp test.cpp but it gives an error sdl2-config not found or inaccessible . What am i doing wrong here ? And if this isn't how sdl2 program is compiled then what command does cxxdroid app actually uses ? Fyi :sdl2 programs work fine on cxxdroid if you take a look at one of the sample programs. There is a test.h file as well.
2 Answers
+ 3
A.S. but cxxdroid app is able to run the sdl2 programs and i can do it as well but i don't want to mix all the header and implementation file in just the main one. And i am pretty sure that for those people who can't buy a pc ,mobile based solution will be perfect!
+ 1
I dont think its possible to run sdl in android u can use codeblock or Visual studio code for pc