Ariena
2009-08-21 20:38:55 UTC
Hi all,
Not sure if this is a good place to ask, but I figured it was worth a shot.
I'm trying to compile the Quake 2 source but can't figure it out. I tried
using "The arts of Q2 DLL coding"
(http://www.quake2.com/dll/tutorials/art/q2art1.html), but couldn't get it
to work. Seeing as though the tutorial is a decade old and I'm running
Vista, I'm thinking there may be some compatibility issues. At any rate, I
couldn't get lcc-win32 to compile the dll. I also have jGrasp on my
computer and tried to compile using that, but that also failed.
I tried another tutorial
(http://www.quake2.com/dll/tutorials/lcc/index.html) which seemed almost
successful, but ended with the errors:
g_cmds.obj .text: undefined reference to '_ChaseNext'
g_cmds.obj .text: undefined reference to '_ChasePrev'
g_main.obj .text: undefined reference to '_ServerCommand'
p_client.obj .text: undefined reference to '_SV_FilterPacket'
p_client.obj .text: undefined reference to '_GetChaseTarget'
p_client.obj .text: undefined reference to '_UpdateChaseCam'
make: Error code 8
make: 'gamex86.dll' removed.
Are these programming errors, i.e., I need to update function names in my
makefile or game.def? Or is there a different way to compile Quake 2
source? I have programming experience (Java, Python, PHP, etc), although I
am new to C / C++ and using makefiles, so you can throw geek-speak at me :)
Thanks in advance!
-- Ariena
Not sure if this is a good place to ask, but I figured it was worth a shot.
I'm trying to compile the Quake 2 source but can't figure it out. I tried
using "The arts of Q2 DLL coding"
(http://www.quake2.com/dll/tutorials/art/q2art1.html), but couldn't get it
to work. Seeing as though the tutorial is a decade old and I'm running
Vista, I'm thinking there may be some compatibility issues. At any rate, I
couldn't get lcc-win32 to compile the dll. I also have jGrasp on my
computer and tried to compile using that, but that also failed.
I tried another tutorial
(http://www.quake2.com/dll/tutorials/lcc/index.html) which seemed almost
successful, but ended with the errors:
g_cmds.obj .text: undefined reference to '_ChaseNext'
g_cmds.obj .text: undefined reference to '_ChasePrev'
g_main.obj .text: undefined reference to '_ServerCommand'
p_client.obj .text: undefined reference to '_SV_FilterPacket'
p_client.obj .text: undefined reference to '_GetChaseTarget'
p_client.obj .text: undefined reference to '_UpdateChaseCam'
make: Error code 8
make: 'gamex86.dll' removed.
Are these programming errors, i.e., I need to update function names in my
makefile or game.def? Or is there a different way to compile Quake 2
source? I have programming experience (Java, Python, PHP, etc), although I
am new to C / C++ and using makefiles, so you can throw geek-speak at me :)
Thanks in advance!
-- Ariena