# Linker error with new DevC++ install

## Recommended Posts

ender7771    312
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 on other sites
Binary1010    103
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 on other sites
Israel213    120
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 on other sites
rip-off    10976
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.