Linux text problem
by Gary Preston · in Torque Game Builder · 04/09/2005 (8:31 pm) · 2 replies
Hi all,
I've just ported my simple PacFish game to linux (by ported, read, compiled the t2d binary in linux. Isn't cross platform support nice :)
The game itself runs, along with sound, however the 3 text objects I use for the score, player lives and current level don't appear. Checking the console shows the following errors:
Followed by:
I take it the object creation is failing due to the missing openGL function. The question is, why is this function missing. Anyone else running linux had this error before? Other than the text rendering, everything else works fine.
I've just ported my simple PacFish game to linux (by ported, read, compiled the t2d binary in linux. Isn't cross platform support nice :)
The game itself runs, along with sound, however the 3 text objects I use for the score, player lives and current level don't appear. Checking the console shows the following errors:
On Video Init: Missing openGL function: glColorTableEXT. You may experience rendering problems.
Followed by:
Unable to instantiate non-conobject class fxTextObject2D
I take it the object creation is failing due to the missing openGL function. The question is, why is this function missing. Anyone else running linux had this error before? Other than the text rendering, everything else works fine.
#2
/edits make file.
Why is it you can spend ages trying to work out why something doesn't work, then find out that its due to the simplest reason in the world :P
Cheers for the help melv, even if it caused me to reach the solution indirectly :P
04/09/2005 (11:30 pm)
Yes it is the text resource. It works fine in windows, but after a recompile in linux I get the above error.. Which as I'm typing this now makes sense, I've not edited the makefile./edits make file.
Why is it you can spend ages trying to work out why something doesn't work, then find out that its due to the simplest reason in the world :P
Cheers for the help melv, even if it caused me to reach the solution indirectly :P
Employee Melv May
The second message has nothing to do with the first. That message is saying that you have tried to create an object called "fxTextObject2D" that doesn't exist in the engine. This is the text-resource correct? Did you compiling it into the engine? The error indicates that it didn't work.
- Melv.