User forums > Help

Problem compiling c++ win7 MinGW "_unwind_resume"

(1/1)

rolfarj:
Hi. I just reinstalled codeblocks because of some problems. Now, i cant compile my C++ projects (have not tried any other languages).

The message i get is "undefined reference to '_unwind_resume' ".

-I am running windows 7
-I downloaded the latest codeblocks with mingw included.
-I have included C:\Program Files\CodeBlocks\MinGW\bin to the system path
-I tried installing codeblocks withoud mingw and downloading mingw seperately. same result
-I also tried TDM-GCC with the same result
-Everything worked fine before i reinstalled :(

I have included an image of the error in the link below:
http://img695.imageshack.us/f/capture2igq.png/

Any idea? Ive spent 6 hours trying to solve this, so i appreciate any suggestions. I am pretty desperate by now


ollydbg:
you should first read here:
2.14 Q: How do I troubleshoot an compiler problem?

Jenna:
Try to rebuild (clean and build) your projects.

rolfarj:

--- Quote from: jens on March 07, 2011, 06:48:56 am ---Try to rebuild (clean and build) your projects.


--- End quote ---

Thank you so much Jens! I have no idea why that worked, but it did :D Saved me a lot of frustration. I owe you a beer.

(If anyone would like to explain why i needed to clean and build, that would be great. All installation paths are the same as before the re-install)

Jenna:

--- Quote from: rolfarj on March 07, 2011, 12:28:54 pm ---(If anyone would like to explain why i needed to clean and build, that would be great. All installation paths are the same as before the re-install)

--- End quote ---

Most likely, because your former and your actual compiler use different (incompatible) methods of error handling.

Navigation

[0] Message Index

Go to full version