Hi !
I'm trying to set up my own custom Android compilation of godot, and it results at least with following linker error:
1> obj\godot_android_Debug_ARM64\grid_map_editor_plugin.o: In function GridMapEditor::update_pallete()':
1> C:\Prototyping\user_interface_analysis\godot.git/modules\gridmap/grid_map_editor_plugin.cpp:648: undefined reference to _EDITOR_DEF(String const&, Variant const&)'
(I'm using my own Visual studio Android project, made by syncProj tool).
that function definition comes from editor\editor_settings.h(196):Variant _EDITOR_DEF(const String &p_var, const Variant &p_default);
editor_settings.h is included from modules\gridmap\grid_map_editor_plugin.cpp
I have tried to eliminate unused functions using instructions from here: https://stackoverflow.com/questions/6687630/how-to-remove-unused-c-c-symbols-with-gcc-and-ld
As this:
buildoptions("-ffunction-sections");
linkoptions("-Wl,--gc-sections");
but link error is still there.
Any ideas ?
Godot initial script (windows working, android not): https://drive.google.com/open?id=0B9oDi0MZfcs0a09fRWlvc0haWEE
syncProj changes:
https://sourceforge.net/p/syncproj/code/144/log/?path=
[r144] (HEAD) by tarmopikaro
Android: Feature: Allow to specify language("C/C++") per file basis. (cc: 81.88 %)
Android: Feature: Autoprobe programming language based on file extension (c => compile as C code, .cpp => compile as C++ code)
Tune: Update comments on kind
Cross posted one problem to Microsoft forum, and now also via Help > Send Feedback > Report a Problem...
https://social.msdn.microsoft.com/Forums/vstudio/en-US/2c9e1953-34ff-4d1c-be2f-a48d4ad543bd/android-versus-windows-projects-additional-include-directories-meaning-of-dot-current-folder?forum=vclanguage