Game Development Community

CG Gamma & water on linux?

by intangir · in Torque Game Engine · 11/01/2006 (10:58 pm) · 5 replies

Has anyone gotten this resource to work on linux, with torque 1.5

http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=10830

i got it to compile link and run, without crashing.. but theres no cg water or dynamic gamma..
i got an error in the console but its the same one i also get on windows, and it works on windows!

i have tried Cg 1.4.1 and 1.5
ive also tried the tutorial source for Cg, it also all works

#1
11/08/2006 (10:19 pm)
Are you using the new version posted by the resource creator on 29 Oct 06 ?

I've downloaded it, but haven't tried it yet. I was hoping to get to it sometime this week.
#2
11/25/2006 (5:29 pm)
I finally got it working
i posted on the resource thread the things i did to get it to work

basically alot of case sensitivity issues ;)
#3
11/26/2006 (1:23 pm)
When I compile CG Gamma & water on Linux with tge 1.5 i got the following errors message during linking :

philippe@josie:~/cvs/torque15$ make
--> Linking out.GCC4.DEBUG/torqueDemo_DEBUG.bin
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/libCgGL.so: undefined reference to 'glXGetCurrentDisplay'
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/libCgGL.so: undefined reference to 'glXQueryExtensionsString'
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/libCgGL.so: undefined reference to 'glXGetProcAddressARB'
collect2: ld returned 1 exit status
make[1]: *** [out.GCC4.DEBUG/torqueDemo_DEBUG.bin] Error 1
make: *** [default] Error 2

any idea to solve it , will be welcome ?

Philippe C
#4
12/13/2006 (9:33 am)
Http://www.garagegames.com/mg/forums/result.thread.php?qt=53032
#5
12/16/2006 (12:30 am)
Thanks Eric