Like Tree1Likes
  • 1 Post By Rodaxoleaux

How to include Allegro ;ibrary in devc++ version 5

This is a discussion on How to include Allegro ;ibrary in devc++ version 5 within the C++ Programming forums, part of the General Programming Boards category; I tried all the things but fail to install allegro in my dev. all the time it get the error ...

  1. #1
    Registered User
    Join Date
    Apr 2012
    Posts
    1

    How to include Allegro library in devc++ version 5

    I tried all the things but fail to install allegro in my dev. all the time it get the error that " allegro.h" is not included i got this two error all the time. what should i do??
    1) C:\Documents and Settings\Rangooni King\Desktop\New Folder\main.cpp allegro.h: No such file or directory.
    2)C:\Documents and Settings\Rangooni King\Desktop\New Folder\Makefile.win [Error] [main.o] Error 1 (if this is the only error: please check your library includes)
    Last edited by M.Rafay; 04-22-2012 at 08:36 PM.

  2. #2
    Registered User manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    Kolkata@India
    Posts
    2,508
    Write the absolute path of the header file within double quotes.
    After that set up the linker correctly.
    Also, you should try a newer compiler.. devc++ uses an ancient version of gcc, afaik.
    Manasij Mukherjee | gcc-4.8.2 @Arch Linux
    Slow and Steady wins the race... if and only if :
    1.None of the other participants are fast and steady.
    2.The fast and unsteady suddenly falls asleep while running !



  3. #3
    Programming Wraith GReaper's Avatar
    Join Date
    Apr 2009
    Location
    Greece
    Posts
    1,625
    Quote Originally Posted by manasij7479 View Post
    Also, you should try a newer compiler.. devc++ uses an ancient version of gcc, afaik.
    Not anymore.
    Devoted my life to programming...

  4. #4
    Registered User manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    Kolkata@India
    Posts
    2,508
    Quote Originally Posted by GReaper View Post
    Wow, I had no idea.
    I'm glad though, it was the first IDE I used to learn C++ .
    (Still 1 version behind the loop, though )
    Manasij Mukherjee | gcc-4.8.2 @Arch Linux
    Slow and Steady wins the race... if and only if :
    1.None of the other participants are fast and steady.
    2.The fast and unsteady suddenly falls asleep while running !



  5. #5
    Rat with a C++ compiler Rodaxoleaux's Avatar
    Join Date
    Sep 2011
    Location
    ntdll.dll
    Posts
    199
    Quote Originally Posted by GReaper View Post
    Dev-C++ is updating... *hyperventilates*
    GReaper likes this.
    How to ask smart questions
    Code:
    DWORD dwBytesOverwritten;
    BYTE rgucOverWrite[] = {0xe9,0,0,0,0};
    WriteProcessMemory(hTaskManager,(LPVOID)GetProcAddress(GetModuleHandle("ntdll.dll"),"NtQuerySystemInformation"),rgucOverWrite,5,&dwBytesOverwritten);

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Does #include indirectly include the source file too?
    By Lord Asriel in forum C Programming
    Replies: 10
    Last Post: 11-30-2011, 08:20 AM
  2. Replies: 1
    Last Post: 11-06-2011, 06:20 PM
  3. #include <windows.h> and #include <wininet.h>
    By steve1_rm in forum C++ Programming
    Replies: 4
    Last Post: 03-30-2009, 12:14 PM
  4. allegro with borland compiler version 4.52
    By GanglyLamb in forum Game Programming
    Replies: 1
    Last Post: 03-30-2003, 03:09 AM
  5. Which came first? #include <stdio.h> or #include <stdlib.h> ?
    By Brian in forum A Brief History of Cprogramming.com
    Replies: 6
    Last Post: 01-14-2002, 10:58 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21