1
General / Problems with compiling!
« on: August 01, 2011, 11:02:43 pm »
Nothing? If there's anyone who use MAC OSX and works with this library please, contact me. Thanks!
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.
g++ -o Prova provaSuono.cpp -framework sfml-audio -framework sfml-system
Library not loaded: /System/Library/Frameworks/OpenAL.framework/Versions/A/OpenAL
Referenced from: /Library/Frameworks/sfml-audio.framework/Versions/A/sfml-audio
Reason: no suitable image found. Did find:
/System/Library/Frameworks/OpenAL.framework/Versions/A/OpenAL: no matching architecture in universal wrapper
/Library/Frameworks/OpenAL.framework/Versions/A/OpenAL: no matching architecture in universal wrapper
/System/Library/Frameworks/OpenAL.framework/Versions/A/OpenAL: no matching architecture in universal wrapper
Trace/BPT trap
dyld: Library not loaded: /System/Library/Frameworks/OpenAL.framework/Versions/A/OpenAL
Referenced from: /Library/Frameworks/sfml-audio.framework/Versions/A/sfml-audio
Reason: no suitable image found. Did find:
/System/Library/Frameworks/OpenAL.framework/Versions/A/OpenAL: no matching architecture in universal wrapper
/Library/Frameworks/OpenAL.framework/Versions/A/OpenAL: no matching architecture in universal wrapper
/System/Library/Frameworks/OpenAL.framework/Versions/A/OpenAL: no matching architecture in universal wrapper
Trace/BPT trap
warning: in /Library/Frameworks//sfml-audio.framework/sfml-audio, missing required architecture x86_64 in file
ld: warning: in /Library/Frameworks//sfml-system.framework/sfml-system, missing required architecture x86_64 in file
ndefined symbols:
"sf::SoundBuffer::SoundBuffer()", referenced from:
_main in ccX944dt.o
"sf::Sound::Sound(sf::SoundBuffer const&, bool, float, float, sf::Vector3<float> const&)", referenced from:
_main in ccX944dt.o
"sf::Sound::~Sound()", referenced from:
_main in ccX944dt.o
_main in ccX944dt.o
"sf::SoundBuffer::LoadFromFile(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)", referenced from:
_main in ccX944dt.o
"sf::Sound::Play()", referenced from:
_main in ccX944dt.o
"sf::Sound::GetStatus() const", referenced from:
_main in ccX944dt.o
"sf::SoundBuffer::GetSampleRate() const", referenced from:
_main in ccX944dt.o
"sf::SoundBuffer::~SoundBuffer()", referenced from:
_main in ccX944dt.o
_main in ccX944dt.o
"sf::SoundBuffer::GetChannelsCount() const", referenced from:
_main in ccX944dt.o
"sf::SoundBuffer::GetDuration() const", referenced from:
_main in ccX944dt.o
"sf::Sound::GetPlayingOffset() const", referenced from:
_main in ccX944dt.o
"sf::Sleep(float)", referenced from:
_main in ccX944dt.o
ld: symbol(s) not found
collect2: ld returned 1 exit status