1
General / Compilation SFML 1.6 [GCC 4.6.0]
« on: May 11, 2011, 02:00:49 pm »
I feel so stupid now
Thanks a lot.
Thanks a lot.
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.
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