So I've tried several different
SConstruct files and each and every one of them had a problem at some point. I can compile for Linux (my OS is Ubuntu LTS 18.04) but not for Android.
Here is my tree view.
My project has merely started, there's nothing fancy yet. There should be a simple way to make it compile successfully. Please help. What
SConstruct would you have me use?
$ scons platform=android generate_bindings=yes use_custom_api_file=yes -j4
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
g++ -o src/GDLibrary.os -c -fPIC -I. -Igodot-cpp/godot_headers -Igodot-cpp/include -Igodot-cpp/include/core -Igodot-cpp/include/gen -Isrc src/GDLibrary.cpp
g++ -o demo/bin/libhexworld.so -shared src/GDLibrary.os -Lgodot-cpp/bin -lgodot-cpp.debug.64
/usr/bin/ld: cannot find -lgodot-cpp.debug.64
collect2: error: ld returned 1 exit status
scons: *** [demo/bin/libhexworld.so] Error 1
scons: building terminated because of errors.