Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - julebell27

Pages: [1]
1
Audio / Re: Help with running the package
« on: April 04, 2024, 12:23:13 am »
Thank you! I am now having this issue with NEON
AL lib: (EE) FillCPUCaps: Failed to open /proc/cpuinfo, cannot check for NEON support

I read online this happens when working with a mac, not sure how to fix it.

2
Audio / Re: Help with running the package
« on: March 26, 2024, 03:37:04 am »
Update: I fixed the library issue but now get this:

dyld[67335]: Library not loaded: @rpath/../Frameworks/vorbisenc.framework/Versions/A/vorbisenc
  Referenced from: <72F2B6C0-2DAE-371C-ADA3-32BBC32ADB2B> /Users/julebell/Downloads/SFML-2.6.1-macOS-clang-arm64/lib/libsfml-audio.2.6.1.dylib
  Reason: tried: '/Library/Frameworks/vorbisenc.framework/Versions/A/vorbisenc' (no such file), '/System/Library/Frameworks/vorbisenc.framework/Versions/A/vorbisenc' (no such file, not in dyld cache)
zsh: abort      ./sfml-app

3
Audio / Help with running the package
« on: March 26, 2024, 03:31:56 am »
I'm running the code off of my terminal on my new macbook w/m2 chip

#include <SFML/Audio.hpp>
int main() {
    sf::SoundBuffer buffer;
    if (!buffer.loadFromFile("/Users/julebell/Documents/CantinaBand60.wav")){
        return -1;
    }
    return 0;
}

I am running the following commands from the tutorial:

g++ -c main.cpp -I/Users/julebell/Downloads/SFML-2.6.1-macOS-clang-arm64/include

g++ main.o -o sfml-app -L/Users/julebell/Downloads/SFML-2.6.1-macOS-clang-arm64/lib -lsfml-audio -lsfml-window -lsfml-system

export LD_LIBRARY_PATH=/Users/julebell/Downloads/SFML-2.6.1-macOS-clang-arm64/lib && ./sfml-app

But keep getting this error:

dyld[66727]: Symbol not found: __ZN2sf11SoundBuffer12loadFromFileERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE
  Referenced from: <A1CF6C7D-6311-3AB7-BC67-EBB3F2F60BC7> /Users/julebell/24c-128/musical_trees/musical_trees_test/sfml-app
  Expected in:     <no uuid> unknown
zsh: abort      ./sfml-app

Pages: [1]