Can't enable Edit and Continue due to /OPT:LBR option

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hello,
I have an issue to enable "Edit and continue" feature in my VC++ 2012 solution.
During linking I always have the following message :
Video.lib(cVideo.obj) : warning LNK4075: ignoring /EDITANDCONTINUE due to /OPT:LBR specification<br/>

According to http://connect.microsoft.com/VisualStudio/feedback/details/746862
this thread the message seams to say that I need to enable incremental linking to Video.lib project. But Video.lib is a static lib project, who dont link dependencies, so the option "Enable Incremental Linking" is not available.

In addition, the top project (a managed user interface) have incremental linking enabled.
I dont understand where the problem comes from. Can you help me ?
Thanks !
NOTE: Video.lib was a DLL, I changed it for a static lib. In vcxproj some makers <LinkIncremental Condition="$(Configuration)|$(Platform)==Debug|Win32 false</LinkIncremental> was still there. I changed the "false" for "true", but the problem
remains.<br/>

<br/>


View the full article
 
Back
Top