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 - riddle

Pages: [1]
1
General / Compilation SFML 1.6 [GCC 4.6.0]
« on: May 11, 2011, 02:00:49 pm »
I feel so stupid now :D
Thanks a lot.

2
General / Compilation SFML 1.6 [GCC 4.6.0]
« on: May 11, 2011, 12:58:23 am »
Hi, I cant find fedora rpm package with sfml 1.6 so I decided to compile it on my own. I tried compile source code linked on sfml site but I got strange error. I didn't give up and I cloned git repository, switch to 1.6 branch.. and then.. get the same problem.

Code: [Select]
g++ -o PostFX.o -c PostFX.cpp -W -Wall -pedantic -I../../../include -I../../ -O2 -DNDEBUG -fPIC -I/usr/include/freetype2
In file included from ../../../include/SFML/System/Resource.hpp:211:0,
                 from ../../../include/SFML/Graphics/Image.hpp:31,
                 from ../../../include/SFML/Graphics/PostFX.hpp:32,
                 from PostFX.cpp:29:
../../../include/SFML/System/ResourcePtr.inl: In constructor ‘sf::ResourcePtr< <template-parameter-1-1> >::ResourcePtr()’:
../../../include/SFML/System/ResourcePtr.inl:31:12: error: ‘NULL’ was not declared in this scope
../../../include/SFML/System/ResourcePtr.inl: In member function ‘void sf::ResourcePtr< <template-parameter-1-1> >::OnResourceDestroyed()’:
../../../include/SFML/System/ResourcePtr.inl:148:18: error: ‘NULL’ was not declared in this scope


2.0 compile clean but I want to use 1.6 :(

32 bit, Fedora 15 Beta, GCC 4.6.0.
(it's not a problem of beta version of fedora, I found a bug report for ubuntu as well)

Any idea how to deal with it?

---
I've used gcc3.4, sfml compiled ;)
But this is not the way I want work.. Still need help.

Pages: [1]