fallahn / crush Goto Github PK
View Code? Open in Web Editor NEW2D Competitive Platform Game written using C++ / SFML
Home Page: http://trederia.blogspot.com/2015/02/crush-2d-platformer-made-in-sfml.html
2D Competitive Platform Game written using C++ / SFML
Home Page: http://trederia.blogspot.com/2015/02/crush-2d-platformer-made-in-sfml.html
I am trying to build on Arch Linux x86_64, cmake passes, then when I start make I get this:
[ 38%] Building CXX object CMakeFiles/CRUSH.dir/src/InputMapping.cpp.o
[ 40%] Building CXX object CMakeFiles/CRUSH.dir/src/ItemBehaviour.cpp.o
[ 41%] Building CXX object CMakeFiles/CRUSH.dir/src/Light.cpp.o
/home/adomas/Misc/crush/src/Light.cpp: In member function ‘void Light::setDepth(float)’:
/home/adomas/Misc/crush/src/Light.cpp:80:25: error: ‘fabs’ is not a member of ‘std’
m_position.z = std::fabs(depth);
^~~~
/home/adomas/Misc/crush/src/Light.cpp:80:25: note: suggested alternative: ‘abs’
m_position.z = std::fabs(depth);
^~~~
abs
/home/adomas/Misc/crush/src/Light.cpp: In member function ‘float Light::getDepth() const’:
/home/adomas/Misc/crush/src/Light.cpp:85:17: error: ‘fabs’ is not a member of ‘std’
return std::fabs(m_position.z);
^~~~
/home/adomas/Misc/crush/src/Light.cpp:85:17: note: suggested alternative: ‘abs’
return std::fabs(m_position.z);
^~~~
abs
make[2]: *** [CMakeFiles/CRUSH.dir/build.make:639: CMakeFiles/CRUSH.dir/src/Light.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:68: CMakeFiles/CRUSH.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
Maybe I am missing some package? My GCC version is:
adding
if (m_valueChanged) m_valueChanged(this);
to ui::Slider::handleEvent() under mouse handling fixes this
the state stack default view is updated, but then not passed down to existing states to correctly update the viewport.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.