Comments (15)
can you try on latest master?
from abaddon.
Just tried it, I seem to be getting a different error now:
[ 100%] Linking CXX executable abaddon
/bin/ld: CMakeFiles/abaddon.dir/src/notifications/notifier_gio.cpp.o: in function ma_job_queue_cas(unsigned long long volatile*, unsigned long long, unsigned long long)': notifier_gio.cpp:(.text+0x56e8): undefined reference to
__sync_val_compare_and_swap_8'
/bin/ld: CMakeFiles/abaddon.dir/src/notifications/notifier_gio.cpp.o: in function ma_job_queue_post': notifier_gio.cpp:(.text+0x5964): undefined reference to
__atomic_load_8'
/bin/ld: notifier_gio.cpp:(.text+0x59a8): undefined reference to __atomic_load_8' /bin/ld: notifier_gio.cpp:(.text+0x5a3c): undefined reference to
__atomic_load_8'
/bin/ld: CMakeFiles/abaddon.dir/src/notifications/notifier_gio.cpp.o: in function ma_job_queue_next': notifier_gio.cpp:(.text+0x5d54): undefined reference to
__atomic_load_8'
/bin/ld: notifier_gio.cpp:(.text+0x5d78): undefined reference to __atomic_load_8' /bin/ld: CMakeFiles/abaddon.dir/src/notifications/notifier_gio.cpp.o:notifier_gio.cpp:(.text+0x5dbc): more undefined references to
__atomic_load_8' follow
/bin/ld: CMakeFiles/abaddon.dir/src/notifications/notifier_gio.cpp.o: in function ma_resource_manager_data_stream_set_absolute_cursor(ma_resource_manager_data_stream*, unsigned long long)': notifier_gio.cpp:(.text+0x68f10): undefined reference to
__atomic_exchange_8'
/bin/ld: CMakeFiles/abaddon.dir/src/notifications/notifier_gio.cpp.o: in function ma_resource_manager_data_stream_unmap(ma_resource_manager_data_stream*, unsigned long long)': notifier_gio.cpp:(.text+0x69fc4): undefined reference to
__atomic_load_8'
/bin/ld: CMakeFiles/abaddon.dir/src/notifications/notifier_gio.cpp.o: in function ma_resource_manager_data_stream_seek_to_pcm_frame': notifier_gio.cpp:(.text+0x6a564): undefined reference to
__atomic_load_8'
/bin/ld: CMakeFiles/abaddon.dir/src/notifications/notifier_gio.cpp.o: in function ma_resource_manager_data_stream_get_cursor_in_pcm_frames': notifier_gio.cpp:(.text+0x6a95c): undefined reference to
__atomic_load_8'
/bin/ld: CMakeFiles/abaddon.dir/src/notifications/notifier_gio.cpp.o: in function ma_node_set_state_time': notifier_gio.cpp:(.text+0x70d7c): undefined reference to
__atomic_exchange_8'
/bin/ld: CMakeFiles/abaddon.dir/src/notifications/notifier_gio.cpp.o: in function ma_node_get_state_time': notifier_gio.cpp:(.text+0x70e30): undefined reference to
__atomic_load_8'
/bin/ld: CMakeFiles/abaddon.dir/src/notifications/notifier_gio.cpp.o: in function ma_node_get_time': notifier_gio.cpp:(.text+0x7104c): undefined reference to
__atomic_load_8'
/bin/ld: CMakeFiles/abaddon.dir/src/notifications/notifier_gio.cpp.o: in function ma_node_set_time': notifier_gio.cpp:(.text+0x710e0): undefined reference to
__atomic_exchange_8'
/bin/ld: CMakeFiles/abaddon.dir/src/notifications/notifier_gio.cpp.o: in function ma_node_read_pcm_frames(void*, unsigned int, float*, unsigned int, unsigned int*, unsigned long long)': notifier_gio.cpp:(.text+0x71dbc): undefined reference to
__atomic_fetch_add_8'
/bin/ld: CMakeFiles/abaddon.dir/src/notifications/notifier_gio.cpp.o: in function ma_engine_node_process_pcm_frames__sound(void*, float const**, unsigned int*, float**, unsigned int*)': notifier_gio.cpp:(.text+0x75eec): undefined reference to
__atomic_load_8'
/bin/ld: notifier_gio.cpp:(.text+0x75f60): undefined reference to __atomic_exchange_8' /bin/ld: CMakeFiles/abaddon.dir/src/notifications/notifier_gio.cpp.o: in function
ma_sound_seek_to_pcm_frame':
notifier_gio.cpp:(.text+0x7bce8): undefined reference to __atomic_exchange_8' /bin/ld: subprojects/ixwebsocket/libixwebsocket.a(IXWebSocketTransport.cpp.o): in function
std::__atomic_base::operator++(int)':
IXWebSocketTransport.cpp:(.text._ZNSt13__atomic_baseIyEppEi[_ZNSt13__atomic_baseIyEppEi]+0x68): undefined reference to `__atomic_fetch_add_8'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/abaddon.dir/build.make:1500: abaddon] Error 1
make[1]: *** [CMakeFiles/Makefile2:119: CMakeFiles/abaddon.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
from abaddon.
whats your os/architecture?
from abaddon.
Void Linux PPC
from abaddon.
can you try linking with -latomic
? or by adding target_link_libraries(abaddon atomic)
around here
if that works i can try and write a proper fix in cmake
from abaddon.
Ok, I did the second one and now I get this:
/bin/ld: CMakeFiles/abaddon.dir/src/notifications/notifier_gio.cpp.o: in function ma_job_queue_cas(unsigned long long volatile*, unsigned long long, unsigned long long)': notifier_gio.cpp:(.text+0x56e8): undefined reference to
__sync_val_compare_and_swap_8'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/abaddon.dir/build.make:1500: abaddon] Error 1
make[1]: *** [CMakeFiles/Makefile2:119: CMakeFiles/abaddon.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
from abaddon.
so not much i can do myself about that error, but i talked to the maintainer of miniaudio and he might be able to fix that up soonish. ill leave a comment if that happens so you can test it out
from abaddon.
oh and silly me for forgetting to mention, but miniaudio is optional. you can compile with -DENABLE_NOTIFICATION_SOUNDS=OFF
and it should fix that at the price of losing notification sounds (unless ur notification server supports it anyways)
from abaddon.
miniaudio got an update. can you try doing git checkout 1ac2abc36e86623d386b489962d5190d387c042f
in subprojects/miniaudio with notification sounds enabled?
from abaddon.
It works! Thank you!
from abaddon.
It works! Thank you!
noice, ill update the submodule and mess around in cmake to try and get it to automatically link atomic. i dont think its really safe to just link it no matter what so ill probably ask you to test it out after i make those changes
from abaddon.
could you give the atomics
branch a try? it should work without any changes. im also curious about if miniaudio will even work on whatever device youre using๐น(assuming its quite old)
from abaddon.
Sure, I'll give it a try in a bit! Audio does work for me on the master branch, I can hear the pings. Also the machine in question is a 2004 PowerBook G4 so yeah it's quite old lol
from abaddon.
Just tried the atomics branch, it builds successfully
from abaddon.
ok perfecto fix is merged now
from abaddon.
Related Issues (20)
- Show current ping in VCs HOT 1
- Notifications HOT 7
- VC Leave/Join sounds
- Game activity detection support
- BUG: Token not fetched from INI file HOT 3
- libfmt version conflict causing the build to fail HOT 4
- ability to change your own and see other users pronouns HOT 1
- Silent message support HOT 2
- Token issue HOT 7
- Clang build crashes HOT 3
- Add rounded avatars HOT 1
- [Suggestion] Option to show only the channels of currently selected guild HOT 4
- Links colored black after PR #252 HOT 3
- No Audio at VC Move HOT 2
- Error while building (WINDOWS) HOT 8
- [remote-auth-ws] [error] Websocket error: Status: 0 Reason: Unable to connect to remote-auth-gateway.discord.gg on port 443, error: OpenSSL failed - error:0A000086:SSL routines::certificate verify failed HOT 2
- Install target does not install the main binary HOT 9
- Default folder for resources and css on macOS is really odd and no configure option available to set the right path HOT 5
- macOS needs a several fixes for subprojects: how to do that, technically? HOT 2
- URI handler opens links and pictures in MS Word HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from abaddon.