Greetings all,
I have just downloaded waffles.
I'm working on Ubuntu 11.10 (oneiric) and I have all the necessary dependency packages (g++, make, libpng12-dev).
I did sudo make install on src folder, and everything went right until I got compilation errors on GRand.h:
GRand.h: 60:2: error: 'size_t' does not name a type
GRand.h: 118:34: error: 'size_t' has not been declared
(...)
make: *** Error 2
Can anyone tell me why this is happening and how can I solve this?
Thanks in advance
JD
Anonymous
You seem to have CSS turned off. Please don't fill out this field.
This issue appeared with g++ 4.6 (and was first reported in the forum thread dated 2011-10-09). Possible work-arounds include:
1- Get the latest code from our Subversion repository (see http://waffles.sou rceforge.net/tutorial/subversion.html), or
2- Manually add "#include <sys types.h="">" to GRand.h, GRegion.h, GText.h, and add "#include <cstddef>" to GPriorityQueue.h.</cstddef></sys>
I'm still developing on Natty which uses g++ 4.5.2, but I'll be sure to upgrade to g++ 4.6 before I release the next version of Waffles.
A new version of Waffles was just released to fix this issue.
Greetings all,
I have just downloaded waffles.
I'm working on Ubuntu 11.10 (oneiric) and I have all the necessary dependency
packages (g++, make, libpng12-dev).
I did sudo make install on src folder, and everything went right until I got
compilation errors on GRand.h:
GRand.h: 60:2: error: 'size_t' does not name a type
GRand.h: 118:34: error: 'size_t' has not been declared
(...)
make: *** Error 2
Can anyone tell me why this is happening and how can I solve this?
Thanks in advance
JD
This issue appeared with g++ 4.6 (and was first reported in the forum thread
dated 2011-10-09). Possible work-arounds include:
1- Get the latest code from our Subversion repository (see http://waffles.sou
rceforge.net/tutorial/subversion.html), or
2- Manually add "#include <sys types.h="">" to GRand.h, GRegion.h, GText.h, and
add "#include <cstddef>" to GPriorityQueue.h.</cstddef></sys>
I'm still developing on Natty which uses g++ 4.5.2, but I'll be sure to
upgrade to g++ 4.6 before I release the next version of Waffles.
A new version of Waffles was just released to fix this issue.