With the newest version of Ubuntu, I had no issues setting up tier 2 AppGameKit on a 64-bit system.
--- INSTALL UBUNTU ------------------------------------------------------------------------
Install ubuntu 16.04 LTS 64-bit on your computer
after installation run “Software Updater” to fully update the new install.
Restart the computer.
--- INSTALL STEAM / APPGAMEKIT / SUPPORTING PROGRAMS ------------------------------
Open a terminal window and enter these commands:
sudo add-apt-repository multiverse
sudo apt update
sudo apt install steam
at some point you will need to use tab and spacebar to accept the terms.
Start steam from the menu bar and it will update.
(on my desktop Steam would not open. It was a display driver issue that this command fixed:
sudo rm ~/.steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6
)
Login and install APPGAMEKIT.
Once APPGAMEKIT is installed, close steam.
Open a terminal window and run these commands:
sudo apt-get update
sudo apt-get install cmake
sudo apt-get install g++
sudo apt-get install libopenal-dev
sudo apt-get install libcurl4-openssl-dev
sudo apt-get install libpng-dev
sudo apt-get install libjpeg-dev
sudo apt-get install xorg-dev
sudo apt-get install libglu1-mesa-dev
sudo apt-get install libudev-dev
sudo apt-get install libavformat-dev
--- INSTALL GLFW------------------------------------------------------------------------------------------
(this part updated June 25 2017)
download GLFW 3.2.1 from: http://www.glfw.org/
Extract it into a folder named glfw-3.2.1
Use a terminal, navigate to that folder and execute these commands:
hash -r
cmake -G "Unix Makefiles"
make
sudo make install
----- INSTALL NETBEANS C++ 64-bit IDE--------------------------------------------
Download NetBeans IDE at:
https://netbeans.org/downloads/start.html?platform=linux&lang=en&option=cpp&bits=x64
In a terminal go to the download folder and run these commands:
chmod +x netbeans-8.2-cpp-linux-x64.sh
./netbeans-8.2-cpp-linux-x64.sh
A installer should now install NetBeans.
(Both times I followed this I get a internal error from Ubuntu while installing Netbeans, but I doesnt seem to affect anything)
Run NetBeans with the menu bar and select File>New Project
Select C/C++ and C/C++ Project with Existing Sources and select NEXT
Browse to: home/(username)/.steam/steam/steamapps/common/App Game Kit 2/Tier2/apps/template_linux
Select Finish.
You should be able to build and run the project.