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

Pages: [1]
1
General / Building C::B 8.02 + mingw = 'NULL' not declared
« on: October 06, 2011, 10:22:53 am »
ah, ok ;]
i'm still kinda new to all this ;]

2
General / Building C::B 8.02 + mingw = 'NULL' not declared
« on: October 06, 2011, 09:56:22 am »
i have this error while trying to build the lib itself
i haven't yet got to the point of using SFML in my own project

downloaded the "full sdk 1.6 for windows and codeblocks / mingw" .zip from the website
then unzipped it, and went to the build directory
from there i opened each .cbp project file one by one and build the Release Static_win32 target
window built fine
system too
main too
(so i got 3 libs in SFML\lib\mingw\ (lib***.a))
but got this problem while building the graphics lib

correct me if i'm wrong
i thought i have to build all the libs before i can use SFML
i want to use static linking (no dll)

3
General / Building C::B 8.02 + mingw = 'NULL' not declared
« on: October 06, 2011, 09:26:16 am »
hi Laurent, thanks for the fast respons
now, i'm not sure where exactly i should include cstddef

i tryied two things:

1) in a dirty way defined NULL 0 in the ResourcePtr.inl
2) in the same directory in Resource.hpp added #include <cstddef> before the line where Resource.inl and ResourcePtr.inl are included

both lead to the same result
d:\toolz\codeblocks8\mingw\bin\..\lib\gcc\mingw32\4.6.1\..\..\..\..\include\wchar.h|105|error: 'size_t' has not been declared|
 :?

4
General / Building C::B 8.02 + mingw = 'NULL' not declared
« on: October 06, 2011, 08:52:22 am »
hello

while building the sfml-graphics lib (release static_win32)
got this error in: include\SFML\System\ResourcePtr.inl

i suppose NULL should have a value of 0
can i just #define NULL 0
or is it too dirty?

Pages: [1]