Build Quake 1 on Visual Studio 2008
Moderator: InsideQC Admins
4 posts
• Page 1 of 1
Build Quake 1 on Visual Studio 2008
Hello all,
I'm trying to build Quake World but I can't really figure out what is wrong.
I have installed the Windows SDK and DirectX SDK, ran into the usual _errno MACRO error (renamed to qerrno).
Server, Proxy and MASM are building fine but the Client projects gives me:
3>LINK : fatal error LNK1181: cannot open input file '.\GLRelease\math.obj'
My math.h is coming from:
C:\Program Files\Microsoft Visual Studio 9.0\VC\include
I thought maybe there is a problem with the lib location for the linker but I can't find a math.lib in:
C:\Program Files\Microsoft Visual Studio 9.0\VC\lib
I tried to Google the error, to little avail so I guess It's more a C problem than a Quake problem.
I'm kinda stuck here
.
I'm trying to build Quake World but I can't really figure out what is wrong.
I have installed the Windows SDK and DirectX SDK, ran into the usual _errno MACRO error (renamed to qerrno).
Server, Proxy and MASM are building fine but the Client projects gives me:
3>LINK : fatal error LNK1181: cannot open input file '.\GLRelease\math.obj'
My math.h is coming from:
C:\Program Files\Microsoft Visual Studio 9.0\VC\include
I thought maybe there is a problem with the lib location for the linker but I can't find a math.lib in:
C:\Program Files\Microsoft Visual Studio 9.0\VC\lib
I tried to Google the error, to little avail so I guess It's more a C problem than a Quake problem.
I'm kinda stuck here
- nicolasbol
- Posts: 9
- Joined: Mon Feb 23, 2009 6:47 pm
uhm actually quake has its own math.h if it cant find it it means gas2masm couldnt create it "problem since net version of msvc"
you need to alter the properties of each asm file removing all " so it looks like this
you need to alter the properties of each asm file removing all " so it looks like this
- Code: Select all
cl /EP > $(OUTDIR)\$(InputName).spp $(InputPath)
..\gas2masm\debug\gas2masm < $(OUTDIR)\$(InputName).spp > $(OUTDIR)\$(InputName).asm
ml /c /Cp /coff /Fo$(OUTDIR)\$(InputName).obj /Zm /Zi $(OUTDIR)\$(InputName).asm
del $(OUTDIR)\$(InputName).spp
-

revelator - Posts: 2567
- Joined: Thu Jan 24, 2008 12:04 pm
- Location: inside tha debugger
Thanks reckless,
I found what was the problem.
I probably screwed up when offered to convert all projects, deleting everything and starting over from q1sources.zip:
- Fix the errno Macro error.
- Add LIBC.lib to ignored library in qwcl project.
Built 4 projects perfectly. It looks like Visual Studio 2008 is doing much better than it predecessor regarding quake compilation.
I found what was the problem.
I probably screwed up when offered to convert all projects, deleting everything and starting over from q1sources.zip:
- Fix the errno Macro error.
- Add LIBC.lib to ignored library in qwcl project.
Built 4 projects perfectly. It looks like Visual Studio 2008 is doing much better than it predecessor regarding quake compilation.
- nicolasbol
- Posts: 9
- Joined: Mon Feb 23, 2009 6:47 pm
yep its pretty good but can also be a p.i.t.a
especially with its warnings about crt libs not certain to be secure
and aye libc needs to be ignored newer msvc only comes with the c++ runtime.
well glad you got it running
and aye libc needs to be ignored newer msvc only comes with the c++ runtime.
well glad you got it running
-

revelator - Posts: 2567
- Joined: Thu Jan 24, 2008 12:04 pm
- Location: inside tha debugger
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest