b1naryth1ef / dscord

Discord Library for D
http://b1naryth1ef.github.io/dscord/
zlib License
51 stars 15 forks source link

Issue Building Examples on Ubuntu 17.10 #29

Closed Moogly closed 5 years ago

Moogly commented 6 years ago

I can't seem to build it I run the following in the terminal:

moogly@ubuntu-G501JW:~/Projects/D/dscord/examples$ dub build
Performing "debug" build using dmd for x86_64.
opus 0.0.3: target for configuration "opus-dynamic" is up to date.
dcad 0.0.10: target for configuration "library" is up to date.
shaker 0.0.8: target for configuration "shaker-static-x64" is up to date.
vibe-d:utils 0.8.2: target for configuration "library" is up to date.
vibe-d:data 0.8.2: target for configuration "library" is up to date.
vibe-d:core 0.8.2: target for configuration "libevent" is up to date.
diet-ng 1.4.4: target for configuration "library" is up to date.
vibe-d:crypto 0.8.2: target for configuration "library" is up to date.
vibe-d:stream 0.8.2: target for configuration "library" is up to date.
vibe-d:textfilter 0.8.2: target for configuration "library" is up to date.
vibe-d:inet 0.8.2: target for configuration "library" is up to date.
vibe-d:tls 0.8.2: target for configuration "openssl" is up to date.
vibe-d:http 0.8.2: target for configuration "library" is up to date.
dscord 0.0.11+commit.3.g4e0e7d3: target for configuration "dscord-linux-static-x64" is up to date.
dscord-examples ~master: building configuration "dscord-examples-linux-static-x64"...
CommandConfig(["ping"]) onPing
CommandConfig(["embed"])    onEmbed
CommandConfig(["clear"])    onClearMessages
CommandConfig(["sound"])    onSound
CommandConfig(["whereami"]) onWhereAmI
CommandConfig(["spam"]) spam
Linking...
../.dub/build/dscord-linux-static-x64-debug-linux.posix-x86_64-dmd_2077-F0065E64D3BA6D9BB1C73023B9C7B8F3/libdscord.a(client_424d_455.o): In function `_D6dscord5voice6client11VoiceClient9runPlayerMFZv':
/home/moogly/Projects/D/dscord/src/dscord/voice/client.d:348: undefined reference to `crypto_secretbox_easy'
collect2: error: ld returned 1 exit status
Error: linker exited with status 1
dmd failed with exit code 1.
Moogly commented 6 years ago

I also couldn't compile Jeff got the same error.

b1naryth1ef commented 5 years ago

Should work properly on the latest beta (v1.0.0-beta.1).