I've recently swung around to wanting to mod quake 2 again; but I'm having a devil of a time getting it to compile.
downloaded the latest KMquake2 source (lazarus included)
I initially tried compiling in the CodeBlocks IDE with Borland C++ 5.5 with no success and am now trying VS2008.
When I open the project in VS2008; it fails to compile because it can't find 'ver.h' which is in the .rc file...which fails to load.
I just feel very lost and confused over what should be a relatively simple process.
compiling quake 2
Perhaps this solves your problem:
http://forums.inside3d.com/viewtopic.php?t=2920
The thread started like this ...

http://forums.inside3d.com/viewtopic.php?t=2920
The thread started like this ...
And ended like this ...franqutrass wrote:I have a problem with the KMQuake 2 source code when I compile the "engine source code (updated ) you can download of here:
Seems like better than average odds to me.franqutrass wrote:ohh, my god, thanks¡¡¡¡¡¡¡¡
many thanks¡¡¡¡¡¡¡¡¡
you are a GOD
The night is young. How else can I annoy the world before sunsrise?
Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
Ok; I tried the trick with AFXRES.h file; replacing Ver.h with the same snippet of code to no avail.
The whole DLL compiles with just warnings...except for this one file (ver.h) i've scoured the folders but can't find it.
EDIT:did some googling; seems ver.h has to do with VS versions. I cahnged
#include "ver.h"
to
#include "winver.h" (the updated ver.h file for newer VS)
and viola the problem went away!
HOWEVER
now the Linker is crapping out during compiling the DLL
-googling again; solution was to update VS8
-done; and now it compiles without error
thanks for the help!
The whole DLL compiles with just warnings...except for this one file (ver.h) i've scoured the folders but can't find it.
EDIT:did some googling; seems ver.h has to do with VS versions. I cahnged
#include "ver.h"
to
#include "winver.h" (the updated ver.h file for newer VS)
and viola the problem went away!
HOWEVER
now the Linker is crapping out during compiling the DLL
-googling again; solution was to update VS8
-done; and now it compiles without error
thanks for the help!
I am glad you got it to compileSubject9x wrote:Ok; I tried the trick with AFXRES.h file; replacing Ver.h with the same snippet of code to no avail.
The whole DLL compiles with just warnings...except for this one file (ver.h) i've scoured the folders but can't find it.
EDIT:did some googling; seems ver.h has to do with VS versions. I cahnged
#include "ver.h"
to
#include "winver.h" (the updated ver.h file for newer VS)
and viola the problem went away!
HOWEVER
now the Linker is crapping out during compiling the DLL
-googling again; solution was to update VS8
-done; and now it compiles without error
thanks for the help!
The night is young. How else can I annoy the world before sunsrise?
Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..