1
General / Problems with compiling!
« on: July 21, 2011, 11:33:41 pm »
Hello everybody, i tried to install sfml library and when I compile my program i get these warnings:
and these errors:
(The program is the audio example of the library)
Please Help
Code: [Select]
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
and these errors:
Code: [Select]
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
(The program is the audio example of the library)
Please Help