Problems installing on Red Hat Linux 8.0
by Andy Kolenko · in Torque Game Engine · 11/01/2002 (8:25 am) · 3 replies
I'm having this error come up during the installation.
make -f mk/configure.mk OS=LINUX COMPILER=GCC2 BUILD=DEBUG
make
I did a CSV get without the tag specified.
Any help or advise would be appreciated. Or point me in the right direction. I'm probably missing something ovbious.
I've cut and pasted out of my Konsole.
platformX86UNIX/x86UNIXState.h:243: ISO C++ forbids declaration of '
mAcquiredLock' with no type
platformX86UNIX/x86UNIXState.h:243: 'int mAcquiredLock' used prior to
declaration
platformX86UNIX/x86UNIXState.h:160: 'static bool
DisplayPtrManager::lockDisplay()' is private
platformX86UNIX/x86UNIXState.h:243: within this context
platformX86UNIX/x86UNIXState.h:244: parse error before 'return'
platformX86UNIX/x86UNIXFileio.cc: In function 'const char* GetPrefDir()':
platformX86UNIX/x86UNIXFileio.cc:137: no matching function for call to '
x86UNIXPlatformState::getExeName()'
make[1]: *** [out.GCC2.DEBUG/platformX86UNIX/x86UNIXFileio.obj] Error 1
make: *** [default] Error 2
Andy
make -f mk/configure.mk OS=LINUX COMPILER=GCC2 BUILD=DEBUG
make
I did a CSV get without the tag specified.
Any help or advise would be appreciated. Or point me in the right direction. I'm probably missing something ovbious.
I've cut and pasted out of my Konsole.
platformX86UNIX/x86UNIXState.h:243: ISO C++ forbids declaration of '
mAcquiredLock' with no type
platformX86UNIX/x86UNIXState.h:243: 'int mAcquiredLock' used prior to
declaration
platformX86UNIX/x86UNIXState.h:160: 'static bool
DisplayPtrManager::lockDisplay()' is private
platformX86UNIX/x86UNIXState.h:243: within this context
platformX86UNIX/x86UNIXState.h:244: parse error before 'return'
platformX86UNIX/x86UNIXFileio.cc: In function 'const char* GetPrefDir()':
platformX86UNIX/x86UNIXFileio.cc:137: no matching function for call to '
x86UNIXPlatformState::getExeName()'
make[1]: *** [out.GCC2.DEBUG/platformX86UNIX/x86UNIXFileio.obj] Error 1
make: *** [default] Error 2
Andy
#2
11/05/2002 (8:36 am)
You need the xfree-devel and SDL-devel packages for those header files.
#3
I had cludged my way around to get the install done. But I reversed it all out and re-installed after installing the XFree86 and SDL devel rpms as you suggested. It installed just fine without any problems.
Andy
11/05/2002 (11:29 am)
Thanks John.I had cludged my way around to get the install done. But I reversed it all out and re-installed after installing the XFree86 and SDL devel rpms as you suggested. It installed just fine without any problems.
Andy
Torque Owner Andy Kolenko
My apologies for the above post. It did not include the core problem and I hate to think that anyone spent a moment of thought on this issue based on the information I provided above.
I've started working on it further and made some newbie discoveries.
First off, I'm learning C++ and using game development as a motivator to keep me going :)
I have a programming background, just not C or C++ and I'm about 3 hours into learning C++ right now.
The problem is that I dont have X11/Xlib.h installed with my Red Hat 8.0.
X86UNIXState.h includes
I have a laptop with Red Hat 6, 2.2.5 kernel, installed and I brought over the /usr/include/X11/ directory.
That got me past the errors I posted above. I guess I could have done "dedicated" to get around it also. But I dont think thats exactly what I want for this environment.
Now I'm off to figure out my next problem, missing SDL/SDL.h included in x86UNIXGL.cc.
I have SDL-1.2.4-5 and SDL_net-1.2.4-3 rpms installed.
I'll post again when I get all these things figured out. But if anyone sees some obvious problem with what I'm doing, please dont hesitate to let me know. Like some rpm with backward compatability or something :)
Andy