Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > Visual C++
|
Visual C++ Questions specific to Microsoft's Visual C++. For questions not specific to this Microsoft version, use the C++ Programming forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual C++ section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 17th, 2006, 07:01 PM
Registered User
 
Join Date: Jul 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Copied Configuration Settings but Doesn't build

Hey guys,

I have a project and it has two configurations "Win32 Release" and "Win32 Debug". I wanted to add another configuration whose only difference would be a couple of extra pre-processor definitions and that's it. So I went to the Build configurations menu selected my project and selected to add another configuration and named it "Win32 Eval Release". I selected the option to copy the settings from the "Win32 Release" since i wanted this new configuration to include all the dependencies from the Release version. So I did this and then set the new configuration as active and added the new pre-processor definitions to this configuration. I then did a build and I'm getting all kinds of external Link errors and this is a snipette:

Code:
Linking...
MSVCRT.lib(cinitexe.obj) : warning LNK4098: defaultlib "msvcrtd.lib" conflicts with use of other libs; use /NODEFAULTLIB:library

HandlerClass.obj : error LNK2001: unresolved external symbol "public: void __thiscall TestLogger::TestLogException(class QString,class QString)" (?TestLogException@TestLogger@@QAEXVQString@@0@Z)

HandlerClass.obj : error LNK2001: unresolved external symbol "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >  __thiscall Altimeter::CAltimeterException::GetInfo(void)" (?GetInfo@CAltimeterException@altova@@QAE?A
V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ)
I know this is a common ocurrence but what I don't understand is why it doesn't build when I copied the configuration from the Release settings which builds fine. I even compared both configurations and they are exactly the same. Am I forgetting to look somewhere or is there something I'm not seeing?

Any comments/suggestions are much appreciated

TIA guys....

 
Old July 17th, 2006, 07:04 PM
Registered User
 
Join Date: Jul 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

By the way, I'm using Visual C++ 6.0






Similar Threads
Thread Thread Starter Forum Replies Last Post
How to remember a copied range southernsun VB How-To 2 September 2nd, 2008 12:55 AM
Custom Folder files not being copied John Leo Visual Studio 2005 0 May 14th, 2008 08:21 AM
Project-Build-Configuration section disappeared Dmitriy General .NET 1 May 7th, 2008 02:31 PM
Changing Settings.settings when assembly is in GAC evandro.paula .NET Framework 2.0 0 September 25th, 2007 09:54 AM
Build Specific Settings? chrislepingwell Visual Studio 2005 2 August 24th, 2007 06:36 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.