Skip to content

Make tries to build for x86_64 and library issues, Mac #386

Description

@M0chaCat

When using the prebuilt executable in the readme it calls for a few libraries not mentioned, one of which being libspdlog version 1.15, when 1.16 is the one brew automatically downloads and 1.15 is not even downloadable from brew anymore-

When building on mac it defaults to x86_64 even if on an arm cpu, causing make to fail:

...
"_opus_encoder_ctl", referenced from:
      AudioManager::AudioManager(Glib::ustring const&) in manager.cpp.o
      AudioManager::SetEncodingApplication(int) in manager.cpp.o
      AudioManager::SetEncodingApplication(int) in manager.cpp.o
      AudioManager::GetEncodingApplication() in manager.cpp.o
      AudioManager::SetSignalHint(int) in manager.cpp.o
      AudioManager::GetSignalHint() in manager.cpp.o
      AudioManager::SetBitrate(int) in manager.cpp.o
      ...
  "_opus_encoder_destroy", referenced from:
      AudioManager::SetEncodingApplication(int) in manager.cpp.o
  "_sodium_init", referenced from:
      DiscordVoiceClient::DiscordVoiceClient() in voiceclient.cpp.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]: *** [abaddon] Error 1
make[1]: *** [CMakeFiles/abaddon.dir/all] Error 2
make: *** [all] Error 2
┬─[mocha@mochas-MacBook-Pro:~/P/a/build]─[02:16:31]─[V:venv]─[G:master =]
│ 1	28149	stopped	git diff
╰─>$```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions