Linux Client Progress?
by antigrav · in Torque Game Engine · 09/03/2001 (9:51 am) · 10 replies
I was wondering how the state of the V12 Linux Client is progressing? The docs say the Server is working but the Client is still under development. I don't know which gets built by default but when I run make OS=LINUX COMPILER=GCC2 BUILD=DEBUG the build fails to compile about 5 or 6 modules in the engine directory. I can post the errors if someone would like to attempt to help me out. I'm running on a nearly stock Mandrake 8.0 install (Gcc 2.96). I also have Gcc 3.0 but that doesn't help any either.
As a side note, I was wondering why not post a TODO list of some sort so that perhaps some of us could help out the development a little. I don't really know where to begin as I've just purchased it and am just trying to get my bearings and all.
As a side note, I was wondering why not post a TODO list of some sort so that perhaps some of us could help out the development a little. I don't really know where to begin as I've just purchased it and am just trying to get my bearings and all.
#2
Have you gotten the V12 Client (not just the Server) to build under Linux? I'd like to know if its even possible at this point before I invest too much time trying to get something to work that's not even supposed too yet.
09/04/2001 (5:49 pm)
Well I can give 2.95 a shot but apparently it's supposed to work with gcc 3.0 which I have tried to no avail as well. Have you gotten the V12 Client (not just the Server) to build under Linux? I'd like to know if its even possible at this point before I invest too much time trying to get something to work that's not even supposed too yet.
#3
09/04/2001 (7:28 pm)
Ryan's been working on the linux port... but ever since the SDK has been released he's been side tracked on his game project :) I've actually installed and compiled the SDK 1.0 release on my RedHat 6.2 distro. What errors are you getting? If you post them maybe Ryan can clear them up.
#4
09/05/2001 (6:41 am)
Actually it's been my new job :-D. Did you install the required libraries like Mesa3D? If you copied the source from a Windows machine did you run the shell script in tools/unix/ to change the cr/lf's?
#5
Yeah, I installed the sources by running the Installer under WINE, (rather than copying from my Windows partition) and I converted all EOL's from CRLF to LF and made sure all libs were installed. The unixchange.sh didn't work for me for some reason BTW but I have my own script for doing the exact same thing. :-)
I double checked the problem files to make sure about the EOL thing just to be sure. I'm really not sure why I'm getting the errors I'm getting.
I have a copy of RedHat 6.1 so I think I'll install that to a spare partition and see if I get the same errors when I try to compiler under that distro and report back, since Tim said he had luck under RH 6.2. Hopefully RH 6.1 insn't too different from 6.2. <:-)
BTW, no one has still answered my question about wether it's just the Server or a fully working Client/Server that gets built. (?) :-)
- Brian Chapman (aka: antigrav)
09/06/2001 (12:12 pm)
Hi Ryan. Yeah, I installed the sources by running the Installer under WINE, (rather than copying from my Windows partition) and I converted all EOL's from CRLF to LF and made sure all libs were installed. The unixchange.sh didn't work for me for some reason BTW but I have my own script for doing the exact same thing. :-)
I double checked the problem files to make sure about the EOL thing just to be sure. I'm really not sure why I'm getting the errors I'm getting.
I have a copy of RedHat 6.1 so I think I'll install that to a spare partition and see if I get the same errors when I try to compiler under that distro and report back, since Tim said he had luck under RH 6.2. Hopefully RH 6.1 insn't too different from 6.2. <:-)
BTW, no one has still answered my question about wether it's just the Server or a fully working Client/Server that gets built. (?) :-)
- Brian Chapman (aka: antigrav)
#6
As for the client/server, only a server gets built. The *engine code* for the client gets built. However, the Linux specific windowing and GL code isn't fully in place and is still being worked on so you can't initiate a client on Linux.
Ryan J. Parker
rjp@awingsoftware.com
09/06/2001 (1:10 pm)
When you run make, what sort of errors do you get? That could possibly point to a possibly obvious problem. Something we could possibly patch.As for the client/server, only a server gets built. The *engine code* for the client gets built. However, the Linux specific windowing and GL code isn't fully in place and is still being worked on so you can't initiate a client on Linux.
Ryan J. Parker
rjp@awingsoftware.com
#7
~/v12$ make OS=LINUX BUILD=DEBUG COMPILER=GCC2
--> Compiling audio/audio.cc
audio/audio.cc: In function 'void alxCaptureStop ()':
audio/audio.cc:1399: cannot convert 'void (*) (unsigned int, bool)' to 'ALvoid *' in argument passing
audio/audio.cc: In function 'void alxPlayMusicStream (const char *)':
audio/audio.cc:1593: cannot convert 'void (*) (unsigned int, bool)' to 'ALvoid *' in argument passing
make: [out.VC6.DEBUG/audio/audio.obj] Error 1 (ignored)
--> Compiling dgl/dgl.cc
dgl/dgl.cc: In function 'bool dglPointToScreen (Point3F &, Point3F &)':
dgl/dgl.cc:579: 'gluProject' undeclared (first use this function)
dgl/dgl.cc:579: (Each undeclared identifier is reported only once for each function it appears in.)
dgl/dgl.cc: In function 'bool dglIsInCanonicalState ()':
dgl/dgl.cc:608: 'glActiveTextureARB' undeclared (first use this function)
dgl/dgl.cc:618: 'glClientActiveTextureARB' undeclared (first use this function)
make: [out.VC6.DEBUG/dgl/dgl.obj] Error 1 (ignored)
--> Compiling dgl/gTexManager.cc
dgl/gTexManager.cc: In function 'void TextureManager::refresh (TextureObject *)':
dgl/gTexManager.cc:674: 'glColorTableEXT' undeclared (first use this function)
dgl/gTexManager.cc:674: (Each undeclared identifier is reported only once for each function it appears in.)
make: [out.VC6.DEBUG/dgl/gTexManager.obj] Error 1 (ignored)
--> Compiling gui/guiTSControl.cc
gui/guiTSControl.cc: In method 'bool GuiTSCtrl::project (const Point3F &, Point3F *)':
gui/guiTSControl.cc:62: 'gluProject' undeclared (first use this function)
gui/guiTSControl.cc:62: (Each undeclared identifier is reported only once for each function it appears in.)
gui/guiTSControl.cc: In method 'bool GuiTSCtrl::unproject (const Point3F &, Point3F *)':
gui/guiTSControl.cc:74: 'gluUnProject' undeclared (first use this function)
make: [out.VC6.DEBUG/gui/guiTSControl.obj] Error 1 (ignored)
--> Compiling game/game.cc
game/game.cc: In function 'void GameRenderTest ()':
game/game.cc:727: 'glClientActiveTextureARB' undeclared (first use this function)
game/game.cc:727: (Each undeclared identifier is reported only once for each function it appears in.)
game/game.cc:728: 'glActiveTextureARB' undeclared (first use this function)
make: [out.VC6.DEBUG/game/game.obj] Error 1 (ignored)
--> Compiling interior/interiorInstance.cc
interior/interiorInstance.cc: In method 'void
InteriorInstance::renderObject (SceneState *, SceneRenderImage *)':
interior/interiorInstance.cc:959: 'glActiveTextureARB' undeclared
(first use this function)
interior/interiorInstance.cc:959: (Each undeclared identifier is
reported only once for each function it appears in.)
make: [out.VC6.DEBUG/interior/interiorInstance.obj] Error 1 (ignored)
--> Compiling interior/interiorRender.cc
interior/interiorRender.cc: In method 'void Interior::renderARB_vc_tf
(bool, MaterialList *, unsigned int, const Vector *, const Vector *)':
interior/interiorRender.cc:657: 'glActiveTextureARB' undeclared (first
use this function)interior/interiorRender.cc:657: (Each undeclared identifier is reported only once for each function it appears in.)
interior/interiorRender.cc:675: 'glClientActiveTextureARB' undeclared (first use this function)
interior/interiorRender.cc: In method 'void Interior::renderARB (bool, MaterialList *, unsigned int)':
interior/interiorRender.cc:957: 'glMultiTexCoord2fARB' undeclared (first use this function)
make: [out.VC6.DEBUG/interior/interiorRender.obj] Error 1 (ignored)
--> Compiling platformX86UNIX/x86UNIXFileio.cc
platformX86UNIX/x86UNIXFileio.cc: In method 'File::Status
File::setPosition (int, bool)':platformX86UNIX/x86UNIXFileio.cc:226: 'abs' undeclared (first use this function)
platformX86UNIX/x86UNIXFileio.cc:226: (Each undeclared identifier is reported only once for each function it appears in.)
make: [out.VC6.DEBUG/platformX86UNIX/x86UNIXFileio.obj] Error 1 (ignored)
--> Compiling terrain/terrRender.cc
terrain/terrRender.cc: In function 'void TerrainRender::renderBlock (TerrainBlock *, SceneState *)':
terrain/terrRender.cc:1889: 'glClientActiveTextureARB' undeclared (first use this function)
terrain/terrRender.cc:1889: (Each undeclared identifier is reported only once for each function it appears in.)
terrain/terrRender.cc:1890: 'glActiveTextureARB' undeclared (first use this function)
make: [out.VC6.DEBUG/terrain/terrRender.obj] Error 1 (ignored)
--> Compiling terrain/terrRender2.cc
terrain/terrRender2.cc: In function 'void TerrainRender::render2 ()':
terrain/terrRender2.cc:291: 'glClientActiveTextureARB' undeclared (first use this function)
terrain/terrRender2.cc:291: (Each undeclared identifier is reported only once for each function it appears in.)
terrain/terrRender2.cc:292: 'glActiveTextureARB' undeclared (first use this function)
make: [out.VC6.DEBUG/terrain/terrRender2.obj] Error 1 (ignored)
--> Compiling ts/tsLastDetail.cc
ts/tsLastDetail.cc: In method 'void
TSLastDetail::renderFog_MultiCombine (float)':
ts/tsLastDetail.cc:320: 'glActiveTextureARB' undeclared (first use this function)
ts/tsLastDetail.cc:320: (Each undeclared identifier is reported only once for each function it appears in.)
make: [out.VC6.DEBUG/ts/tsLastDetail.obj] Error 1 (ignored)
--> Compiling ts/tsMesh.cc
ts/tsMesh.cc: In method 'void TSMesh::render (int, int, TSMaterialList *)':
ts/tsMesh.cc:294: 'glClientActiveTextureARB' undeclared (first use this function)
ts/tsMesh.cc:294: (Each undeclared identifier is reported only once for each function it appears in.)
ts/tsMesh.cc: In function 'void TSMesh::initMaterials ()':
ts/tsMesh.cc:364: 'glActiveTextureARB' undeclared (first use this function)
make: [out.VC6.DEBUG/ts/tsMesh.obj] Error 1 (ignored)
--> Compiling ts/tsSortedMesh.cc
ts/tsSortedMesh.cc: In method 'void TSSortedMesh::render (int, int, TSMaterialList *)':
ts/tsSortedMesh.cc:62: 'glClientActiveTextureARB' undeclared (first use this function)
ts/tsSortedMesh.cc:62: (Each undeclared identifier is reported only once for each function it appears in.)
make: [out.VC6.DEBUG/ts/tsSortedMesh.obj] Error 1 (ignored)
--> Linking out.VC6.DEBUG/v12Test_DEBUG.exe
g++: out.VC6.DEBUG/audio/audio.obj: No such file or directory
g++: out.VC6.DEBUG/dgl/dgl.obj: No such file or directory
g++: out.VC6.DEBUG/dgl/gTexManager.obj: No such file or directory
g++: out.VC6.DEBUG/gui/guiTSControl.obj: No such file or directory
g++: out.VC6.DEBUG/game/game.obj: No such file or directory
g++: out.VC6.DEBUG/interior/interiorInstance.obj: No such file or directory
g++: out.VC6.DEBUG/interior/interiorRender.obj: No such file or directory
g++: out.VC6.DEBUG/platformX86UNIX/x86UNIXFileio.obj: No such file or directory
g++: out.VC6.DEBUG/terrain/terrRender.obj: No such file or directory
g++: out.VC6.DEBUG/terrain/terrRender2.obj: No such file or directory
g++: out.VC6.DEBUG/ts/tsLastDetail.obj: No such file or directory
g++: out.VC6.DEBUG/ts/tsMesh.obj: No such file or directory
g++: out.VC6.DEBUG/ts/tsSortedMesh.obj: No such file or directory
make: *** [out.VC6.DEBUG/v12Test_DEBUG.exe] Error 1
09/07/2001 (3:49 pm)
Okay, here are the errors I'm getting. I was procrastinating on posting this because I wanted to make sure I wasn't doing something obvoius (ie: stupid) but what ever it is it seems to be eluding me. I'm trying this on a stock Mandrake 8.0 install. I also have gcc 3.0 which I built myself that I can enable by adding it to my path. I get the same problems with it as well so I assume it's not compiler related.~/v12$ make OS=LINUX BUILD=DEBUG COMPILER=GCC2
--> Compiling audio/audio.cc
audio/audio.cc: In function 'void alxCaptureStop ()':
audio/audio.cc:1399: cannot convert 'void (*) (unsigned int, bool)' to 'ALvoid *' in argument passing
audio/audio.cc: In function 'void alxPlayMusicStream (const char *)':
audio/audio.cc:1593: cannot convert 'void (*) (unsigned int, bool)' to 'ALvoid *' in argument passing
make: [out.VC6.DEBUG/audio/audio.obj] Error 1 (ignored)
--> Compiling dgl/dgl.cc
dgl/dgl.cc: In function 'bool dglPointToScreen (Point3F &, Point3F &)':
dgl/dgl.cc:579: 'gluProject' undeclared (first use this function)
dgl/dgl.cc:579: (Each undeclared identifier is reported only once for each function it appears in.)
dgl/dgl.cc: In function 'bool dglIsInCanonicalState ()':
dgl/dgl.cc:608: 'glActiveTextureARB' undeclared (first use this function)
dgl/dgl.cc:618: 'glClientActiveTextureARB' undeclared (first use this function)
make: [out.VC6.DEBUG/dgl/dgl.obj] Error 1 (ignored)
--> Compiling dgl/gTexManager.cc
dgl/gTexManager.cc: In function 'void TextureManager::refresh (TextureObject *)':
dgl/gTexManager.cc:674: 'glColorTableEXT' undeclared (first use this function)
dgl/gTexManager.cc:674: (Each undeclared identifier is reported only once for each function it appears in.)
make: [out.VC6.DEBUG/dgl/gTexManager.obj] Error 1 (ignored)
--> Compiling gui/guiTSControl.cc
gui/guiTSControl.cc: In method 'bool GuiTSCtrl::project (const Point3F &, Point3F *)':
gui/guiTSControl.cc:62: 'gluProject' undeclared (first use this function)
gui/guiTSControl.cc:62: (Each undeclared identifier is reported only once for each function it appears in.)
gui/guiTSControl.cc: In method 'bool GuiTSCtrl::unproject (const Point3F &, Point3F *)':
gui/guiTSControl.cc:74: 'gluUnProject' undeclared (first use this function)
make: [out.VC6.DEBUG/gui/guiTSControl.obj] Error 1 (ignored)
--> Compiling game/game.cc
game/game.cc: In function 'void GameRenderTest ()':
game/game.cc:727: 'glClientActiveTextureARB' undeclared (first use this function)
game/game.cc:727: (Each undeclared identifier is reported only once for each function it appears in.)
game/game.cc:728: 'glActiveTextureARB' undeclared (first use this function)
make: [out.VC6.DEBUG/game/game.obj] Error 1 (ignored)
--> Compiling interior/interiorInstance.cc
interior/interiorInstance.cc: In method 'void
InteriorInstance::renderObject (SceneState *, SceneRenderImage *)':
interior/interiorInstance.cc:959: 'glActiveTextureARB' undeclared
(first use this function)
interior/interiorInstance.cc:959: (Each undeclared identifier is
reported only once for each function it appears in.)
make: [out.VC6.DEBUG/interior/interiorInstance.obj] Error 1 (ignored)
--> Compiling interior/interiorRender.cc
interior/interiorRender.cc: In method 'void Interior::renderARB_vc_tf
(bool, MaterialList *, unsigned int, const Vector
interior/interiorRender.cc:657: 'glActiveTextureARB' undeclared (first
use this function)interior/interiorRender.cc:657: (Each undeclared identifier is reported only once for each function it appears in.)
interior/interiorRender.cc:675: 'glClientActiveTextureARB' undeclared (first use this function)
interior/interiorRender.cc: In method 'void Interior::renderARB (bool, MaterialList *, unsigned int)':
interior/interiorRender.cc:957: 'glMultiTexCoord2fARB' undeclared (first use this function)
make: [out.VC6.DEBUG/interior/interiorRender.obj] Error 1 (ignored)
--> Compiling platformX86UNIX/x86UNIXFileio.cc
platformX86UNIX/x86UNIXFileio.cc: In method 'File::Status
File::setPosition (int, bool)':platformX86UNIX/x86UNIXFileio.cc:226: 'abs' undeclared (first use this function)
platformX86UNIX/x86UNIXFileio.cc:226: (Each undeclared identifier is reported only once for each function it appears in.)
make: [out.VC6.DEBUG/platformX86UNIX/x86UNIXFileio.obj] Error 1 (ignored)
--> Compiling terrain/terrRender.cc
terrain/terrRender.cc: In function 'void TerrainRender::renderBlock (TerrainBlock *, SceneState *)':
terrain/terrRender.cc:1889: 'glClientActiveTextureARB' undeclared (first use this function)
terrain/terrRender.cc:1889: (Each undeclared identifier is reported only once for each function it appears in.)
terrain/terrRender.cc:1890: 'glActiveTextureARB' undeclared (first use this function)
make: [out.VC6.DEBUG/terrain/terrRender.obj] Error 1 (ignored)
--> Compiling terrain/terrRender2.cc
terrain/terrRender2.cc: In function 'void TerrainRender::render2 ()':
terrain/terrRender2.cc:291: 'glClientActiveTextureARB' undeclared (first use this function)
terrain/terrRender2.cc:291: (Each undeclared identifier is reported only once for each function it appears in.)
terrain/terrRender2.cc:292: 'glActiveTextureARB' undeclared (first use this function)
make: [out.VC6.DEBUG/terrain/terrRender2.obj] Error 1 (ignored)
--> Compiling ts/tsLastDetail.cc
ts/tsLastDetail.cc: In method 'void
TSLastDetail::renderFog_MultiCombine (float)':
ts/tsLastDetail.cc:320: 'glActiveTextureARB' undeclared (first use this function)
ts/tsLastDetail.cc:320: (Each undeclared identifier is reported only once for each function it appears in.)
make: [out.VC6.DEBUG/ts/tsLastDetail.obj] Error 1 (ignored)
--> Compiling ts/tsMesh.cc
ts/tsMesh.cc: In method 'void TSMesh::render (int, int, TSMaterialList *)':
ts/tsMesh.cc:294: 'glClientActiveTextureARB' undeclared (first use this function)
ts/tsMesh.cc:294: (Each undeclared identifier is reported only once for each function it appears in.)
ts/tsMesh.cc: In function 'void TSMesh::initMaterials ()':
ts/tsMesh.cc:364: 'glActiveTextureARB' undeclared (first use this function)
make: [out.VC6.DEBUG/ts/tsMesh.obj] Error 1 (ignored)
--> Compiling ts/tsSortedMesh.cc
ts/tsSortedMesh.cc: In method 'void TSSortedMesh::render (int, int, TSMaterialList *)':
ts/tsSortedMesh.cc:62: 'glClientActiveTextureARB' undeclared (first use this function)
ts/tsSortedMesh.cc:62: (Each undeclared identifier is reported only once for each function it appears in.)
make: [out.VC6.DEBUG/ts/tsSortedMesh.obj] Error 1 (ignored)
--> Linking out.VC6.DEBUG/v12Test_DEBUG.exe
g++: out.VC6.DEBUG/audio/audio.obj: No such file or directory
g++: out.VC6.DEBUG/dgl/dgl.obj: No such file or directory
g++: out.VC6.DEBUG/dgl/gTexManager.obj: No such file or directory
g++: out.VC6.DEBUG/gui/guiTSControl.obj: No such file or directory
g++: out.VC6.DEBUG/game/game.obj: No such file or directory
g++: out.VC6.DEBUG/interior/interiorInstance.obj: No such file or directory
g++: out.VC6.DEBUG/interior/interiorRender.obj: No such file or directory
g++: out.VC6.DEBUG/platformX86UNIX/x86UNIXFileio.obj: No such file or directory
g++: out.VC6.DEBUG/terrain/terrRender.obj: No such file or directory
g++: out.VC6.DEBUG/terrain/terrRender2.obj: No such file or directory
g++: out.VC6.DEBUG/ts/tsLastDetail.obj: No such file or directory
g++: out.VC6.DEBUG/ts/tsMesh.obj: No such file or directory
g++: out.VC6.DEBUG/ts/tsSortedMesh.obj: No such file or directory
make: *** [out.VC6.DEBUG/v12Test_DEBUG.exe] Error 1
#8
make -f mk/configure.mk OS=LINUX BUILD=DEBUG COMPILER=GCC2
You only need to do this once, once the makefile is configured, simply type "make" to build the example.
09/07/2001 (7:43 pm)
You haven't configured the makefile correctly... you need to run this from the root v12 dir:make -f mk/configure.mk OS=LINUX BUILD=DEBUG COMPILER=GCC2
You only need to do this once, once the makefile is configured, simply type "make" to build the example.
#9
~/v12$ make -f mk/configure.mk OS=LINUX BUILD=DEBUG COMPILER=GCC2 && make
...and I still get the same errors (except replace VC6 with GCC2 in my previous post).
Any ideas? :-(
09/08/2001 (11:31 am)
Doh! Okay I overlooked that. Sorry. Alright, so I start over with a fresh source tree (with CRLF conversion). I run the following:~/v12$ make -f mk/configure.mk OS=LINUX BUILD=DEBUG COMPILER=GCC2 && make
...and I still get the same errors (except replace VC6 with GCC2 in my previous post).
Any ideas? :-(
#10
Ryan J. Parker
rjp@awingsoftware.com
09/08/2001 (9:27 pm)
What version of Mesa3D do you have? Try grabbing the latest from www.mesa3d.org.Ryan J. Parker
rjp@awingsoftware.com
Torque Owner Jan Van Sweevelt