Ah ya, DarkonSB (sorry if I have the name wrong but I can not see the previous replies while posting.)
Okay, you get that lnk 1181 error I think by trying to do too much with the compiler and linker. Sid, Soren and crew were using a LAN probably type set up with a control file program.
In other words, if using CodeBlocks, make sure it is on the Final_Release version only. If you try the Debug version, it will probably put out an Error.
It will state that there is not enough file to put out the Debug Version, and for some reason that is about in the Final_Release Version also. But if using CodeBlocks, there is also the Options for Setting the Compiler before the Build of the file also in that menu part of the program. If only Setting the Compiler and Linker like in the first post, make sure -- that whenever you get up - how the compiler and linker should act, that also in the Build menu Item Drop-down list -- the compiler settings there also reflect it being the Final_Release version.
I have tried several different versions to Compile the file (like Linker Settings) just to see how large the file will turn out to be -- usually in the Optimize settings stuff like O2 vs. O1 or Ox or something one I got use to it.
It will always happen because the "Debug" whatever causes that, I think if I remember correctly.
There is only enough room to build - no Debug -- so make sure the "Final_Release" is purely the "Final_Release" without any of the Debug stuff. Check out anyplace you can set the Compiler by Codeblocks, and make sure all the various places look the same. Also use some the other settings that were mentioned in one post -- like /WindowsSubsystem -- although it is not an *.exe program -- and /OPT:REF and /OPT: _____ whatever the other one is. One will say at the end that --- all References to Kernel32.dll are disregarded in the Build at the end before it goes and makes the CvGameCoreDLL.dll and if not, then you probably will get that error.
At first I got it too, along with others, the more you work with checking out the Menus with CodeBlocks, you will see that other places in that IDE also can reflect how the Build of the file will go. It should not be necessary, but lets say that -- you are only doing one Project - that Project - so what are the Build Options for that single Project -- vs. just setting the Compiler with the post 1 Compiler Settings like it does.
So it either has to do with the "Debug" part or just making sure that for this Project - the Project is also set with the correct Compiler and Linker Options just as the General Usage Compiler and Linker Settings. They should not be different and interfere, but not making sure that it is the "Final_Release" version stated before Building the file - will produce that Error.