I need some help. I opened DevC++, created a new OpenGL project with all the default settings, removed the comments, and compiled. I did not change the code in any way. I got the following errors:
[Linker error] undefined reference to '__dys_tls_init_callback'
[Linker error] undefined reference to '__cup_features_init'
What do those errors mean and, more importantly, how can I get rid of them?
All you have to do, is go to Tools->Compiler Options->Directories->Libraries --
And delete all entries (don't bother adding anything back, it won't make a difference)
After this the __cpu_features_init linker error should disappear.
I was able to compile with allegro after deleteing the library paths, because these are global paths, and the allegro path is most likely specified in the project.
Note you can still compile console applications.
Long story short: You DON'T have to reinstall Dev-C++, and you definatley DON'T have to reformat your computer.