Skip to content
This repository has been archived by the owner on Mar 4, 2022. It is now read-only.

Undefined symbols for architecture x86_64 #13

Open
ghost opened this issue May 21, 2021 · 0 comments
Open

Undefined symbols for architecture x86_64 #13

ghost opened this issue May 21, 2021 · 0 comments

Comments

@ghost
Copy link

ghost commented May 21, 2021

Hello, I followed the guide for building on macOS (Big Sur 11.2.3) and I get this error:

[  5%] Building C object CMakeFiles/discord.dir/lib/libdiscord.c.o
[ 11%] Building C object CMakeFiles/discord.dir/lib/REST.c.o
[ 16%] Building C object CMakeFiles/discord.dir/lib/log.c.o
[ 22%] Building C object CMakeFiles/discord.dir/lib/json.c.o
[ 27%] Building C object CMakeFiles/discord.dir/lib/utils.c.o
[ 33%] Linking C shared library libdiscord.dylib
Undefined symbols for architecture x86_64:
  "_lws_extension_callback_pm_deflate", referenced from:
      _exts in libdiscord.c.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [libdiscord.0.3.0.dylib] Error 1
make[1]: *** [CMakeFiles/discord.dir/all] Error 2
make: *** [all] Error 2

Is there a solution for this problem?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants