Compiling LÖVE on CentOS 6.5
Posted: Mon Mar 17, 2014 6:58 am
Hi there I've been trying to compile love in CentOS i have solved for some dependencies by compiling them (like SDL 2 and DevIL).
First of all i run ./configure script and i get this error:
CentOS does include luajit-5.1, but then I also compiled luajit by myself and still the same error.
So I tried using:
and it happens with no errors but when i do I get the following compile errors:
Can someone guide me through this compile process? How can I make those errors disappear?
Thanks in advance.
First of all i run ./configure script and i get this error:
Code: Select all
configure: WARNING: Could not find pkg-config definition for luajit5.1 or luajit, falling back to manual detection
checking for library containing lua_pcall... no
configure: error: LÖVE needs "luajit", please install "luajit" with development files and try again
So I tried using:
Code: Select all
./configure --with-lua=lua
Code: Select all
sudo make
Code: Select all
common/Module.cpp:37: error: 'nullptr' was not declared in this scope
common/Module.cpp: In function 'void<unnamed>::freeEmptyRegistry()':
common/Module.cpp:52: error: 'nullptr' was not declared in this scope
common/Module.cpp: In static member function 'static void love::Module::registerInstance(love::Module*)':
common/Module.cpp:80: error: 'nullptr' was not declared in this scope
common/Module.cpp: In static member function 'static love::Module* love::Module::getInstance(const std::string&)':
common/Module.cpp:106: error: 'nullptr' was not declared in this scope
common/Module.cpp: In static member function 'static love::Module* love::Module::findInstance(const std::string&)':
common/Module.cpp:121: error: 'nullptr' was not declared in this scope
Thanks in advance.