Earlier i had allegro installed and working. It was installed trough devpaks. Today i tried to install allegrogl manually because devpak wasn't up to date so i had to fix those enviroment values 'MINGDIR = c:/devcpp' & 'PATH = c:/devcpp/bin' (i suppose those are right?) I got everything installed manually no errors etc.
29 C Dev-cpp Makefile.win Build Error Missing Separator Stops
But now i'm getting this error when trying to compile anything (no matter what code):
[Linker error] undefined reference to `__cpu_features_init'
ld returned 1 exit status
C:devcppMakefile.win [Build Error] [Project1.exe] Error 1
29 C Dev-cpp Makefile.win Build Error Missing Separator Stop Working
I uninstalled dev c++, allegro, mingw32 everything and then installed all back and downloaded allegro devpak. And now it is still giving me the same error when trying to compile. I have no idea what is this. I have libraries linked '-lalleg' and i removed those enviroment values also, restarted but still the same. Does someone know how to fix this?
29 C Dev-cpp Makefile.win Build Error Missing Separator Stop Windows 10
So, I tried Orwel's Dev-C++ 5.4.2 and it compiled. However, when I come to run the exe, nothing opens. Tried using debugging mode, and some very weird stuff happened.
1-I placed breakpoints all over the 2 files (the main and the header file), but the debugger would ignore everything, and jumps into this line:
http://i33.servimg.com/u/f33/16/27/78/35/screen12.png
2-I clicked on 'next line', and the debugger moved normally to the next line:
http://i33.servimg.com/u/f33/16/27/78/35/screen13.png
3-I clicked on 'next line' once more expecting that the debugger would enter the main function, but then:
http://i33.servimg.com/u/f33/16/27/78/35/screen15.png
It jumped to the closing bracket of the function 'breakpoints invalid'...
4-Tried clicking 'next line' 3 more times, and I received a 'segmentation fault':
http://i33.servimg.com/u/f33/16/27/78/35/screen16.png
5-Clicking on ok with 'show CPU window' checked:
http://i33.servimg.com/u/f33/16/27/78/35/screen17.png
:
Thanks ne555, I appreciate your time and dedication =)
Oct 08, 2011 Topic archived. No new replies allowed. Information; Tutorials; Reference; Articles; Forum; Forum. Beginners; Windows Programming; UNIX/Linux Programming.
- Stack Exchange Network. Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers. Visit Stack Exchange.
- Jun 02, 2014 yeah that's one of the reasons, you may create a new project, copy-paste the code into new project and build it. If all goes OK then cool you're good to go if not come here again!