BullseyeCoverage Up Contents Search

Error LNK2011 precompiled object not linked in; image may not run

Symptoms

The error below occurs with Microsoft Visual Studio 2012, 2013 or 2015.

error LNK2011: precompiled object not linked in; image may not run

Cause

You created a precompiled header with BullseyeCoverage instrumentation enabled and then used the precompiled header with instrumentation disabled.

Resolution

Rebuild everything either with instrumentation enabled or with instrumentation disabled.

Updated: 3 Sep 2024