What cause compiling error: LNK 1257 : code generation failed?

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hi Everyone,<br/><br/>I am wondering what cases the error, fatal error LNK 1257: code generation failed"? I created a C++ static library using VS2008 and also prepared a main routine to test it. It seems works just fine. So I copied the code to another directory so that I can add other C++ libraries and start building my application based on this code. Strangely, this time this error occured (while I am compiling the same code, not even adding anything yet), I follw a suggestion I found on this Forum: logoff and re-start the system. It did not n=help. Any explanations? suggestions? Thanks for your help.<br/><br/>Tom Lin 

View the full article
 
Back
Top