best compiler


(haktrix) #1

ok first thing is i downloaded vc++ express edition and when u open the wolf file in folder src and try to copile as it is i get 1 error error ok for
game i get

------ Build started: Project: game, Configuration: Debug Win32 ------
Linking…
LINK : fatal error LNK1181: cannot open input file ‘winmm.lib’
Build log was saved at “file://c:\ET_SDK\src\game\Debug\BuildLog.htm”
game - 1 error(s), 0 warning(s)

for cgame i get

------ Build started: Project: cgame, Configuration: Debug Win32 ------
Linking…
LINK : fatal error LNK1104: cannot open file ‘odbc32.lib’
Build log was saved at “file://c:\ET_SDK\src\cgame\Debug\BuildLog.htm”
cgame - 1 error(s), 0 warning(s)

and ui
i get

------ Build started: Project: ui, Configuration: Debug Win32 ------
Linking…
LINK : fatal error LNK1104: cannot open file ‘odbc32.lib’
Build log was saved at “file://c:\ET_SDK\src\ui\Debug\BuildLog.htm”
ui - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 3 failed, 0 up-to-date, 0 skipped ==========

ok i am total noob at modding only started a week or so ago

also wot is best to mod with and compile

thanks


(El Stupido) #2

On windows LCC works fine (after some cleaning up - it doesnt like one flavor of if syntax and wants another declaration for the vmMains). Not sure if its “the best” but it works. Btw there was a post about using cross-scons (or better configuring scons to compile for windows on linux) that may be interesting to you. Hope i could help a little :slight_smile:


(Calzonzin) #3

Aside from downloading VC Express, you need to download the platform SDK. For some reason the Platform SDK files are not included in VC Express (they are in the other (non-free) versions of VS2005)


(Ragnar_40k) #4

You have to download it seperatly: http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/ (since the filesize is up to 400MB depending on your system).


(haktrix) #5

i have downloaded it already any ideads lads :banghead:


(Ragnar_40k) #6

WinMM.lib is part of the Platform SDK (subdirectory Lib/). Did you set all paths correctly as described in the link above? Alternativly you can copy the needed .lib-files to a directory where VC Express can find it.


(Calzonzin) #7

Yes, do a hello world program first, then when that works, try to compile ET


(Keymaster) #8

Ragnar_40k wrote:
http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/

These are the same instructions I had to follow before the game code would compile in MSVC++ 2005 EE. They’re somewhat involved and every step counts so just make sure you go through it slowly.