Samaursa
Samaursa

Reputation: 17271

Visual C++ 2008 Linking (specifically embedding manifest) taking too long

Normally I would refrain from asking vague questions but in this case I cannot find enough information to even start looking into fixing the issue.

My project is small (to give you an idea: Vector/Matrix math, and some core data structures such as Arrays, Lists and Strings). Some other much bigger projects I tried link really quickly and do not spend too much time embedding the manifest.

I am compiling the debug version of the library. Release version exhibits the same problem.

I would appreciate pointing me in the right direction on where to find information regarding this (I don't even know what the manifest is apart from simple explanations).

Upvotes: 5

Views: 1147

Answers (2)

Chris
Chris

Reputation: 21

Exclude the processes "cl.exe", "link.exe" and "mt.exe" from your virus scanner. That covers most build output.

Upvotes: 2

Samaursa
Samaursa

Reputation: 17271

As Hans Passant mentioned, the problem was caused by the virus scanner. Adding an exception to the folder and file extensions related to the compiler fixes the issue.

Upvotes: 3

Related Questions