Dev C Makefile Type

Hi pals,
Mac os x boot camp ubuntu. I am a Newbie in C++ Programming field. I plan to add graphics.h header class in
Dev -C++ Version 4.9.9.2 from Bloodshed which is come along with Borland Compiler.
I follow the Steps in URL : http://www.uniqueness-template.com/devcpp/#step2

Add the source and header files to the new project using Project Add to Project or the '+' sign in the middle of the top toolbar. Go to Project Project Options (Alt+P) Makefile and tick the 'Use custom makefile' option. Then point Dev-C to the custom makefile below.

But I Got Error in the Sample code which test the Working , Please Help me
to get away from this problem . I am waiting to hear from you.

Documentation On this page you will API references, tutorials, online resources, documentation downloads, etc. About C/C and Win32 programming. However, if you're looking for documentation about an add-on library, you should look at the page of that library. Hi, make syntax requires a tabulation before command lines inside rules. Ie: target: dependencies tabcommand tabother command One cannot replace the tab by spaces.

Regards
Anes P.A:'(

Dev C Makefile Type
  • 13 Contributors
  • forum 14 Replies
  • 19,432 Views
  • 5 Years Discussion Span
  • commentLatest Postby leonesaLatest Post

WaltP2,905

You can't. graphics.h is not compatible with Dev-C++

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.

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

What Is A Makefile

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?