Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dlib_open can't load dynamic library under macos #164

Open
cnsitk opened this issue Dec 5, 2024 · 1 comment
Open

dlib_open can't load dynamic library under macos #164

cnsitk opened this issue Dec 5, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@cnsitk
Copy link

cnsitk commented Dec 5, 2024

line 29-24 in osbs/unix/dlib.c :
#if defined(__LINUX__) static const char_t *i_LIB_PREFIX = "lib"; static const char_t *i_LIB_SUFIX = ".so"; #elif defined(__MACOS__) static const char_t *i_LIB_PREFIX = "lib"; static const char_t *i_LIB_SUFIX = ".so"; #else #error Unknown platform #endif
static const char_t *i_LIB_SUFIX = ".so"; this line may be need change to static const char_t *i_LIB_SUFIX = ".dylib";

the nappgui_src version:
commit 50887ca (grafted, HEAD -> main, origin/main, origin/HEAD)

@frang75 frang75 self-assigned this Dec 6, 2024
@frang75 frang75 added the bug Something isn't working label Dec 6, 2024
@frang75
Copy link
Owner

frang75 commented Dec 6, 2024

Hi @cnsitk! Thank you very much for reporting.
The issue has been fixed in this commit: 393f098

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants