yourWaifu / sleepy-discord

C++ library for the Discord chat client. Please use Rust for new bots
https://yourWaifu.github.io/sleepy-discord/
MIT License
708 stars 93 forks source link

A lot of 'undefined reference to ...' #236

Closed crptmem closed 3 years ago

crptmem commented 3 years ago

Hello, i'm trying to build my bot but i'm getting a lot of 'undefined reference to ...' Here's the screenshot: image Building with command g++ source.cpp -I/usr/local/include/opus/

yourWaifu commented 3 years ago

It's pretty hard to build complex programs by manually entering the compiler command. As such, the library requires the use of the build tool CMake. Please read the docs for more info. https://yourwaifu.dev/sleepy-discord/docs/