sz3 / cfc

Demo/test android app for libcimbar. Copy files over the cell phone camera!
https://cimbar.org
MIT License
503 stars 61 forks source link

build in windows libcfc-cpp.so not found #35

Open wdragondragon opened 1 month ago

wdragondragon commented 1 month ago

I tried to compile it under the windows platform, and he appeared dlopen failed: library "libcfc-cpp.so" not found

work in cmake 3.16.3 ndk 22.1.7171670 build tool 33.0.3

sz3 commented 1 month ago

You could try switching to this branch to see if it helps: https://github.com/sz3/cfc/tree/v061g

wdragondragon commented 1 month ago

You could try switching to this branch to see if it helps: https://github.com/sz3/cfc/tree/v061g

He gave me a new problem, The compilation of gradle is correct

exception stack:

image

sz3 commented 1 month ago

Circling back to this:

It looks like libc++_shared.so is missing. I'm not sure why that would be -- I think it should come with the android NDK, and get dumped into the apk?

Anyway, that C++ runtime needs to end up in the apk, or nothing will run.