Symbol `gtk_progress_bar_set_show_text` and `gdk_threads_add_idle` not found
I tried to run minecraft-launcher on Termux, but I ended up getting the following error:
I note that this box64 is based on
glibc and not on bionic from android.
@ptitSeb some missing gtk and gdk wrapped symbols in box64 I guess
Ok, I have added the 2 missing functions.
@ptitSeb, if it's not a secret, but how are new symbols added to box64?
@ptitSeb, if it's not a secret, but how are new symbols added to
box64?
It's not secret at all. I check the signature on the official doc and add the wrapping in the XXXX_private.h file (and int the .c if the function has a callback or some special needs).
There is an old blog entry there https://box86.org/2021/08/a-deep-dive-into-library-wrapping/ with some details.
@ptitSeb, if it's not a secret, but how are new symbols added to
box64?It's not secret at all. I check the signature on the official doc and add the wrapping in the
XXXX_private.hfile (and int the .c if the function has a callback or some special needs).There is an old blog entry there https://box86.org/2021/08/a-deep-dive-into-library-wrapping/ with some details.
Maybe you can make a tutorial on this? I found missing symbols are the most common problems which seem "easy" to solve. If it is possible to solve by ourselves and contribute to the project?
The requested functions have been wrapped and a guide on how to do wrapping has been created:
https://box86.org/2024/02/how-to-create-a-wrapping/
Closing as resolved.