Allegro.cc - Online Community

Allegro.cc Forums » Installation, Setup & Configuration » Windows 10, MinGW, and Allegro 4.4.2

This thread is locked; no one can reply to it. rss feed Print
Windows 10, MinGW, and Allegro 4.4.2
RyTracer
Member #12,102
July 2010
avatar

Okay, if you saw my message earlier, I have made some progress, so I have new questions. I've got Windows 10 with Orwell Dev-C++ installed which comes with MinGW 4.9.2. In the files section of this site there are no binaries for 4.9.2, only up to 4.5.2, which I hope is good enough. After installing those, it still won't link my compiled code and says it can't find -lalleg, which to my reasoning means liballeg.a is missing. Sure enough, that is not contained in the binary zip anywhere, just a million other versions all of which don't work on code that has compiled before. I really don't want to figure out cmake and try to make the files that are missing. Or maybe they aren't missing? What am I missing? This has been such a frustrating last few hours, because yesterday, when I still had Windows 7, everything worked fine, but I haven't set up a programming environment in years, just using the install from a couple of years ago. I could really use better instructions than is in the documentation. Please help.

---
I dream in vectors.
RyTracer Games

Edgar Reynaldo
Major Reynaldo
May 2007
avatar

Greetings RyTracer!

Really, cmake is nothing to be worried about, and yes you need it because there are no compatible binaries. MinGW 4.5.2 Allegro 4.4.2 binaries won't work under MinGW 4.9.1. You need to build Allegro yourself. I recommend cloning latest 4.4.3 from GIT.

For that you'd need GIT (I recommend TortoiseGIT)

You can view the 4.4 branch on github here (and download a zip of the repo as well if you want to avoid using GIT) :
https://github.com/liballeg/allegro5/tree/4.4

and clone the repo here :
https://github.com/liballeg/allegro5.git

Make sure to then checkout the 4.4 branch
git checkout 4.4

After that install cmake and make sure to select the option to add it to your path.

Then verify from a command prompt that you have a working MinGW installation and you have your mingw\bin subdirectory on the path as well.
gcc --version

Then run the following commands from a terminal after navigating to the folder that contains your allegro source files :

cd allegro
mkdir build
cd build
cmake-gui ..
mingw32-make
mingw32-make install

You can change where you want them installed by modifying the CMAKE_INSTALL_PREFIX cmake variable in cmake-gui. SHARED controls whether you build dynamic or static libraries. CMAKE_BUILD_TYPE controls whether you get 'Debug' or 'Release' mode libraries.

Repeat that for each different build of allegro you want.

RyTracer
Member #12,102
July 2010
avatar

When I try to make the makefile, using mingw32-make it comes up with lots of errors and stops at about 22% and I have no idea where the files end up. Thoughts?

---
I dream in vectors.
RyTracer Games

Edgar Reynaldo
Major Reynaldo
May 2007
avatar

You'll have to post the errors you're coming up with, or I can't help you. Usually the first few are the real errors. But post them all in <code>code</code> tags.

Don't worry about where the files go yet. They don't really go anywhere until 'mingw32-make install' happens.

RyTracer
Member #12,102
July 2010
avatar

Here's the end of the make command log. The beginning is cleared out because it was too far back.

