• 📚 A new project from the admin: Check out PictureBooks.io, an AI storyteller that lets you build custom picture books for kids in seconds. Let me know what you think here!

Compiling options

killmeplease

Mk Z on Steam
Joined
Nov 22, 2007
Messages
2,795
Location
Samara
Hello!
I'm using visual studio 2003 for sdk modding. Is there an option not to compile all the cpp files each time? I read somewhere that comiler make object (obj) files from cpps at first and they are being linked to create dll then. And it's not necessary to recompile each cpp file every time any changes were made to one of them - its possible to use precompiled objs.
Please help!
Recompilation takes too much time. :cry:
 
If you set up your compiler using Refar's guide, then this should be how it works automatically. If not, then reset up your compiler using Refar's guide.
 
I'm kind of new at this (I've been doing SDK programing for less than a week), so take it for what it's worth. I think you want to click on the project menu and open your project's properties box. Then open "configuration properties" and select "nMake". To the right, the first line should be "Build Command Line" with it's value to the right of that. It should be "nMake (Your Configuration Name)". Where (Your Configuration Name) should be the name of the configuration used in your project. My "Build Command Line" looks like this "nMake Final_Release". I'm using Visual Studio 2008, but hopfully the menus are the same or similar.
 
For the most part yes. Except that I'm using Visual C++ 2008 and a different makefile.
 
I have used refars guide: installed all the stuff and carefully set up those properties
but finally i've got this:
output.png

and this:
errors.png

please help! what the problem could it be? i use VS 2008.
 
Are you sure you are using glider's makefile? Is this a clean build, ie, are you building a default 3.19 gamecore with no changes? If not, build an unaltered one first just to ensure everything is set up correctly.
 
Are you using Refar's 3.17 makefile? CvEventReporter.cpp was added in 3.19, and it seems this class is missing from the linking phase. Use glider1's makefile instead as it was updated for 3.19.
 
Something is wrong with your basic C++ compiler setup. Can you compile a simple standalone "hello world" program? It is unable to find the exception library, which is a base part of C++.
 
Back
Top Bottom