Unity-ImGUI-Android icon indicating copy to clipboard operation
Unity-ImGUI-Android copied to clipboard

updating and improving project

Open Slyrith opened this issue 1 year ago • 5 comments

same like other repository, i will update and improve the project

Slyrith avatar Feb 26 '23 14:02 Slyrith

do you know whats the reason of this

I build this by doing (done importing imgui and the dobby stuff)

cmake -Happ\src\main\cpp -Btmp -DANDROID_ABI=armeabi-v7a -DANDROID_PLATFORM=android-21 -DANDROID_NDK=D:\AndroidSDK\ndk\25.2.9519653 -DCMAKE_TOOLCHAIN_FILE=D:\AndroidSDK\ndk\25.2.9519653\build\cmake\android.toolchain.cmake -G Ninja -DCMAKE_MAKE_PROGRAM=D:\AndroidSDK\cmake\3.22.1\bin\ninja.exe -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_SYSTEM_NAME=Android -DCMAKE_SYSTEM_VERSION=21 -DANDROID_STL=c++_static

cd temp
cmake --build .

im having this errors

ld: error: relocation R_ARM_REL32 cannot be used against symbol 'vtable for std::__ndk1::basic_fstream<char, std::__ndk1::char_traits<char> >'; recompile with -fPIC

>>> defined in D:/../Unity-ImGUI-Android/src/libs/dobby/armeabi-v7a/libdobby.a(logging.cc.o)
>>> referenced by logging.cc
>>>               logging.cc.o:(std::__ndk1::basic_fstream<char, std::__ndk1::char_traits<char> >::~basic_fstream()) in archive D:/../Unity-ImGUI-Android/src/libs/dobby/armeabi-v7a/libdobby.a

TomieAi avatar Mar 19 '23 17:03 TomieAi

it seems like the dobby prebuilt is compiled with diffrent compile args, you can try import the entire dobby repo to project and link dobby_static in the cmake

BryanGIG avatar Mar 20 '23 01:03 BryanGIG

thank you xD its now working .. i hope someday you guys can make it compatible to bluestacks xD the input

TomieAi avatar Mar 20 '23 20:03 TomieAi

same like other repository, i will update and improve the project

Hi checkout my pull request, thanks 🙏

AKNoryx28 avatar Mar 21 '23 21:03 AKNoryx28

does this thing not touch the background of the frame? i mean when you touch the screen of imgui its also touch the background

jokerart06 avatar Apr 21 '23 01:04 jokerart06