Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

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.


Messages - Hachaso

Pages: [1]
1
General / Building SFML 2.0 on Mac OS X Lion
« on: August 09, 2011, 09:23:37 pm »
Well I upgraded to Lion and also I'm running XCode 4.
I have also tried to create build scripts using CMAKE, so that I can build with MAKE and command shell. That doesn't work either.

So if someone would have any detailed instructions of how to Build using Lion, either through command shell or XCode 4 that would be really helpful.

The version of XCode I'm using is 4.1.

2
General / Building SFML 2.0 on Mac OS X Lion
« on: August 09, 2011, 07:17:24 pm »
Hi!

I upgraded from Snow Leopard to Lion.
Strange that it doesn't work.

3
General / Building SFML 2.0 on Mac OS X Lion
« on: August 08, 2011, 08:57:57 pm »
I tried that but I get a message that configure does not exist. Can't find it anywhere.

4
General discussions / SFML 2 for OS X comes true!
« on: August 04, 2011, 09:15:19 pm »
That is correct:

I found the file now but it's a Alias file pointing at libfreetype.6.dylib at the same location you posted before.

Do you have any idea what my last error means ??

5
General discussions / SFML 2 for OS X comes true!
« on: August 04, 2011, 08:54:35 pm »
I can't seem to find any other libfreetype.dylib installed on my Mac OS X Lion.
Do I need to download it from somewhere ?

6
General discussions / SFML 2 for OS X comes true!
« on: August 04, 2011, 08:50:09 pm »
Thanks

Worked a little better know I get these errors when I Select OpenGL and Build

Code: [Select]


Ld BUILD/src/SFML/Graphics/SFML.build/Debug/sfml-graphics.build/Objects-normal/i386/libsfml-graphics-d.dylib normal i386
    cd /Users/brcal/programming/MacOSX/SFML-2.0
    setenv MACOSX_DEPLOYMENT_TARGET 10.7
    /Developer/usr/bin/llvm-g++-4.2 -arch i386 -dynamiclib -isysroot /Developer/SDKs/MacOSX10.7.sdk -L/Users/brcal/programming/MacOSX/SFML-2.0/BUILD/lib/Debug -F/Users/brcal/programming/MacOSX/SFML-2.0/BUILD/lib/Debug -filelist /Users/brcal/programming/MacOSX/SFML-2.0/BUILD/src/SFML/Graphics/SFML.build/Debug/sfml-graphics.build/Objects-normal/i386/sfml-graphics-d.LinkFileList -install_name /libsfml-graphics-d.dylib -mmacosx-version-min=10.7 -dynamiclib -Wl,-headerpad_max_install_names -install_name libsfml-graphics-d.dylib /Users/brcal/programming/MacOSX/SFML-2.0/BUILD/lib/Debug/libsfml-window-d.dylib /Users/brcal/programming/MacOSX/SFML-2.0/BUILD/lib/Debug/libsfml-system-d.dylib /opt/local/lib/libfreetype.dylib /Users/brcal/programming/MacOSX/SFML-2.0/extlibs/libs-osx/lib/libGLEW.a /Users/brcal/programming/MacOSX/SFML-2.0/extlibs/libs-osx/lib/libjpeg.a -framework OpenGL /usr/lib/libz.dylib -framework AGL -lpthread -framework Foundation -framework AppKit -framework IOKit -framework Carbon -single_module -compatibility_version 2.0.0 -current_version 2.0.0 -o /Users/brcal/programming/MacOSX/SFML-2.0/BUILD/src/SFML/Graphics/SFML.build/Debug/sfml-graphics.build/Objects-normal/i386/libsfml-graphics-d.dylib

Command /Developer/usr/bin/llvm-g++-4.2 failed with exit code 1

7
General discussions / SFML 2 for OS X comes true!
« on: August 04, 2011, 08:33:21 pm »
How can I build SFML 2.0 using XCode 4 ?

I get these errors:

