Jump to content
  • Advertisement
Sign in to follow this  
ender7771

Linker error with new DevC++ install

This topic is 4604 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
Advertisement
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
I had dozens of those link errors earlier tonight with the same Compiler. Just turned out I needed to adjust my syntax a little.

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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!