Hi I have build Urho3d for android succesfully I tested the apk and everything works. If I want to make a seperate C++ based project using Urho3d and to build it for Android what would be the steps ?
I have added this for my CMake project.
[code]# Include Urho3D Cmake common module
include (Urho3D-CMake-common)
Find Urho3D library
find_package (Urho3D REQUIRED)
include_directories (${URHO3D_INCLUDE_DIRS})[/code]
After that I am doing cmake -DANDROID=1 … . But I am getting this:
CMake Error at CMake/Modules/Urho3D-CMake-common.cmake:722 (message):
Could not find SDL_android_main.c source file in the Urho3D build tree or
SDK installation. Please reconfigure and rebuild your Urho3D build tree;
or reinstall the SDK.
Call Stack (most recent call first):
CMakeLists.txt:58 (setup_main_executable)
Thanks in advance,
Alex