Last active
August 29, 2015 14:24
-
-
Save ryanhalliday/15d2dd1fea498d1b09ff to your computer and use it in GitHub Desktop.
A script for installing Cocos2d-x dependencies on Ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#A script for installing Cocos2d-x dependencies on Ubuntu | |
#Install cmake, fontconfig and curl | |
sudo apt-get install cmake libfontconfig1-dev libcurl3 libcurl3-gnutls libcurl4-openssl-dev | |
#GLFW | |
#Currently manually specifying version 3.1.1 | |
wget https://github.com/glfw/glfw/releases/download/3.1.1/glfw-3.1.1.zip | |
unzip glfw-3.1.1.zip | |
cd glfw-3.1.1 | |
cmake -G "Unix Makefiles" | |
make | |
sudo make install | |
cd .. | |
rm -rf glfw-3.1.1/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment