compiling errors


(thefatladysings) #1

hi, I’m very new to modding.
I changed the names of some weapons in the limbo menu and now I want to compile the files and play it.
question #1 what files do I need to compile? (cgame, game, ui)
question #2 how do I compile them, what buttons do I need to press :smiley: (I use VC++ express)
question #3 I tried to compile cgame wth menu\build\build cgame and I got this error:

------ Build started: Project: cgame, Configuration: Debug Win32 ------
Linking...
LINK : fatal error LNK1104: cannot open file 'odbc32.lib'
Build log was saved at "file://e:\ET_SDK\src\cgame\Debug\BuildLog.htm"
cgame - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

what am I doing wrong :???:

all help appriciated :wink:


(IneQuation) #2

Odbc32? Isn’t this a system library that has something to do with databases? WTF does ET use it for?


(Chruker) #3
  1. The odbc32.lib looks odd to me too. But I just checked and cgame does indeed list odbc32.lib and odbccp32.lib as needed. Anyway after you installed VC++ Express did you also install the Windows 2003 SDK, as listed here: http://www.splashdamage.com/index.php?name=pnphpbb2&file=viewtopic&p=127449#127449

  2. When you are sure that the SDK is correctly setup with VC++ Express, you should just need to select the Build Solution from the Build menu.

  3. I would just choose to build the entire solution. It doesn’t take long. However if you only changed code in files starting with cg_ you should only need to compile cgame.


(thefatladysings) #4

yay :smiley: the compiling worked, thanks
just one more question; what files do I have to put in my mod folder so that ET recognizes it in the mods folder?


(Shanks) #5

http://www.splashdamage.com/index.php?name=pnPHPbb2&file=viewtopic&t=7051


(thefatladysings) #6

doh :bash: should’ve seen that
but now I did everything what was told me to do but I get the following error:
couldn’t load an official pak file; verify your installation and check if it is updated to the latest version.
or something like that. what files do I need to add to my mod folder?