Skip to content

Instantly share code, notes, and snippets.

@ryanhalliday
Last active August 29, 2015 14:24
Show Gist options
  • Save ryanhalliday/15d2dd1fea498d1b09ff to your computer and use it in GitHub Desktop.
Save ryanhalliday/15d2dd1fea498d1b09ff to your computer and use it in GitHub Desktop.
A script for installing Cocos2d-x dependencies on Ubuntu
#!/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