CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2009
    Posts
    3

    Allegro missing files

    errors:

    C:\C++\C++\lib\allegro\include\allegro5\internal\alconfig.h|28|allegro5/platform/alplatf.h: No such file or directory|
    C:\C++\C++\lib\allegro\include\allegro5\internal\alconfig.h|53|#error platform not supported|
    C:\C++\C++\lib\allegro\include\allegro5\platform\astdint.h|45|#error I dunno how to get the definitions of fixed-width integer types on your platform. Please report this to your friendly Allegro developer.|
    C:\C++\C++\lib\allegro\include\allegro5\internal\alconfig.h|349|#error endianess not defined|
    C:\C++\C++\lib\allegro\include\allegro5\internal\alconfig.h|369|error: `bmp_read24' declared as an `inline' variable|
    C:\C++\C++\lib\allegro\include\allegro5\internal\alconfig.h|369|error: `uintptr_t' was not declared in this scope|
    C:\C++\C++\lib\allegro\include\allegro5\internal\alconfig.h|369|error: `bmp_read24' declared as an `inline' variable|
    C:\C++\C++\lib\allegro\include\allegro5\internal\alconfig.h|369|error: redefinition of `int bmp_read24'|
    C:\C++\C++\lib\allegro\include\allegro5\internal\alconfig.h|369|error: `int bmp_read24' previously defined here|
    C:\C++\C++\lib\allegro\include\allegro5\internal\alconfig.h|369|error: `uintptr_t' was not declared in this scope|
    C:\C++\C++\lib\allegro\include\allegro5\internal\alconfig.h|379|error: variable or field `bmp_write24' declared void|
    C:\C++\C++\lib\allegro\include\allegro5\internal\alconfig.h|379|error: `bmp_write24' declared as an `inline' variable|
    C:\C++\C++\lib\allegro\include\allegro5\internal\alconfig.h|379|error: `uintptr_t' was not declared in this scope|
    C:\C++\C++\lib\allegro\include\allegro5\internal\alconfig.h|379|error: expected primary-expression before "int"|
    C:\C++\C++\lib\allegro\include\allegro5\internal\alconfig.h|379|error: initializer expression list treated as compound expression|
    C:\C++\C++\lib\allegro\include\allegro5\internal\alconfig.h|379|error: variable or field `bmp_write24' declared void|
    C:\C++\C++\lib\allegro\include\allegro5\internal\alconfig.h|379|error: `bmp_write24' declared as an `inline' variable|
    C:\C++\C++\lib\allegro\include\allegro5\internal\alconfig.h|379|error: redefinition of `int bmp_write24'|
    C:\C++\C++\lib\allegro\include\allegro5\internal\alconfig.h|379|error: `int bmp_write24' previously defined here|
    C:\C++\C++\lib\allegro\include\allegro5\internal\alconfig.h|379|error: `uintptr_t' was not declared in this scope|
    C:\C++\C++\lib\allegro\include\allegro5\internal\alconfig.h|379|error: expected primary-expression before "int"|
    C:\C++\C++\lib\allegro\include\allegro5\system_new.h|30|error: `uint32_t' was not declared in this scope|
    C:\C++\C++\lib\allegro\include\allegro5\system_new.h|30|error: expected primary-expression before "char"|
    C:\C++\C++\lib\allegro\include\allegro5\system_new.h|30|error: expected primary-expression before "size"|
    C:\C++\C++\lib\allegro\include\allegro5\system_new.h|30|error: initializer expression list treated as compound expression|
    C:\C++\C++\lib\allegro\include\allegro5\utf8.h|52|error: `int32_t' does not name a type|
    C:\C++\C++\lib\allegro\include\allegro5\utf8.h|53|error: `int32_t' does not name a type|
    C:\C++\C++\lib\allegro\include\allegro5\utf8.h|54|error: `int32_t' does not name a type|
    C:\C++\C++\lib\allegro\include\allegro5\utf8.h|61|error: `int32_t' has not been declared|
    C:\C++\C++\lib\allegro\include\allegro5\utf8.h|61|error: ISO C++ forbids declaration of `c' with no type|
    C:\C++\C++\lib\allegro\include\allegro5\utf8.h|66|error: `int32_t' has not been declared|
    C:\C++\C++\lib\allegro\include\allegro5\utf8.h|66|error: ISO C++ forbids declaration of `c' with no type|
    C:\C++\C++\lib\allegro\include\allegro5\utf8.h|88|error: `int32_t' has not been declared|
    C:\C++\C++\lib\allegro\include\allegro5\utf8.h|88|error: ISO C++ forbids declaration of `c' with no type|
    C:\C++\C++\lib\allegro\include\allegro5\utf8.h|93|error: `int32_t' has not been declared|
    C:\C++\C++\lib\allegro\include\allegro5\utf8.h|93|error: ISO C++ forbids declaration of `c' with no type|
    C:\C++\C++\lib\allegro\include\allegro5\utf8.h|95|error: `int32_t' has not been declared|
    C:\C++\C++\lib\allegro\include\allegro5\utf8.h|95|error: ISO C++ forbids declaration of `c' with no type|
    C:\C++\C++\lib\allegro\include\allegro5\utf8.h|129|error: `int32_t' was not declared in this scope|
    C:\C++\C++\lib\allegro\include\allegro5\utf8.h|130|error: `int32_t' has not been declared|
    C:\C++\C++\lib\allegro\include\allegro5\utf8.h|130|error: ISO C++ forbids declaration of `c' with no type|
    C:\C++\C++\lib\allegro\include\allegro5\utf8.h|133|error: `uint16_t' was not declared in this scope|
    C:\C++\C++\lib\allegro\include\allegro5\utf8.h|135|error: `uint16_t' has not been declared|
    C:\C++\C++\lib\allegro\include\allegro5\utf8.h|135|error: ISO C++ forbids declaration of `s' with no type|
    C:\C++\C++\lib\allegro\include\allegro5\utf8.h|137|error: `uint16_t' was not declared in this scope|
    C:\C++\C++\lib\allegro\include\allegro5\utf8.h|137|error: `int32_t' was not declared in this scope|
    C:\C++\C++\lib\allegro\include\allegro5\utf8.h|137|error: initializer expression list treated as compound expression|
    C:\C++\C++\lib\allegro\include\allegro5\altime.h|17|error: `uint64_t' does not name a type|
    C:\C++\C++\lib\allegro\include\allegro5\altime.h|18|error: `uint64_t' does not name a type|
    C:\C++\C++\lib\allegro\include\allegro5\events.h|237|error: `intptr_t' does not name a type|
    ||More errors follow but not being shown.|
    ||Edit the max errors limit in compiler options...|
    ||=== Build finished: 50 errors, 0 warnings ===|

    code:

    #include <allegro.h>

    int main()
    {
    allegro_init();
    install_keyboard();
    set_gfx_mode(GFX_AUTODETECT_WINDOWED, 640,480,0,0);
    readkey();
    return 0;
    }
    END_OF_MAIN()

    i am using code::blocks 8.02
    I've moved the files to different places including mingw folder, linked everything, I just don't know what I am doing wrong.

    I have tried many different versions of allegro none of them work

  2. #2
    Join Date
    Aug 2007
    Posts
    858

    Re: Allegro missing files

    I would try asking at http://www.allegro.cc/forums/

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured