Installing and using the SDK

I've just started trying to set up the development environment (according to the first post) and I am getting a LINK error on 2 python files. What have I set up wrong in the environment to get the following:


CyInfoInterface3.obj error LNK2019...... (x7)
CyUnit.obj error LNK2019:.... (x6)
..\Assets\CvGameCoreDLL.dll fatal errpr LNK1120: 13 unresolved externals

Cheers for any help
 
unresolved externals means that it is unable to find the library files that contain the compiled code for functions referenced in the dll (in particular CyUnit and CyInfoInterface3 according to the error messages). What was the complete set of error messages?
 
Sample error is:

unresolved external symbol "public: bool __thiscall CvUnit::isFlying(void)const " (?isFlying@CvUnit@@QBE_NXZ) referenced in functino "public: bool __thiscall CyUnit::isFlying(void)" (?isFlying@CyUnit@@QAE_NXZ)

The others are along the same lines. First of all, this is the SDK + files from a mod(I am using a built mod to browse through the code and see how things hang to gether). I have not altered the mod files and they are supposed to be the source files for the mod that correctly work. Also I have checked the CvUnits and Cyunits files in this case (above error) and all the function names appear to be fine. So I assume there is a problem with my environment and how it is linking these files during the build.

This is one of the mod added functions - isFlying comes from the Roger Bacon Flying mod.
 
Thats odd - there is a CvUnit::isFlying defined in CvUnit.cpp? Do try compiling just the SDK, w/o the mod, to see if it works then.
 
Sorry I just found the issue, and its a bad and embarrasing really :blush: . It came down to the fact I was using a tool (codeblocks) I was not familiar with. Because it doesn't log files as "dirty" if you copy a new file into a directory like my normal tool at work, I didn't realise I needed to do a clean build once I copied all the mod C++ files in....

Sorry about the time wasting, it all complies fine now....
 
keldath said:
hello,

i have done everything that the list above says,

but still,
i have know idea how to merge inside a mod that i want - for the sake of argue - dales mod.
Try using the program Beyond Compare to compare the non-modified source files and the ones for the mod.
 
I thought I might be able to do some "modding" with Civ 4, but now I've just fully realised that I'm bolloxed!
 
Jesus Civs said:
I thought I might be able to do some "modding" with Civ 4, but now I've just fully realised that I'm bolloxed!

You dont have to touch the SDK to mod Civ4. Thats just the most advanced level.
 
