News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Problem compiling c++ win7 MinGW "_unwind_resume"

Started by rolfarj, March 07, 2011, 02:07:11 AM

Previous topic - Next topic

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

If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

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.


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)

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