Author Topic: How to build FOClassic for linux 32bit  (Read 2409 times)

Offline adumbperson

  • Turn around in orbit!
How to build FOClassic for linux 32bit
« on: April 15, 2019, 08:58:23 am »
Quote
"Whatever you do will be insignificant, but it is very important that you do it." - Mahatma Gandhi

First you'll need to download ubuntu 16.04 (xenial)

http://releases.ubuntu.com/16.04/

You'll need to install this last... (hardware or virtual machine...)

Then fire up a console on it when you are done...

Code: [Select]
sudo apt-get install git cmake
git clone https://github.com/rotators/foclassic
cd foclassic/
git submodule update --init --recursive
sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install -qq gcc-multilib g++-multilib
arch=i386 sudo apt-get install -qq libx11-dev:${arch} libxft-dev:${arch} libxi-dev:${arch} libxinerama-dev:${arch} libgl1-mesa-dev:${arch} libglu1-mesa-dev:${arch} freeglut3-dev:${arch} libfreetype6-dev:${arch} libfontconfig-dev:${arch} libpng-dev:${arch}
PATH=SDK.Cache/cmake/bin:$PATH
cmake -DO=Build.cmake -DOWNLOAD_DIR=SDK.Cache -P CMake/SelfUpdate/SelfUpdate.cmake
hash -r
cmake -P Build.cmake

Enjoy working with free softwares.
« Last Edit: April 15, 2019, 09:00:43 am by adumbperson »
How did I end in delivery with that kind of log about me... my god... I no sure it were a good idea to read my log... ~suicide -2022/05/18-

Re: How to build FOClassic for linux 32bit
« Reply #1 on: April 15, 2019, 12:11:46 pm »
Hey, great work!

What about 14.04 LTS or latest 18 LTS releases of Ubuntu? Has someone already tried it?