Ubuntu: I’ve now build the SFML 2.0 binaries.
'Debug' is working now!
But 'release' still with Problems:
/usr/local/lib/libsfml-graphics-s.a(Font.cpp.o)||In function `sf::Font::setCurrentSize(unsigned int) const':|
Font.cpp|| undefined reference to `FT_Set_Pixel_Sizes'|
/usr/local/lib/libsfml-graphics-s.a(Font.cpp.o)||In function `sf::Font::getLineSpacing(unsigned int) const':|
Font.cpp|| undefined reference to `FT_Set_Pixel_Sizes'|
/usr/local/lib/libsfml-graphics-s.a(Font.cpp.o)||In function `sf::Font::getKerning(unsigned int, unsigned int, unsigned int) const':|
Font.cpp|| undefined reference to `FT_Set_Pixel_Sizes'|
Font.cpp|| undefined reference to `FT_Get_Char_Index'|
Font.cpp|| undefined reference to `FT_Get_Char_Index'|
Font.cpp|| undefined reference to `FT_Get_Kerning'|
/usr/local/lib/libsfml-graphics-s.a(Font.cpp.o)||In function `sf::Font::cleanup()':|
Font.cpp|| undefined reference to `FT_Done_Face'|
Font.cpp|| undefined reference to `FT_Done_FreeType'|
/usr/local/lib/libsfml-graphics-s.a(Font.cpp.o)||In function `sf::Font::~Font()':|
Font.cpp|| undefined reference to `FT_Done_Face'|
Font.cpp|| undefined reference to `FT_Done_FreeType'|
/usr/local/lib/libsfml-graphics-s.a(Font.cpp.o)||In function `sf::Font::loadFromStream(sf::InputStream&)':|
Font.cpp|| undefined reference to `FT_Init_FreeType'|
Font.cpp|| undefined reference to `FT_Open_Face'|
Font.cpp|| undefined reference to `FT_Select_Charmap'|
Font.cpp|| undefined reference to `FT_Done_Face'|
Font.cpp|| undefined reference to `FT_Done_FreeType'|
/usr/local/lib/libsfml-graphics-s.a(Font.cpp.o)||In function `sf::Font::loadFromMemory(void const*, unsigned int)':|
Font.cpp|| undefined reference to `FT_Init_FreeType'|
Font.cpp|| undefined reference to `FT_New_Memory_Face'|
Font.cpp|| undefined reference to `FT_Select_Charmap'|
Font.cpp|| undefined reference to `FT_Done_Face'|
Font.cpp|| undefined reference to `FT_Done_FreeType'|
/usr/local/lib/libsfml-graphics-s.a(Font.cpp.o)||In function `sf::Font::loadFromFile(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':|
Font.cpp|| undefined reference to `FT_Init_FreeType'|
Font.cpp|| undefined reference to `FT_New_Face'|
Font.cpp|| undefined reference to `FT_Select_Charmap'|
Font.cpp|| undefined reference to `FT_Done_Face'|
Font.cpp|| undefined reference to `FT_Done_FreeType'|
/usr/local/lib/libsfml-graphics-s.a(Font.cpp.o)||In function `sf::Font::~Font()':|
Font.cpp|| undefined reference to `FT_Done_Face'|
Font.cpp|| undefined reference to `FT_Done_FreeType'|
/usr/local/lib/libsfml-graphics-s.a(Font.cpp.o)||In function `sf::Font::loadGlyph(unsigned int, unsigned int, bool) const':|
Font.cpp|| undefined reference to `FT_Set_Pixel_Sizes'|
Font.cpp|| undefined reference to `FT_Load_Char'|
Font.cpp|| undefined reference to `FT_Get_Glyph'|
Font.cpp|| undefined reference to `FT_Glyph_To_Bitmap'|
Font.cpp|| undefined reference to `FT_Bitmap_Embolden'|
Font.cpp|| undefined reference to `FT_Glyph_To_Bitmap'|
Font.cpp|| undefined reference to `FT_Done_Glyph'|
Font.cpp|| undefined reference to `FT_Outline_Embolden'|
Font.cpp|| undefined reference to `FT_Glyph_To_Bitmap'|
/usr/local/lib/libsfml-graphics-s.a(Font.cpp.o)||In function `sf::Font::getDefaultFont()':|
Font.cpp|| undefined reference to `FT_Init_FreeType'|
Font.cpp|| undefined reference to `FT_New_Memory_Face'|
Font.cpp|| undefined reference to `FT_Select_Charmap'|
Font.cpp|| undefined reference to `FT_Done_Face'|
Font.cpp|| undefined reference to `FT_Done_FreeType'|
/usr/local/lib/libsfml-graphics-s.a(ImageLoader.cpp.o)||In function `sf::priv::ImageLoader::writeJpg(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<unsigned char, std::allocator<unsigned char> > const&, unsigned int, unsigned int)':|
ImageLoader.cpp|| undefined reference to `jpeg_std_error'|
ImageLoader.cpp|| undefined reference to `jpeg_CreateCompress'|
ImageLoader.cpp|| undefined reference to `jpeg_stdio_dest'|
ImageLoader.cpp|| undefined reference to `jpeg_set_defaults'|
ImageLoader.cpp|| undefined reference to `jpeg_set_quality'|
ImageLoader.cpp|| undefined reference to `jpeg_start_compress'|
ImageLoader.cpp|| undefined reference to `jpeg_write_scanlines'|
ImageLoader.cpp|| undefined reference to `jpeg_finish_compress'|
ImageLoader.cpp|| undefined reference to `jpeg_destroy_compress'|
||More errors follow but not being shown.|
||Edit the max errors limit in compiler options...|
||=== Build finished: 50 errors, 0 warnings (0 minutes, 1 seconds) ===|
PS:
Try without SFML_STATIC is SUCCESSFULL!
PSS:
I want to use SFML_STATIC in Release.
I need help, please:
undefined reference to `FT_Set_Pixel_Sizes' .. see above ..