rodrigosetti / azteroids Goto Github PK
View Code? Open in Web Editor NEWSimple Asteroids game in C++ and OpenGL
Simple Asteroids game in C++ and OpenGL
When cloning the repository, the submodules for entityx
and glfw
fail to clone with an error fatal: Could not read from remote repository.
When I run CMake on Ubuntu I get an error message at lines 6 & 7 (the add_subdirectory statements) stating that there are no CMakeList.txt files for entityx or glfw in the /lib directory. How can I fix this?
entityx introduces some breaking changes in 1.0.0alpha1
@Virspace what to take this?
I tried to build it on Ubuntu Desktop 15.10
Git submodule update succeed
CMake succeed
But make failed
Gnu compiler version is 5.2.1
[ 71%] Building CXX object CMakeFiles/Azteroids.dir/src/app.cpp.o
c++: error: unrecognized command line option ‘-stdlib=libc++’
CMakeFiles/Azteroids.dir/build.make:54: recipe for target 'CMakeFiles/Azteroids.dir/src/app.cpp.o' failed
make[2]: *** [CMakeFiles/Azteroids.dir/src/app.cpp.o] Error 1
CMakeFiles/Makefile2:61: recipe for target 'CMakeFiles/Azteroids.dir/all' failed
make[1]: *** [CMakeFiles/Azteroids.dir/all] Error 2
Makefile:116: recipe for target 'all' failed
virspace@ubuntu:/Projects/azteroids/build$ cmake ../Projects/azteroids/build$ make
-- Not using -stdlib=libc++ (test failed to build)
-- Defaulting to release build (use -DCMAKE_BUILD_TYPE:STRING=Debug for debug build)
-- Checking C++ features
-- C++11 auto support found
-- C++11 nullptr support found
-- C++11 rvalue reference support found
-- C++11 variadic templates found
-- C++11 rvalue references found
-- C++11 long long found
-- C++11 lambdas found
-- Checking misc features
-- stdint.h found
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Using X11 for window creation
-- Using GLX for context creation
-- Configuring done
-- Generating done
-- Build files have been written to: /home/virspace/Projects/azteroids/build
virspace@ubuntu:
[ 51%] Built target glfw
[ 65%] Built target entityx
[100%] Built target Azteroids
virspace@ubuntu:~/Projects/azteroids/build$
I cd to the bin folder and Azteroids is there but has 0 size and can't be run.
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.