Code: [Select]



ld: warning: ignoring file /opt/local/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




Code: [Select]

ld: warning: ignoring file /opt/local/lib/libfreetype.dylib, file was built for unsupported file format which is not the architecture being linked (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


8
General / Building SFML 2.0 on Mac OS X Lion
« on: August 04, 2011, 08:07:39 pm »
Hi

I'm having problems building SFML 2.0 on my MAC.
I have followed these intstructions.
http://www.sfml-dev.org/tutorials/2.0/compile-with-cmake.php

First I tried to build using XCode 4 but encountered the same problem.
Then I tried using MAKE instead but still got this error.

Does anyone know how to solve it ?



Code: [Select]

Linking CXX shared library ../../../lib/libsfml-graphics.dylib
ld: warning: ignoring file /opt/local/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.cpp.o
      sf::Font::GetLineSpacing(unsigned int) constin Font.cpp.o
      sf::Font::LoadGlyph(unsigned int, unsigned int, bool) constin Font.cpp.o
      sf::Font::GetKerning(unsigned int, unsigned int, unsigned int) constin Font.cpp.o
  "_FT_Load_Char", referenced from:
      sf::Font::LoadGlyph(unsigned int, unsigned int, bool) constin Font.cpp.o
  "_FT_Get_Glyph", referenced from:
      sf::Font::LoadGlyph(unsigned int, unsigned int, bool) constin Font.cpp.o
  "_FT_Outline_Embolden", referenced from:
      sf::Font::LoadGlyph(unsigned int, unsigned int, bool) constin Font.cpp.o
  "_FT_Glyph_To_Bitmap", referenced from:
      sf::Font::LoadGlyph(unsigned int, unsigned int, bool) constin Font.cpp.o
  "_FT_Bitmap_Embolden", referenced from:
      sf::Font::LoadGlyph(unsigned int, unsigned int, bool) constin Font.cpp.o
  "_FT_Done_Glyph", referenced from:
      sf::Font::LoadGlyph(unsigned int, unsigned int, bool) constin Font.cpp.o
  "_FT_Done_Face", referenced from:
      sf::Font::Cleanup()    in Font.cpp.o
  "_FT_Done_FreeType", referenced from:
      sf::Font::Cleanup()    in Font.cpp.o
  "_FT_Get_Char_Index", referenced from:
      sf::Font::GetKerning(unsigned int, unsigned int, unsigned int) constin Font.cpp.o
  "_FT_Get_Kerning", referenced from:
      sf::Font::GetKerning(unsigned int, unsigned int, unsigned int) constin Font.cpp.o
  "_FT_Init_FreeType", referenced from:
      sf::Font::LoadFromStream(sf::InputStream&)      in Font.cpp.o
      sf::Font::LoadFromMemory(void const*, unsigned long)in Font.cpp.o
      sf::Font::LoadFromFile(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in Font.cpp.o
  "_FT_Open_Face", referenced from:
      sf::Font::LoadFromStream(sf::InputStream&)      in Font.cpp.o
  "_FT_Select_Charmap", referenced from:
      sf::Font::LoadFromStream(sf::InputStream&)      in Font.cpp.o
      sf::Font::LoadFromMemory(void const*, unsigned long)in Font.cpp.o
      sf::Font::LoadFromFile(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in Font.cpp.o
  "_FT_New_Memory_Face", referenced from:
      sf::Font::LoadFromMemory(void const*, unsigned long)in Font.cpp.o
  "_FT_New_Face", referenced from:
      sf::Font::LoadFromFile(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in Font.cpp.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
lipo: can't open input file: /var/folders/dy/k6cwbqq57jb4vt69_0ypvvzh0000gn/T//cc0J3NCf.out (No such file or directory)
make[2]: *** [lib/libsfml-graphics.2.0.dylib] Error 1
make[1]: *** [src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/all] Error 2
make: *** [all] Error 2

Pages: [1]