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.