I am getting the following error below, any idea's on what I am doing wrong.
(It is generating the proper .dll though, just not sure about all these warnings.


Spoiler :
Creating library ..\Warlords\Assets\CvGameCoreDLL.lib and object ..\Warlords\Assets\CvGameCoreDLL.exp
libcp.lib(string.obj) : warning LNK4099: PDB 'libcp.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\libcp.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libcp.pdb'; linking object as if no debug info
LIBC.lib(wcsncpy.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(wcslen.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(wcsicmp.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(wcscat.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(strtok.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(strnicmp.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(stricmp.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(strdup.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(woutput.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(vsnwprnt.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(vsnprint.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(swprintf.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(sprintf.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(output.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(fflush.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(fclose.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(closeall.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(_getbuf.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(_freebuf.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(_flswbuf.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(_flsbuf.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(_file.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(fputwc.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(fp8.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(stdenvp.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(stdargv.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(dllcrt0.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(crt0msg.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(crt0init.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(crt0fp.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(crt0dat.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(winxfltr.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(winsig.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(w_str.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(w_map.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(convrtcp.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(rand.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(purevirt.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(onexit.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(nlsdata2.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(nlsdata1.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(ctype.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(crtmbox.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(cmiscdat.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(abort.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(a_str.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(a_map.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(a_env.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(secfail.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(seccook.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(seccinit.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(secchk.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(loadcfg.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(mbctype.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(ismbspc.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(write.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(osfinfo.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(lseeki64.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(lseek.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(isatty.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(ioinit.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(commit.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(close.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(_newmode.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(handler.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(sbheap.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(realloc.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(msize.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(malloc.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(heapinit.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(free.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(calloc.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(resetstk.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(dosmap.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(wtof.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(wctomb.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(wcstombs.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(towlower.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(tolower.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(mbtowc.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(iswctype.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(isctype.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(atox.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(atof.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
LIBC.lib(_fptostr.obj) : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBC.lib' or at 'C:\Documents and Settings\Ket\Desktop\Warlords\Assets\libc.pdb'; linking object as if no debug info
Process terminated with status 0 (18 minutes, 8 seconds)
0 errors, 86 warnings

 
so looking through the thread - is there no way to use the debugging tools if you are using CodeBlocks? I've seen comments about using the debugger with VC but nothing yet for CB. Outputting messages are fine if you have added code and unit testing, but if your chasing a reported bug, it's a bit of a mare
 
Ok so I have done all what it said to do in post 1 (thanks for that by the way), all seems to have done what its meant to do.

So now, how do I add someone elses mod code to the vanilla code?

Any help would be great as a lot of people are releasing there codes now and I would like to add them to my own *.dll

Never used these tools before so please be gentle. :blush:

Many Regards

Riker13 :crazyeye:
 
I've done everything said in post one, but when I tried to build the project, I happen to get a huge list of warnings. Here's a partial list:

C:\Program Files\Microsoft Platform SDK\Include\MMSystem.h(1837) : warning C4201: nonstandard extension used : nameless struct/union
C:\Program Files\Microsoft Platform SDK\Include\MMSystem.h(1841) : warning C4201: nonstandard extension used : nameless struct/union
C:\Program Files\Microsoft Platform SDK\Include\MMSystem.h(1862) : warning C4201: nonstandard extension used : nameless struct/union
C:\Program Files\Microsoft Platform SDK\Include\MMSystem.h(1866) : warning C4201: nonstandard extension used : nameless struct/union
Boost-1.32.0\include\boost\python\detail\wrapper_base.hpp(24) : warning C4100: 'x' : unreferenced formal parameter
Boost-1.32.0\include\boost\python\detail\wrapper_base.hpp(82) : warning C4100: 'self' : unreferenced formal parameter
Boost-1.32.0\include\boost\python\converter\registrations.hpp(64) : warning C4512: 'boost::python::converter::registration' : assignment operator could not be generated
Boost-1.32.0\include\boost\python\converter\registrations.hpp(34) : see declaration of 'boost::python::converter::registration'
Boost-1.32.0\include\boost\python\converter\builtin_converters.hpp(124) : warning C4244: 'argument' : conversion from 'const long double' to 'double', possible loss of data
Boost-1.32.0\include\boost\python\converter\builtin_converters.hpp(124) : warning C4244: 'argument' : conversion from 'const long double' to 'double', possible loss of data
Boost-1.32.0\include\boost\python\converter\builtin_converters.hpp(124) : warning C4244: 'argument' : conversion from 'const long double' to 'double', possible loss of data
Boost-1.32.0\include\boost\python\converter\builtin_converters.hpp(128) : warning C4244: 'argument' : conversion from 'long double' to 'double', possible loss of data
Boost-1.32.0\include\boost\python\converter\builtin_converters.hpp(128) : warning C4244: 'argument' : conversion from 'long double' to 'double', possible loss of data
Boost-1.32.0\include\boost\python\converter\builtin_converters.hpp(128) : warning C4244: 'argument' : conversion from 'long double' to 'double', possible loss of data
Boost-1.32.0\include\boost\python\converter\builtin_converters.hpp(128) : warning C4244: 'argument' : conversion from 'long double' to 'double', possible loss of data
Boost-1.32.0\include\boost\python\converter\builtin_converters.hpp(128) : warning C4244: 'argument' : conversion from 'long double' to 'double', possible loss of data
Boost-1.32.0\include\boost\python\converter\builtin_converters.hpp(128) : warning C4244: 'argument' : conversion from 'long double' to 'double', possible loss of data
..........................


and it goes on and on, most of them having the same type of warning. Theres just too many for me to list. I'm using Windows Server 2003 SP1 SDK and codeblocks. Am I missing anything here? I have no idea how to fix it.
 
Yes is their any progress on the Debugging front for CodeBlocks?
 
Newbie question: Does the response below mean that it worked?

Code:
   Creating library ..\Mods\mymod\CvGameCoreDLL.lib and object ..\Mods\mymod\CvGameCoreDLL.exp
Process terminated with status 0 (20 minutes, 23 seconds)
0 errors, 0 warnings

Does it normally take that long? I have an old athlon 1.4 gHz (.5 gig ram) but even so, i would have thought it would be faster?
 
Is it best to copy CvGameCoreDLL to something like MyModCvGameCoreDLL, and changed attributes on the folder to remove read only, then open it with codeblocks?
 
1. That's the right sort of message, but in this case make sure that you have a CvGameCoreDLL.dll somewhere, as that particular message doesn't say it has made one. I can believe a 20 min compile time - C++ is SLOW about that, it sucks.

2. Definitely make a copy + remove readonly - you will probably want to make a different mod at some point, and having to reextract can be annoying - especially if you deleted the zip and need to redownload. Also, having the original to compare to can be useful.
 
Back
Top Bottom