Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Need Starting Advice For Linux Tier2

Author
Message
Parry
AGK Developer
14
Years of Service
User Offline
Joined: 16th Dec 2009
Location: Swampstone
Posted: 29th Oct 2015 20:45 Edited at: 16th Nov 2015 22:25
I'm not good at writing guides but this may help you getting started with Tier 2 through Steam. There is a readme file in your AppGameKit you should read that has most of this information in it. Look in Tier2/platform/linux/source.

This works for Linux 32-bit 14.04 LTS. I had issues getting 64-bit ubuntu working with AppGameKit and/or Steam. Also if your computer uses UEFI (normally Windows 8 computers have this) you will not be able to use this guide. You cannot install 32-bit operating system on a UEFI system.

--- INSTALL UBUNTU -----------------------------------------------------------------------------------------

Download Ubuntu Linux 32-bit 14.04 LTS. Download the ISO at http://www.ubuntu.com/download/alternative-downloads
Make a bootable USB Drive out of the ISO. PenDrive can do this for you: http://www.pendrivelinux.com/

Once Ubuntu is installed you need to get all the updates for the OS. Type "Software Updater" in the menu search bar. Run the updater.

Once your all up-to-date, Go to steampowered.com and install Steam.

Run Steam and wait for it to update. When that finishes Login with your steam account and install AGK.

Open Terminal and run the following commands:

ln -s -v ~/.local/share/Steam ~/
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------------------------------------------------------------------------------------------

download GLFW 3.0.4 from: http://sourceforge.net/projects/glfw/files/glfw/3.0.4/glfw-3.0.4.zip/download
(I had a bit of trouble locating this older version that is required by AGK)

Extract it into a folder named glfw-3.0.4

Use a terminal navigate to that folder and execute these commands:

hash -r
cmake -G "Unix Makefiles"
make
sudo make install

----- INSTALL NETBEANS C++ IDE-----------------------------------------------------------------------------------------------------------

Download NetBeans IDE at: https://netbeans.org/downloads/start.html?platform=linux&lang=en&option=cpp&bits=x86

In a terminal go to the download folder and run these commands:

chmod +x netbeans-8.1-cpp-linux-x86.sh
./netbeans-8.1-cpp-linux-x86.sh

A installer should now install NetBeans.

Run NetBeans and select File>New Project
Select C/C++ and C/C++ Project with Existing Sources and select NEXT
Browse to: home/steam/steamapps/common/App Game Kit 2/Tier2/apps/interpreter_linux
Select Finish.

You should be able to build and run the project.
Parry
AGK Developer
14
Years of Service
User Offline
Joined: 16th Dec 2009
Location: Swampstone
Posted: 24th Nov 2015 05:57
For someone to run your program on their installation of Ubuntu 14.04 they need to install 2 packages with these commands:

sudo apt-get install libopenal-dev
sudo apt-get install libavformat-dev

Login to post a reply

Server time is: 2024-11-17 00:19:57
Your offset time is: 2024-11-17 00:19:57