Hi, I have downloaded the sources and followed the Readme.txt. I first went to compile the "kodilib" and I got an error with make. I am running Xubuntu 11.10
Here it is:
kiki_the_nanobot/kodilib/linux$ make
g++ -c -I ../src/handler -I ../src/tools -I ../src/types -I ../src/widgets -I ../src/windows -I /usr/X11/include -I /usr/include/SDL -D_REENTRANT -o ../src/handler/KEventHandler.o ../src/handler/KEventHandler.cpp
In file included from ../src/handler/KPickHandler.h:9:0,
from ../src/handler/KEventHandler.h:30,
from ../src/handler/KEventHandler.cpp:6:
../src/handler/KPickable.h: In member function ‘virtual int KPickable::getMinId()’:
../src/handler/KPickable.h:46:43: error: ‘INT_MAX’ was not declared in this scope
../src/handler/KPickable.h: In member function ‘virtual int KPickable::getMaxId()’:
../src/handler/KPickable.h:47:43: error: ‘INT_MAX’ was not declared in this scope
make: *** [../src/handler/KEventHandler.o] Error 1
I have all the needed SDL development software installed... I have no idea what I could have done wrong.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, I have downloaded the sources and followed the Readme.txt. I first went to compile the "kodilib" and I got an error with make. I am running Xubuntu 11.10
Here it is:
kiki_the_nanobot/kodilib/linux$ make
g++ -c -I ../src/handler -I ../src/tools -I ../src/types -I ../src/widgets -I ../src/windows -I /usr/X11/include -I /usr/include/SDL -D_REENTRANT -o ../src/handler/KEventHandler.o ../src/handler/KEventHandler.cpp
In file included from ../src/handler/KPickHandler.h:9:0,
from ../src/handler/KEventHandler.h:30,
from ../src/handler/KEventHandler.cpp:6:
../src/handler/KPickable.h: In member function ‘virtual int KPickable::getMinId()’:
../src/handler/KPickable.h:46:43: error: ‘INT_MAX’ was not declared in this scope
../src/handler/KPickable.h: In member function ‘virtual int KPickable::getMaxId()’:
../src/handler/KPickable.h:47:43: error: ‘INT_MAX’ was not declared in this scope
make: *** ../src/handler/KEventHandler.o Error 1
I have all the needed SDL development software installed... I have no idea what I could have done wrong.
Hi, I have downloaded the sources and followed the Readme.txt. I first went to compile the "kodilib" and I got an error with make. I am running Xubuntu 11.10
Here it is:
kiki_the_nanobot/kodilib/linux$ make
g++ -c -I ../src/handler -I ../src/tools -I ../src/types -I ../src/widgets -I ../src/windows -I /usr/X11/include -I /usr/include/SDL -D_REENTRANT -o ../src/handler/KEventHandler.o ../src/handler/KEventHandler.cpp
In file included from ../src/handler/KPickHandler.h:9:0,
from ../src/handler/KEventHandler.h:30,
from ../src/handler/KEventHandler.cpp:6:
../src/handler/KPickable.h: In member function ‘virtual int KPickable::getMinId()’:
../src/handler/KPickable.h:46:43: error: ‘INT_MAX’ was not declared in this scope
../src/handler/KPickable.h: In member function ‘virtual int KPickable::getMaxId()’:
../src/handler/KPickable.h:47:43: error: ‘INT_MAX’ was not declared in this scope
make: *** [../src/handler/KEventHandler.o] Error 1
I have all the needed SDL development software installed... I have no idea what I could have done wrong.
Hello,
try including limits.h somewhere.
Otherwise search the internets or your headers to find where those are defined on your system.
You might also check on wikipedia what is missing:
https://en.wikipedia.org/wiki/C_data_types
good luck!