hi, guys.
I’m making game using cocos2dx.
I completed iOS version and start android version.
So i tried to build project in Visual Studio 2013.
But when i build project, i got below error.
c:\program files (x86)\microsoft visual studio 12.0\vc\include\xmemory0(592): error C3130: Internal Compiler Error: failed to write injected code block to PDB
If anyone knows about it, then please help me.
I’m using cocos2dx 3.6.
Best regards.
Compiler Error C3130
Visual Studio 2015 Other Versions
Internal Compiler Error: failed to write injected code block to PDB
This error occurs if the compiler failed to write an injected code block to the .pdb file. The most common reason for the failure is lack of disk space.
Unfortunately you’ll have to change debugger format unless you’re willing to upgrade to the latest VS2015 (Update 2 RC 3 or whatever) or maybe upgrading to cocos2d-x 3.11 (this may not fix it, however, but I believe the issue is related to the massive number of Action class hierarchy that blows up the database and I think a recent pull request may fix the issue now that it uses templates instead, but probably not).
You should not get this error if you change to /Z7 debugging instead of the full PDB debug setting. There’s a similar topic on here I’ll find and edit this post with the link.