1
General / Building SFML 2.0 on Mac OS X Lion
« on: August 19, 2011, 06:15:28 pm »
Hello,
I encounter the same problem with the same configuration, update from SL and move to Xcode4.1. I use SFML 1.6 before but the Template of SFML 1.6 and XCode4.1 doesn't fit, and some bug using SFML 1.6 template genrate with Xcode 3 and reopen with Xcode4 (when I add File Xcode crash).
so it makes me move to the 2.0
I didn't try a shell/make style install. I prepare xcode project file with c make. I leave standard option in C make setting.
I open the SFML.project generate by Cmake with x code 4.1
as target i choose "install" and run :
the same freetype probleme
I go back on CMAKE
I put i386 x86_64 in CMAKE_OSX_ARCHITECTURES
as you advice
it answer :
CMAKE_OSX_ARCHITECTURES is not empty.
You're on your own : I won't change your settings.
Configuring done
then I generate anyway ( I belive in fairy tale)
And on Xcode4 it still doesn't work. Do I need to get the Xcode Beta?
Thank you[/b]
I encounter the same problem with the same configuration, update from SL and move to Xcode4.1. I use SFML 1.6 before but the Template of SFML 1.6 and XCode4.1 doesn't fit, and some bug using SFML 1.6 template genrate with Xcode 3 and reopen with Xcode4 (when I add File Xcode crash).
so it makes me move to the 2.0
I didn't try a shell/make style install. I prepare xcode project file with c make. I leave standard option in C make setting.
I open the SFML.project generate by Cmake with x code 4.1
as target i choose "install" and run :
Code: [Select]
ld: warning: ignoring file /sw/lib/libfreetype.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
Undefined symbols for architecture i386:
"_FT_Set_Pixel_Sizes", referenced from:
sf::Font::SetCurrentSize(unsigned int) constin Font.o
"_FT_Load_Char", referenced from:
sf::Font::LoadGlyph(unsigned int, unsigned int, bool) constin Font.o
"_FT_Get_Glyph", referenced from:
sf::Font::LoadGlyph(unsigned int, unsigned int, bool) constin Font.o
"_FT_Outline_Embolden", referenced from:
sf::Font::LoadGlyph(unsigned int, unsigned int, bool) constin Font.o
"_FT_Glyph_To_Bitmap", referenced from:
sf::Font::LoadGlyph(unsigned int, unsigned int, bool) constin Font.o
"_FT_Bitmap_Embolden", referenced from:
sf::Font::LoadGlyph(unsigned int, unsigned int, bool) constin Font.o
"_FT_Done_Glyph", referenced from:
sf::Font::LoadGlyph(unsigned int, unsigned int, bool) constin Font.o
"_FT_Done_Face", referenced from:
sf::Font::Cleanup() in Font.o
"_FT_Done_FreeType", referenced from:
sf::Font::Cleanup() in Font.o
"_FT_Get_Char_Index", referenced from:
sf::Font::GetKerning(unsigned int, unsigned int, unsigned int) constin Font.o
"_FT_Get_Kerning", referenced from:
sf::Font::GetKerning(unsigned int, unsigned int, unsigned int) constin Font.o
"_FT_Init_FreeType", referenced from:
sf::Font::LoadFromStream(sf::InputStream&) in Font.o
sf::Font::LoadFromMemory(void const*, unsigned long)in Font.o
sf::Font::LoadFromFile(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in Font.o
"_FT_Open_Face", referenced from:
sf::Font::LoadFromStream(sf::InputStream&) in Font.o
"_FT_Select_Charmap", referenced from:
sf::Font::LoadFromStream(sf::InputStream&) in Font.o
sf::Font::LoadFromMemory(void const*, unsigned long)in Font.o
sf::Font::LoadFromFile(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in Font.o
"_FT_New_Memory_Face", referenced from:
sf::Font::LoadFromMemory(void const*, unsigned long)in Font.o
"_FT_New_Face", referenced from:
sf::Font::LoadFromFile(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in Font.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
the same freetype probleme
I go back on CMAKE
I put i386 x86_64 in CMAKE_OSX_ARCHITECTURES
as you advice
it answer :
CMAKE_OSX_ARCHITECTURES is not empty.
You're on your own : I won't change your settings.
Configuring done
then I generate anyway ( I belive in fairy tale)
And on Xcode4 it still doesn't work. Do I need to get the Xcode Beta?
Thank you[/b]