Sign in to follow this  

Linker error with new DevC++ install

This topic is 4412 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I updated my devc++ by unistalling my old copy and downloading the newest one and installing it, mingw and all. Now, even if I want to build a simple program, it gives me this ambiguous linker error: [Linker error] undefined reference to `__w32_sharedptr_initialize' [Linker error] undefined reference to `_Unwind_SjLj_Register' [Linker error] undefined reference to `_Unwind_SjLj_Unregister' And then it repeats the last two forever until my compiler ran out of memory. Any ideas? I'll probably do a re-install sooner or later, but does anyone have any clue?

Share this post


Link to post
Share on other sites
Yeah, a reinstall would probably be your best bet. What kind of project did you create when you get these errors? Unless it's an OpenGL project, no libraries are linked by default, so you shouldn't be getting linker errors anyway. In the Project Options page, click the Parameters tab, and make sure nothing is in the Linker field.

Share this post


Link to post
Share on other sites
when you're uninsstalling dev-cpp, do it properly.

i've had problems (and solved them) by completly uninstalling it and deleting its config files. if you had a newish version it will automatically clean up its config files, but if you're upgrading a quite old one you'll ned to manually do it.

Share this post


Link to post
Share on other sites

This topic is 4412 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this