Solution: Modify the project properties by right-clicking on the project –& GT; “Properties”
1. “C/C + +” — — & gt; “Routine” –& GT;” Debug information format set to C7 Compatible (/Z7)
2. “C/C + +” — — & gt; “Code Generation” –& GT; Enable String Pool “set to” Is (/GF)”
3. “Linker” –& GT; “Commissioning” –& GT; Set “yes (/DEBUG)”
to generate DEBUG information
And then you’re ready to compile.
1. “C/C + +” — — & gt; “Routine” –& GT;” Debug information format set to C7 Compatible (/Z7)
2. “C/C + +” — — & gt; “Code Generation” –& GT; Enable String Pool “set to” Is (/GF)”
3. “Linker” –& GT; “Commissioning” –& GT; Set “yes (/DEBUG)”
to generate DEBUG information
And then you’re ready to compile.