Category : allegro4

I’m making a simple program that supports GUI on DOS using Allegro4. To implement mouse operation, I’ve created a shape object which presents current information of mouse. Allegro provides lots of useful global variables such as mouse_x, mouse_y, mouse_b, etc. And these can be used only after the mouse driver is installed by the following ..

Read more

For some reason I get an unhandled exception every time I try to exit my program. Visual studio breaks at allegro_exit() each time and throws the following: First-chance exception at 0x67F2884B (allegro-4.4.2-md.dll) in TMA2.exe: 0xC0000005: Access violation reading location 0xFEEEFEFE. Now here is the weird part which is driving me crazy, just before the end ..

Read more

i’m newbie at this, I am trying to follow some retro game programing tutorials in C++ with Allegro library, but i can´t get it works. At this point, I have this: -MinGW-w64 i686-8.1.0-release-posix-dwarf-rt_v6-rev0, gcc 8.1 compiler -Allegro 4.4.3 binary package (makes with the same compiler, gcc 8.1) C:MinGW32mingw32bin include in PATH I put the library ..

Read more

Well, i did all i knew to work with allegro in C++ but i keep getting the same problem, -lalleg not found D:Program Files (x86)Dev-CppMinGW64x86_64-w64-mingw32binld.exe skipping incompatible D:Program Files (x86)Dev-CppMinGW64lib/liballeg.a when searching for -lalleg D:Program Files (x86)Dev-CppMinGW64x86_64-w64-mingw32binld.exe skipping incompatible D:/Program Files (x86)/Dev-Cpp/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.2/../../../liballeg.a when searching for -lalleg D:Program Files (x86)Dev-CppMinGW64x86_64-w64-mingw32binld.exe cannot find -lalleg E:ProgramacionC++PracticasAllegroTestingcollect2.exe [Error] ld ..

Read more