1
General discussions / SFML 2 for OS X comes true!
« on: December 25, 2010, 07:09:43 am »
Merry Christmas, Hiura; you've been making some great progress with the port! Keep up the good work.
My 32-bit OSX system choked on the current SVN commit; it looks like the precompiled sndfile library got built for 64-bits only. I was able to build from the SVN about a month ago on this system, so it's probably just a minor regression.
My 32-bit OSX system choked on the current SVN commit; it looks like the precompiled sndfile library got built for 64-bits only. I was able to build from the SVN about a month ago on this system, so it's probably just a minor regression.
Code: [Select]
[ 84%] Building CXX object src/SFML/Audio/CMakeFiles/sfml-audio.dir/SoundStream.cpp.o
Linking CXX shared library ../../../lib/libsfml-audio.dylib
ld: warning: in /Users/Laptop/Documents/sfml2/extlibs/libs-osx/Frameworks/sndfile.framework/sndfile, file was built for unsupported file format which is not the architecture being linked (x86_64)
Undefined symbols:
"_sf_open", referenced from:
sf::priv::SoundFile::OpenRead(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in SoundFile.cpp.o
sf::priv::SoundFile::OpenWrite(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, unsigned int)in SoundFile.cpp.o
"_sf_open_virtual", referenced from:
sf::priv::SoundFile::OpenRead(void const*, unsigned long)in SoundFile.cpp.o
"_sf_seek", referenced from:
sf::priv::SoundFile::Seek(float)in SoundFile.cpp.o
"_sf_write_short", referenced from:
sf::priv::SoundFile::Write(short const*, unsigned long)in SoundFile.cpp.o
"_sf_strerror", referenced from:
sf::priv::SoundFile::OpenRead(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in SoundFile.cpp.o
sf::priv::SoundFile::OpenWrite(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, unsigned int)in SoundFile.cpp.o
sf::priv::SoundFile::OpenRead(void const*, unsigned long)in SoundFile.cpp.o
"_sf_read_short", referenced from:
sf::priv::SoundFile::Read(short*, unsigned long)in SoundFile.cpp.o
"_sf_close", referenced from:
sf::priv::SoundFile::~SoundFile()in SoundFile.cpp.o
sf::priv::SoundFile::~SoundFile()in SoundFile.cpp.o
sf::priv::SoundFile::OpenRead(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in SoundFile.cpp.o
sf::priv::SoundFile::OpenWrite(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, unsigned int)in SoundFile.cpp.o
sf::priv::SoundFile::OpenRead(void const*, unsigned long)in SoundFile.cpp.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [lib/libsfml-audio.2.0.0.dylib] Error 1
make[1]: *** [src/SFML/Audio/CMakeFiles/sfml-audio.dir/all] Error 2
make: *** [all] Error 2