Game Development Community

Map2dif in HEAD

by EddieRay · in Torque Game Engine · 04/27/2005 (1:32 pm) · 1 replies

I'm having trouble getting map2dif to link on Linux:

--> Linking map2dif_DEBUG.bin
../engine/out.GCC34.GCC3.4+.DEBUG/engine_DEBUG.a(x86UNIXProcessControl.obj)(.text+0x100): In function 'Cleanup(bool)':
platformX86UNIX/x86UNIXProcessControl.cc:78: undefined reference to 'OpenGLShutdown'
../engine/out.GCC34.GCC3.4+.DEBUG/engine_DEBUG.a(x86UNIXWindow.obj)(.text+0x53f): In function 'ProcessSYSWMEvent':
platformX86UNIX/x86UNIXWindow.cc:206: undefined reference to 'NotifySelectionEvent(_XEvent&)'
../engine/out.GCC34.GCC3.4+.DEBUG/engine_DEBUG.a(x86UNIXWindow.obj)(.text+0x9d0): In function 'Platform::AlertOK(char const*, char const*)':
platformX86UNIX/x86UNIXWindow.cc:429: undefined reference to 'XMessageBox::XMessageBox(_XDisplay*)'
../engine/out.GCC34.GCC3.4+.DEBUG/engine_DEBUG.a(x86UNIXWindow.obj)(.text+0x9ec):platformX86UNIX/x86UNIXWindow.cc:430: undefined reference to 'XMessageBox::alertOK(char const*, char const*)'
../engine/out.GCC34.GCC3.4+.DEBUG/engine_DEBUG.a(x86UNIXWindow.obj)(.text+0xa13):platformX86UNIX/x86UNIXWindow.cc:432: undefined reference to 'XMessageBox::~XMessageBox()'
../engine/out.GCC34.GCC3.4+.DEBUG/engine_DEBUG.a(x86UNIXWindow.obj)(.text+0xa29):platformX86UNIX/x86UNIXWindow.cc:432: undefined reference to 'XMessageBox::~XMessageBox()'
../engine/out.GCC34.GCC3.4+.DEBUG/engine_DEBUG.a(x86UNIXWindow.obj)(.text+0xbd4): In function 'Platform::AlertOKCancel(char const*, char const*)':
platformX86UNIX/x86UNIXWindow.cc:454: undefined reference to 'XMessageBox::XMessageBox(_XDisplay*)'
../engine/out.GCC34.GCC3.4+.DEBUG/engine_DEBUG.a(x86UNIXWindow.obj)(.text+0xbf0):platformX86UNIX/x86UNIXWindow.cc:456: undefined reference to 'XMessageBox::alertOKCancel(char const*, char const*)'

#1
04/27/2005 (1:33 pm)
Part 2:

../engine/out.GCC34.GCC3.4+.DEBUG/engine_DEBUG.a(x86UNIXWindow.obj)(.text+0xc22):platformX86UNIX/x86UNIXWindow.cc:459: undefined reference to 'XMessageBox::~XMessageBox()'
../engine/out.GCC34.GCC3.4+.DEBUG/engine_DEBUG.a(x86UNIXWindow.obj)(.text+0xc58):platformX86UNIX/x86UNIXWindow.cc:459: undefined reference to 'XMessageBox::~XMessageBox()'
../engine/out.GCC34.GCC3.4+.DEBUG/engine_DEBUG.a(x86UNIXWindow.obj)(.text+0xd3e): In function 'Platform::AlertRetry(char const*, char const*)':
platformX86UNIX/x86UNIXWindow.cc:482: undefined reference to 'XMessageBox::XMessageBox(_XDisplay*)'
../engine/out.GCC34.GCC3.4+.DEBUG/engine_DEBUG.a(x86UNIXWindow.obj)(.text+0xd5a):platformX86UNIX/x86UNIXWindow.cc:484: undefined reference to 'XMessageBox::alertRetryCancel(char const*, char const*)'
../engine/out.GCC34.GCC3.4+.DEBUG/engine_DEBUG.a(x86UNIXWindow.obj)(.text+0xd8c):platformX86UNIX/x86UNIXWindow.cc:487: undefined reference to 'XMessageBox::~XMessageBox()'
../engine/out.GCC34.GCC3.4+.DEBUG/engine_DEBUG.a(x86UNIXWindow.obj)(.text+0xdc2):platformX86UNIX/x86UNIXWindow.cc:487: undefined reference to 'XMessageBox::~XMessageBox()'
../engine/out.GCC34.GCC3.4+.DEBUG/engine_DEBUG.a(x86UNIXWindow.obj)(.text+0xec0): In function 'Platform::setWindowLocked(bool)':
platformX86UNIX/x86UNIXWindow.cc:535: undefined reference to 'typeinfo for UInputManager'
../engine/out.GCC34.GCC3.4+.DEBUG/engine_DEBUG.a(x86UNIXWindow.obj)(.text+0xf0d):platformX86UNIX/x86UNIXWindow.cc:539: undefined reference to 'UInputManager::setWindowLocked(bool)'
../engine/out.GCC34.GCC3.4+.DEBUG/engine_DEBUG.a(x86UNIXWindow.obj)(.text+0x10d7): In function 'Platform::process()':
platformX86UNIX/x86UNIXWindow.cc:580: undefined reference to 'PollRedbookDevices()'
../engine/out.GCC34.GCC3.4+.DEBUG/engine_DEBUG.a(x86UNIXWindow.obj)(.text+0x1308): In function 'Platform::init()':
platformX86UNIX/x86UNIXWindow.cc:684: undefined reference to 'InstallRedBookDevices()'
../engine/out.GCC34.GCC3.4+.DEBUG/engine_DEBUG.a(x86UNIXWindow.obj)(.text+0x1319):platformX86UNIX/x86UNIXWindow.cc:689: undefined reference to 'OpenGLInit'
../engine/out.GCC34.GCC3.4+.DEBUG/engine_DEBUG.a(x86UNIXWindow.obj)(.text+0x134f):platformX86UNIX/x86UNIXWindow.cc:697: undefined reference to 'OpenGLDevice::create()'
../engine/out.GCC34.GCC3.4+.DEBUG/engine_DEBUG.a(x86UNIXWindow.obj)(.text+0x1493): In function 'Platform::initWindow(Point2I const&, char const*)':
platformX86UNIX/x86UNIXWindow.cc:739: undefined reference to 'InitOpenGL()'
collect2: ld returned 1 exit status
make[1]: *** [map2dif_DEBUG.bin] Error 1
make[1]: Leaving directory '/usrc/ed/torque-head/tools'
make: *** [tools] Error 2

Anyone have any ideas as to what's going wrong? Seems like it might be related to the DEDICATED define...