Hello all! Hope you can help!
I can seem to figure out why this error is being thrown, everything seems in place.
Long story short, I am attempting to develop a game with SDL/OpenGL and I needed a good GUI/Widgets Library. I found Agar (
http://libagar.org/index.html.en ), but I cant seem to get the header files to compile correctly.
Ive got many errors stating that something hasn't been declared ( Uint, Ulong, etc ).
First Error Line in variable.h -
error: ‘Uint’ has not been declared
:
extern DECLSPEC int AG_InitCore(const char *, Uint);
However, at the top of variable.h, there is
#include <agar/core/begin.h>
which has
#include <agar/core/types.h>
, which has:
1 2 3
|
#ifndef Uint
#define Uint unsigned int
#endif
|
So im not sure what the problem is :(.
Im using Codeblocks 13.12 on Linux Mint 17.3 Cinnamon 64-bit