VC++ Express 2005

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Zeromus
Posts: 16
Joined: Mon Mar 05, 2007 1:53 am

VC++ Express 2005

Post by Zeromus »

Does anyone know how to set all the libraries and stuff in Microsoft Visual C++ Express 2005? I don't think 6.0 is the same as Express...
Midnight
Posts: 1772
Joined: Fri Jul 02, 2004 2:37 pm
Location: Wonderland

Post by Midnight »

for project based includes

project->properties->C++->General->Additional Include Directories

project->properties->Linker->General->Additional Library Directories

for global

Tools->Options->Projects and Solutions->VC++ Directories

then there is a combobox to the right which has include and library


there ya are dude. 8)
Zeromus
Posts: 16
Joined: Mon Mar 05, 2007 1:53 am

Post by Zeromus »

Midnight wrote:for project based includes

project->properties->C++->General->Additional Include Directories

project->properties->Linker->General->Additional Library Directories

for global

Tools->Options->Projects and Solutions->VC++ Directories

then there is a combobox to the right which has include and library


there ya are dude. 8)
Cool, it works now but it gives me a warning:
------ Rebuild All started: Project: 06.2DGraphics_vc8, Configuration: Debug Win32 ------
Deleting intermediate and output files for project '06.2DGraphics_vc8', configuration 'Debug|Win32'
Compiling...
main.cpp
Linking...
main.obj : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL:NO' specification
Embedding manifest...
Build log was saved at "file://c:\Irrlicht SDK\irrlicht-1.2\examples\06.2DGraphics\Debug\BuildLog.htm"
06.2DGraphics_vc8 - 0 error(s), 1 warning(s)
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========
Is that a optional thing or is it serious?
vitek
Bug Slayer
Posts: 3919
Joined: Mon Jan 16, 2006 10:52 am
Location: Corvallis, OR

Post by vitek »

That warning isn't a big deal. It is just telling you that the compile and link options are not consistent. If you leave things as-is, you won't be able to use the edit-and-continue debugging feature with whatever library or executable that you are building. This feature can be quite useful.

If you want to use edit-and-continue debugging, you should change the project linker option Enable Incremental Linking [Project | Properties | Linker | General] to Yes. If you don't want to use edit-and-continue, you can set the Debug Information Format option [Project | Properties | C/C++ | General] to any of the other options.

Travis
Zeromus
Posts: 16
Joined: Mon Mar 05, 2007 1:53 am

Post by Zeromus »

Thanks, now it compiles properly. Now how do you do that globally?
vitek
Bug Slayer
Posts: 3919
Joined: Mon Jan 16, 2006 10:52 am
Location: Corvallis, OR

Post by vitek »

I don't believe that there is a global setting for those. They are per-project. I dunno what the defaults are, but I would not expect them to be in conflict.

Travis
Post Reply