Giter VIP home page Giter VIP logo

Comments (15)

ouwou avatar ouwou commented on June 12, 2024

can you try on latest master?

from abaddon.

ScarlettPPC avatar ScarlettPPC commented on June 12, 2024

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.

ouwou avatar ouwou commented on June 12, 2024

whats your os/architecture?

from abaddon.

ScarlettPPC avatar ScarlettPPC commented on June 12, 2024

Void Linux PPC

from abaddon.

ouwou avatar ouwou commented on June 12, 2024

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.

ScarlettPPC avatar ScarlettPPC commented on June 12, 2024

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.

ouwou avatar ouwou commented on June 12, 2024

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.

ouwou avatar ouwou commented on June 12, 2024

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.

ouwou avatar ouwou commented on June 12, 2024

miniaudio got an update. can you try doing git checkout 1ac2abc36e86623d386b489962d5190d387c042f in subprojects/miniaudio with notification sounds enabled?

from abaddon.

ScarlettPPC avatar ScarlettPPC commented on June 12, 2024

It works! Thank you!

from abaddon.

ouwou avatar ouwou commented on June 12, 2024

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.

ouwou avatar ouwou commented on June 12, 2024

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.

ScarlettPPC avatar ScarlettPPC commented on June 12, 2024

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.

ScarlettPPC avatar ScarlettPPC commented on June 12, 2024

Just tried the atomics branch, it builds successfully

from abaddon.

ouwou avatar ouwou commented on June 12, 2024

ok perfecto fix is merged now

from abaddon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.