CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Threaded View

  1. #1
    Join Date
    Feb 2007

    [SOLVED] How to compile one project in Release in a Debug solution

    Hello all,

    My solution is made up of several different projects. I want to be able to compile one of these projects in Release all the time, even if the global configuration and all the other projects are in Debug.

    (If you're wondering, my application has some time-critical constraints. We sometimes need to use the Debug version to get more information/traces when reproducing specific problems. But one particular project in the solution -- the SQLite library -- is so slow when compiled in Debug that it causes more problems itself because of the time constraints. Since I trust that SQLite is fairly well debugged already, I see no need to compile it in Debug anyway.)

    When linking, here are the errors/warning I get:
    Warning	1	warning LNK4075: ' /EDITANDCONTINUE' ignoré à cause de la spécification '/INCREMENTAL:NO'	classes_log.lib	
    Error	2	error LNK2005: _calloc déjà défini(e) dans libcmtd.lib(dbgheap.obj)	LIBCMT.lib	
    Warning	3	warning LNK4098: conflit entre la bibliothèque par défaut 'LIBCMT' et les autres bibliothèques*; utilisez /NODEFAULTLIB:library	classes_dhm	
    Error	4	fatal error LNK1169: un ou plusieurs symboles définis à différentes reprises ont été rencontrés	S:\output\DMU.exe	1
    The messages are in French but the error codes LNKxxxx should be the same.

    Any help in getting rid of these errors would be greatly appreciated.

    Sorry for my broken English. If I wasn't clear, or if you need more info, please ask!
    Last edited by wlof; August 25th, 2009 at 05:02 AM. Reason: Problem solved

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.