forked from acaudwell/Gource
-
Notifications
You must be signed in to change notification settings - Fork 5
Cpp Compiler
secure411dotorg edited this page Oct 5, 2013
·
8 revisions
###To install a suitable c++ compiler under Ubuntu:
sudo apt-get update # Update package lists
sudo apt-get install g++ g++-multilib autoconf libtool
sudo apt-get install libsdl1.2-dev libsdl-image1.2-dev libpcre3-dev libfreetype6-dev libglew-dev libglm-dev libboost-filesystem-dev libtinyxml-dev
Here's the list individually of what is included above:
sudo apt-get install g++ # Installs g++
sudo apt-get install g++-multilib # Installs multilib
sudo apt-get install autoconf # Installs automatic configuration script builder
sudo apt-get install libtool # Installs generic library support script
# Library files required to compile
sudo apt-get install libsdl1.2-dev # SDL library v1.2 (2.0 is preferred, but may not be available)
sudo apt-get install libsdl-image1.2-dev # SDL image 1.2 (2.0 also preferred)
sudo apt-get install libpcre3-dev # PCRE library
sudo apt-get install libfreetype6-dev # freetype2 library
sudo apt-get install libglew-dev # GLEW library
sudo apt-get install libglm-dev # GLM library
sudo apt-get install libboost-filesystem-dev # Boost Filesystem library
sudo apt-get install libtinyxml-dev # TinyXML library (optional)
The multilib libraries may not be needed, but if they are, it would be good to have them available.
##Windows C++ compiler
The recommended compiler can be downloaded from the Code Blocks project.
