Compile Torque game in ubuntu 14.04(linux)
by Dorian Apanel · in Torque Game Engine · 10/14/2015 (5:09 am) · 2 replies
Hi,
I need to run old game on new hardware. I've never used torque engine before. Game was developed in 2006 and all programmers from that project left.
I managed to compile and link it in linux 14.04 and gcc 4.8. After launch, no text is displayed (fonts problem?).
I also compiled/tested it on virtualBox machines:
ubuntu 8.04 <- fonts displayed
ubuntu 10.04 <- no fonts displayed
It looks like something is broken on ubuntu >= 10.04
I haven't seen any error message in console ("-console" param) related to fonts. Logs seem very similar on all systems.
Does anyone encountered similar problem?
I need to run old game on new hardware. I've never used torque engine before. Game was developed in 2006 and all programmers from that project left.
I managed to compile and link it in linux 14.04 and gcc 4.8. After launch, no text is displayed (fonts problem?).
I also compiled/tested it on virtualBox machines:
ubuntu 8.04 <- fonts displayed
ubuntu 10.04 <- no fonts displayed
It looks like something is broken on ubuntu >= 10.04
I haven't seen any error message in console ("-console" param) related to fonts. Logs seem very similar on all systems.
Does anyone encountered similar problem?
Dorian Apanel
Use 32-bit system to compile. For me it compiled on Debian Jessie with following packages installed:
gcc g++ build-essential libfreetype6-dev nasm libssl-dev libxft-dev libsdl1.2-dev libogg-dev libvorbis-dev libtheora-dev libopenal1
I had also to pass NULL as parameter to alcOpenDevice function to enable sound (audio.cc file).