Func_Msgboard: Problems Building Fitzquake

News | Forum | People | FAQ | Links | Register | Log in

|  | Problems Building Fitzquake

Posted by liquidlogic [64.252.161.205] on 2007/01/19 04:31:04
I've tried opening the latest Fitzquake source code in Visual C++ Express, and the "gas2masm" project always turns out to be corrupt. Has anyone experienced this problem?

No.
#1 posted by tron [203.94.140.5] on 2007/01/19 04:46:30
I'm not a coder. Next time if you do want to start a thread it might be best to condense the questions into one. :)
It May Simply Mean
#2 posted by HeadThump [4.136.111.34] on 2007/01/19 05:20:53
you don't have Masm installed.
So...
#3 posted by metlslime [69.181.182.38] on 2007/01/19 09:39:30
I was going to respond to your email but since you posted the same question here, this is a better place to respond.
There are a number of problems with compiling fitzquake from the source if you install it in an empty directory. Some of these problems are solved by copying over files from a glquake source directory, and other problems are actually problems with the original glquake source. Finally, some problems are caused by using express edition.
I had these problems compiling with MSVC6:
1. no dxsdk in zip
2. no gas2masm in zip
3. gas2masm goes into wrong place (or, the custom build step looks for it in the wrong place)
4. no ml.exe
Lunaran had these problems compiling with Express Edition:
1. no dxsdk in zip
2. no gas2masm in zip
3. gas2masm project tries to link odbc32.lib (lunaran doesn't have it, gas2masm doesn't need it anyway)
4. gas2masm goes into wrong place (or, the custom build step looks for it in the wrong place)
5. no ml.exe
6. errno already defined
7. no odbc32.lib for fitzquake (he did have the necessary libs, though, see above list)
8. winquake.rc needs afxres.h (he solved this by commenting out the "starting quake" dialog in winquake.rc)
9. inconsistent errors compiling msxml.h (he just kept compiling until they didn't happen)
More Information:
#4 posted by metlslime [69.181.182.38] on 2007/01/19 09:45:17
So you need to get dxsdk and gas2masm source directories from the original engine source.
Next, you need to download ml.exe from somewhere... it's hard to find. Microsoft doesn't seem to have it available.
Next, you need to edit the project settings to fix it so gas2masm gets built into the correct place
Next, you need to clean up the linked libraries in the project settings. Here is a list of libraries fitzquake needs:.\dxsdk\sdk\lib\dxguid.lib opengl32.lib comctl32.lib winmm.lib wsock32.lib user32.lib gdi32.lib
This is a list of libraries fitzquake doesn't need, so you can remove them from the project settings if you're getting errors about not finding them: glu32.lib kernel32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
And, you need to rename the "errno" variable to something like "errno2"
Even after all that, there are still some problems Lunaran reported that I don't have solutions for. This is annoying, but I guess it's what happens when my version of MSVC is 7 years old.
Hope this helps at least partially.
Masm
#5 posted by Preach [131.111.8.99] on 2007/01/19 15:59:10
You can use the version of masm from http://www.masm32.com/ if you can't find the microsoft copy of ml.exe, it's what I did.
The Msxml One Is Pretty Much The Only One Left I Think
#6 posted by Lunaran [24.159.240.226] on 2007/01/19 21:03:09
although since, thanks to what seems to my non-programmer mind to be some pretty bloaty interdependence in the dxsdk, msxml.h gets recompiled for every damn file in fitzquake, usually it'll fail about a dozen times in any single engine build. I just keep whacking F7 and crossing my fingers.
Very Helpful
#7 posted by liquidlogic [64.252.161.205] on 2007/01/20 00:23:17
You have all been very helpful. Many of the problems John listed I ran into when trying to compile the original Quake source code from id, such as the errno variable issue, and managed to fix them. But later I ran into a "missing LIBC.lib" error that stumped me. I had decided that it wouldn't make sense to build from the old source when Fitzquake is so well-improved. I'll keep you posted on any problems I run into.
Missing Header?
#8 posted by liquidlogic [64.252.161.205] on 2007/01/20 01:12:24
VC++ 2005 Express spat the following at me:
fitzquake080src\gl_texmgr.c(26) : fatal error C1083: Cannot open include file: 'imdebug-0.931b-bin/imdebug.h': No such file or directory
I haven't found any imdebug library around the original QUAKE source tree, nor the Fitzquake source tree...
Ah Yeah...
#9 posted by metlslime [204.15.3.5] on 2007/01/20 01:25:45
I forgot about that too. It's safe to delete the line with that #include
Successful Compile/Link But..
#10 posted by liquidlogic [64.252.161.205] on 2007/01/20 02:01:43
When I run the Fitzquake executable the screen bugs out. I can hear some sound, but a lot of it is missing and the area where the Quake logo is goes yellow apart from the "teleport" texture to the left. Here is a screenshot:
http://jengle.waferbaby.com/tmp/er...
Scratch That
#11 posted by liquidlogic [64.252.161.205] on 2007/01/20 02:23:07
Apparently it was an issue with my autoexec.cfg file.
Cl_bobcycle Error
#12 posted by liquidlogic [64.252.161.205] on 2007/01/20 02:36:38
It seems that when cl_bobcycle is set to 0, the program bugs out as I've shown in the screen shot.

Post A Reply:

Name: |
Title: |
Body: |

Website copyright © 2002-2011 John Fitzgibbons. All posts are copyright their respective authors.