Posts | ||
---|---|---|
Compiling Quake 2 | Locked | |
Thread Options | ||
Mar 23 2015 Anchor | ||
Hi all. I've downloaded the Quake 2 3.21 source code and I have been trying to compile it in Visual Studio C++ 2005 Express. I've gotten pretty far but now I'm experiencing these errors, and I can't figure out why: Linking... Any idea how I can remedy this? Anyone else have Q2 compiling experience? OK, So I added an additional Visual Studio library dependency from microsoft visual studio 10, and it eliminated 46 errors. Maybe I just need to add newer libraries? |
||
Mar 24 2015 Anchor | ||
Hey I am having the exact same problem were you able to completely fix this issue? Was it just updating library dependencies? Please let me know I've been messing with this for a couple of days! |
||
Mar 24 2015 Anchor | ||
I don't use 2005 to compile my Q2 code, I use 2010. I found newer then 2010 compiled but creates binaries that don't work properly for some reason. I want to say you also need the DX SDK. I needed to install the DX 9 SDK to compile code that needed that in MSVC Community 2013 even though I has the Win 8 SDK installed. |
||
Mar 24 2015 Anchor | ||
I have the dx sdk installed, was there anything else that you had to do to make it compile properly? |
||
Mar 25 2015 Anchor | ||
tiresandplanes, looking around I've found some forums that seem to help. I succesfully compiled mods with the q2 source but not the actual game client. I will be trying that soon and let you know what I come up with. The advice I checked out was that its easier to add the files manually and then compile, as opposed to trying to open a solution and compiling that. Not sure which approach you're taking. Well I just tried compiling a dll for the pure q2 source, and it worked. I used Microsoft Visual C++ 5.0 (the version that came out in 97 that a lot of oldschool q2 modders used) and that worked. I am working with the 3.21 source. I just compiled the 'game' folder. I haven't tried the client folder which is supposed to result in the .exe, nor have I tried the ref_gl or ref_soft folder files. I just added the .c files and .h files and the single game.def into a single folder called "Source" in MVSC++5.0 and compiled it and it gave me no problems whatsoever. Here's a few things.. First, if you'd like to give Visual C++ 5.0 a try let me know. I got it off a torrent and it took a long time to seed, so I'm guessing its pretty rare. I'm willing to share Second, try out these suggestions that can help you possibly. Quakewiki.net <---This is old. It's primarily for Visual Studio C++ 5.0 and I followed it to the T and it worked so again, I can offer that to you if you want. You can also go back on that webpage and find more tutorials for other compilers, but I would only trust this one since the others are very outdated. I tried pretty much all of them and there's a lot of tweaks that have to be made. However the best second option is the LCC tutorial. I have all the files for that as well, and a few more tutorials from other websites to boot if you're interested. or Forum.tastyspleen.net <-- the very first post and last post on the bottom of the first page are quite useful. Finally, I want to add that previously, even though adding more libraries did solve some things, I'm quite certain I added some that caused more problems. In my head I thought I'll just reference and point to every freaking lib folder I have, but that created some conflicts for sure. Your best bet is to add the files manually rather than opening up some outdated solution or workspace. I'm going to keep moving forward, let you know what I come up with! Ok I tried compiling the quake2.exe...get similar errors. 15..and then I made some changes..then I got 400+ errors hehe. Here's what I'm learning:
So that's a helpful hint if you're having trouble with the client. I'm going to look into that. At this point I'm not terribly concerned about compiling the client because its not a part of my immediate goals but it might be fun as a challenging project to see if I can get it to work and then share my results. Edited by: djk30 |
||
Mar 25 2015 Anchor | ||
Hey I've been using visual c++ 5.0 but was wondering if you could link me to the torrent because my version isn't the right one for the job I don't think. |
||
Mar 25 2015 Anchor | ||
Well I found this one.. Visual C ++ 6.00 ah here we go..this is the original one I downloaded. I'm still seeding it too. MSVC 5.00 with a 6.00 patch Edited by: djk30 |
||
Mar 25 2015 Anchor | ||
Hey! I tried again with my version of visual c++ and it works now! I can't compile the .exe but I can get the game folder and therefore can get a new gamex86.dll so everything is good on that front. Thanks for the help btw! |
Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.