#SelectExpand
1nsion of macro 'bmp_write16' 2 bmp_write##bits(addr, color); \ 3 ^ 4C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\glyph.c:158:4: note: in expansion of macro 'DRAW_GLYPH' 5 DRAW_GLYPH(16, sizeof(int16_t)); 6 ^ 7C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\glyph.c: In function '_linear_draw_glyph32': 8C:/Users/RYANOP~1/Desktop/ALLEGR~1.2/allegro/include/allegro/internal/alconfig.h:394:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 9 #define bmp_write32(addr, c) (*((uint32_t *)(addr)) = (c)) 10 ^ 11C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\glyph.c:92:9: note: in expansion of macro 'bmp_write32' 12 bmp_write##bits(addr, color); \ 13 ^ 14C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\glyph.c:186:4: note: in expansion of macro 'DRAW_GLYPH' 15 DRAW_GLYPH(32, sizeof(int32_t)); 16 ^ 17C:/Users/RYANOP~1/Desktop/ALLEGR~1.2/allegro/include/allegro/internal/alconfig.h:394:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 18 #define bmp_write32(addr, c) (*((uint32_t *)(addr)) = (c)) 19 ^ 20C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\glyph.c:94:9: note: in expansion of macro 'bmp_write32' 21 bmp_write##bits(addr, bg); \ 22 ^ 23C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\glyph.c:186:4: note: in expansion of macro 'DRAW_GLYPH' 24 DRAW_GLYPH(32, sizeof(int32_t)); 25 ^ 26C:/Users/RYANOP~1/Desktop/ALLEGR~1.2/allegro/include/allegro/internal/alconfig.h:394:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 27 #define bmp_write32(addr, c) (*((uint32_t *)(addr)) = (c)) 28 ^ 29C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\glyph.c:113:9: note: in expansion of macro 'bmp_write32' 30 bmp_write##bits(addr, color); \ 31 ^ 32C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\glyph.c:186:4: note: in expansion of macro 'DRAW_GLYPH' 33 DRAW_GLYPH(32, sizeof(int32_t)); 34 ^ 35[ 6%] Building C object CMakeFiles/allegro.dir/src/graphics.c.obj 36[ 6%] Building C object CMakeFiles/allegro.dir/src/gsprite.c.obj 37C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\gsprite.c: In function '_soft_draw_gouraud_sprite': 38C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\gsprite.c:142:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 39 pixel = bmp_read24((unsigned long)(sprite->line[j-y] + (i-x)*3)); 40 ^ 41[ 6%] Building C object CMakeFiles/allegro.dir/src/gui.c.obj 42C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\gui.c: In function 'cmp_tab': 43C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\gui.c:574:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 44 int ret = (int)((AL_CONST unsigned long)d2 - (AL_CONST unsigned long)d1); 45 ^ 46C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\gui.c:574:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 47 int ret = (int)((AL_CONST unsigned long)d2 - (AL_CONST unsigned long)d1); 48 ^ 49C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\gui.c: In function 'cmp_shift_tab': 50C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\gui.c:590:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 51 int ret = (int)((AL_CONST unsigned long)d1 - (AL_CONST unsigned long)d2); 52 ^ 53C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\gui.c:590:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 54 int ret = (int)((AL_CONST unsigned long)d1 - (AL_CONST unsigned long)d2); 55 ^ 56[ 6%] Building C object CMakeFiles/allegro.dir/src/guiproc.c.obj 57C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\guiproc.c: In function 'd_text_list_proc': 58C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\guiproc.c:1368:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 59 if ((int)((unsigned long)d->dp3) < ustrlen(thisitem)) { 60 ^ 61C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\guiproc.c:1369:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 62 for (a=0; a < (int)((unsigned long)d->dp3); a++) { 63 ^ 64C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\guiproc.c:1376:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 65 if ((!failure) && (utolower(ugetat(thisitem, (int)(unsigned long)d->dp3)) == utolower(c))) { 66 ^ 67C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\guiproc.c:1378:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 68 d->dp3 = (void *)((unsigned long)d->dp3 + 1); 69 ^ 70C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\guiproc.c:1378:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 71 d->dp3 = (void *)((unsigned long)d->dp3 + 1); 72 ^ 73[ 7%] Building C object CMakeFiles/allegro.dir/src/inline.c.obj 74[ 7%] Building C object CMakeFiles/allegro.dir/src/joystick.c.obj 75[ 7%] Building C object CMakeFiles/allegro.dir/src/keyboard.c.obj 76[ 7%] Building C object CMakeFiles/allegro.dir/src/lbm.c.obj 77[ 7%] Building C object CMakeFiles/allegro.dir/src/libc.c.obj 78[ 8%] Building C object CMakeFiles/allegro.dir/src/lzss.c.obj 79[ 8%] Building C object CMakeFiles/allegro.dir/src/math.c.obj 80[ 8%] Building C object CMakeFiles/allegro.dir/src/math3d.c.obj 81[ 8%] Building C object CMakeFiles/allegro.dir/src/midi.c.obj 82[ 8%] Building C object CMakeFiles/allegro.dir/src/mixer.c.obj 83[ 9%] Building C object CMakeFiles/allegro.dir/src/modesel.c.obj 84[ 9%] Building C object CMakeFiles/allegro.dir/src/mouse.c.obj 85[ 9%] Building C object CMakeFiles/allegro.dir/src/pcx.c.obj 86[ 9%] Building C object CMakeFiles/allegro.dir/src/poly3d.c.obj 87[ 9%] Building C object CMakeFiles/allegro.dir/src/polygon.c.obj 88[ 10%] Building C object CMakeFiles/allegro.dir/src/quantize.c.obj 89[ 10%] Building C object CMakeFiles/allegro.dir/src/quat.c.obj 90[ 10%] Building C object CMakeFiles/allegro.dir/src/readbmp.c.obj 91[ 10%] Building C object CMakeFiles/allegro.dir/src/readfont.c.obj 92[ 10%] Building C object CMakeFiles/allegro.dir/src/readsmp.c.obj 93[ 11%] Building C object CMakeFiles/allegro.dir/src/rle.c.obj 94[ 11%] Building C object CMakeFiles/allegro.dir/src/rotate.c.obj 95[ 11%] Building C object CMakeFiles/allegro.dir/src/rsfb.c.obj 96[ 11%] Building C object CMakeFiles/allegro.dir/src/scene3d.c.obj 97[ 11%] Building C object CMakeFiles/allegro.dir/src/sound.c.obj 98[ 12%] Building C object CMakeFiles/allegro.dir/src/spline.c.obj 99[ 12%] Building C object CMakeFiles/allegro.dir/src/stream.c.obj 100[ 12%] Building C object CMakeFiles/allegro.dir/src/text.c.obj 101[ 12%] Building C object CMakeFiles/allegro.dir/src/tga.c.obj 102C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\tga.c: In function 'load_tga_pf': 103C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\tga.c:284:29: warning: variable 'top' set but not used [-Wunused-but-set-variable] 104 short unsigned int left, top, image_width, image_height; 105 ^ 106C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\tga.c:284:23: warning: variable 'left' set but not used [-Wunused-but-set-variable] 107 short unsigned int left, top, image_width, image_height; 108 ^ 109C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\tga.c:283:23: warning: variable 'first_color' set but not used [-Wunused-but-set-variable] 110 short unsigned int first_color, palette_colors; 111 ^ 112[ 12%] Building C object CMakeFiles/allegro.dir/src/timer.c.obj 113[ 13%] Building C object CMakeFiles/allegro.dir/src/unicode.c.obj 114C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\unicode.c: In function 'uoffset': 115C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\unicode.c:740:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 116 return (long)s - (long)orig; 117 ^ 118C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\unicode.c:740:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 119 return (long)s - (long)orig; 120 ^ 121C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\unicode.c: In function 'ustrsize': 122C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\unicode.c:1786:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 123 return (long)last - (long)orig; 124 ^ 125C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\unicode.c:1786:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 126 return (long)last - (long)orig; 127 ^ 128C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\unicode.c: In function 'ustrsizez': 129C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\unicode.c:1803:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 130 return (long)s - (long)orig; 131 ^ 132C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\unicode.c:1803:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 133 return (long)s - (long)orig; 134 ^ 135C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\unicode.c: In function 'ustrtol': 136C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\unicode.c:2316:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 137 *endp = (char *)s + uoffset(s, (long)myendp - (long)t); 138 ^ 139C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\unicode.c:2316:53: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 140 *endp = (char *)s + uoffset(s, (long)myendp - (long)t); 141 ^ 142C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\unicode.c: In function 'ustrtod': 143C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\unicode.c:2340:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 144 *endp = (char *)s + uoffset(s, (long)myendp - (long)t); 145 ^ 146C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\unicode.c:2340:53: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 147 *endp = (char *)s + uoffset(s, (long)myendp - (long)t); 148 ^ 149C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\unicode.c: In function 'decode_format_string': 150C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\unicode.c:2951:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 151 slen = sprint_hex(string_arg, &info, FALSE, (unsigned long)(va_arg(args, void *))); 152 ^ 153[ 13%] Building C object CMakeFiles/allegro.dir/src/vtable.c.obj 154[ 13%] Building C object CMakeFiles/allegro.dir/src/vtable15.c.obj 155[ 13%] Building C object CMakeFiles/allegro.dir/src/vtable16.c.obj 156[ 13%] Building C object CMakeFiles/allegro.dir/src/vtable24.c.obj 157[ 14%] Building C object CMakeFiles/allegro.dir/src/vtable32.c.obj 158[ 14%] Building C object CMakeFiles/allegro.dir/src/vtable8.c.obj 159[ 14%] Building C object CMakeFiles/allegro.dir/src/c/cblit16.c.obj 160[ 14%] Building C object CMakeFiles/allegro.dir/src/c/cblit24.c.obj 161[ 14%] Building C object CMakeFiles/allegro.dir/src/c/cblit32.c.obj 162[ 15%] Building C object CMakeFiles/allegro.dir/src/c/cblit8.c.obj 163[ 15%] Building C object CMakeFiles/allegro.dir/src/c/ccpu.c.obj 164[ 15%] Building C object CMakeFiles/allegro.dir/src/c/ccsprite.c.obj 165[ 15%] Building C object CMakeFiles/allegro.dir/src/c/cgfx15.c.obj 166[ 15%] Building C object CMakeFiles/allegro.dir/src/c/cgfx16.c.obj 167[ 16%] Building C object CMakeFiles/allegro.dir/src/c/cgfx24.c.obj 168[ 16%] Building C object CMakeFiles/allegro.dir/src/c/cgfx32.c.obj 169[ 16%] Building C object CMakeFiles/allegro.dir/src/c/cgfx8.c.obj 170[ 16%] Building C object CMakeFiles/allegro.dir/src/c/cmisc.c.obj 171[ 16%] Building C object CMakeFiles/allegro.dir/src/c/cscan15.c.obj 172[ 17%] Building C object CMakeFiles/allegro.dir/src/c/cscan16.c.obj 173[ 17%] Building C object CMakeFiles/allegro.dir/src/c/cscan24.c.obj 174[ 17%] Building C object CMakeFiles/allegro.dir/src/c/cscan32.c.obj 175[ 17%] Building C object CMakeFiles/allegro.dir/src/c/cscan8.c.obj 176[ 17%] Building C object CMakeFiles/allegro.dir/src/c/cspr15.c.obj 177[ 18%] Building C object CMakeFiles/allegro.dir/src/c/cspr16.c.obj 178[ 18%] Building C object CMakeFiles/allegro.dir/src/c/cspr24.c.obj 179[ 18%] Building C object CMakeFiles/allegro.dir/src/c/cspr32.c.obj 180[ 18%] Building C object CMakeFiles/allegro.dir/src/c/cspr8.c.obj 181[ 18%] Building C object CMakeFiles/allegro.dir/src/c/cstretch.c.obj 182[ 19%] Building C object CMakeFiles/allegro.dir/src/c/czscan15.c.obj 183[ 19%] Building C object CMakeFiles/allegro.dir/src/c/czscan16.c.obj 184[ 19%] Building C object CMakeFiles/allegro.dir/src/c/czscan24.c.obj 185[ 19%] Building C object CMakeFiles/allegro.dir/src/c/czscan32.c.obj 186[ 19%] Building C object CMakeFiles/allegro.dir/src/c/czscan8.c.obj 187[ 20%] Building C object CMakeFiles/allegro.dir/src/misc/ccolconv.c.obj 188[ 20%] Building C object CMakeFiles/allegro.dir/src/misc/colconv.c.obj 189[ 20%] Building RC object CMakeFiles/allegro.dir/src/win/dllver.rc.obj 190[ 20%] Building C object CMakeFiles/allegro.dir/src/win/gdi.c.obj 191[ 20%] Building C object CMakeFiles/allegro.dir/src/win/wddaccel.c.obj 192[ 21%] Building C object CMakeFiles/allegro.dir/src/win/wddbmp.c.obj 193[ 21%] Building C object CMakeFiles/allegro.dir/src/win/wddbmpl.c.obj 194[ 21%] Building C object CMakeFiles/allegro.dir/src/win/wddraw.c.obj 195[ 21%] Building C object CMakeFiles/allegro.dir/src/win/wddfull.c.obj 196[ 22%] Building C object CMakeFiles/allegro.dir/src/win/wddlock.c.obj 197C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\win\wddlock.c: In function 'gfx_directx_lock': 198C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\win\wddlock.c:168:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 199 pitch = (long)parent->line[1] - (long)parent->line[0]; 200 ^ 201C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\win\wddlock.c:168:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 202 pitch = (long)parent->line[1] - (long)parent->line[0]; 203 ^ 204C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\win\wddlock.c: In function 'gfx_directx_autolock': 205C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\win\wddlock.c:266:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 206 pitch = (long)parent->line[1] - (long)parent->line[0]; 207 ^ 208C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\win\wddlock.c:266:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 209 pitch = (long)parent->line[1] - (long)parent->line[0]; 210 ^ 211[ 22%] Building C object CMakeFiles/allegro.dir/src/win/wddmode.c.obj 212[ 22%] Building C object CMakeFiles/allegro.dir/src/win/wddovl.c.obj 213C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\win\wddovl.c: In function 'init_directx_ovl': 214C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\win\wddovl.c:323:30: error: 'GCL_HBRBACKGROUND' undeclared (first use in this function) 215 SetClassLong(allegro_wnd, GCL_HBRBACKGROUND, (LONG) overlay_brush); 216 ^ 217C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\win\wddovl.c:323:30: note: each undeclared identifier is reported only once for each function it appears in 218C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\win\wddovl.c:323:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 219 SetClassLong(allegro_wnd, GCL_HBRBACKGROUND, (LONG) overlay_brush); 220 ^ 221C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\win\wddovl.c: In function 'gfx_directx_ovl_exit': 222C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\win\wddovl.c:448:33: error: 'GCL_HBRBACKGROUND' undeclared (first use in this function) 223 SetClassLong(allegro_wnd, GCL_HBRBACKGROUND, (LONG) NULL); 224 ^ 225C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\src\win\wddovl.c:448:52: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 226 SetClassLong(allegro_wnd, GCL_HBRBACKGROUND, (LONG) NULL); 227 ^ 228CMakeFiles\allegro.dir\build.make:2703: recipe for target 'CMakeFiles/allegro.dir/src/win/wddovl.c.obj' failed 229mingw32-make[2]: *** [CMakeFiles/allegro.dir/src/win/wddovl.c.obj] Error 1 230CMakeFiles\Makefile2:66: recipe for target 'CMakeFiles/allegro.dir/all' failed 231mingw32-make[1]: *** [CMakeFiles/allegro.dir/all] Error 2 232Makefile:126: recipe for target 'all' failed 233mingw32-make: *** [all] Error 2 234 235C:\Users\Ryan Opp\Desktop\allegro-4.4.2\allegro\build>

Those two errors at the end and the failed business and the fact that it only made it to 22% is what is probably the main concern, right?

I really appreciate your help so far and your continued help.

---
I dream in vectors.
RyTracer Games

Edgar Reynaldo
Major Reynaldo
May 2007
avatar

Okay, how bout this then :

mingw32-make install 1<&2 >makelog.txt

And then attach makelog.txt to (one of) your posts. (You won't see any output on the command line, it will all go to makelog.txt).

You can safely? ignore the warnings for now. The real error is in it not being able to find GCL_HBRBACKGROUND which is in winuser.h, which windows.h includes, which is included by winalleg.h, which is included by aintwin.h, which is included by wddraw.h, which is included by wddovl.c, which is the file it says can't find GCL_HBRBACKGROUND.

Which version of allegro are you using? A zip of the latest git? I recently rebuilt allegro 4.4.3 from git and I don't have any errors when building allegro on Windows Vista with MinGW 4.8.1.

RyTracer
Member #12,102
July 2010
avatar

I was using 4.4.2 from sourceforge. After getting 4.4.3 from github, everything worked. Thanks.

---
I dream in vectors.
RyTracer Games

Go to: