Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Feb 2003
    Posts
    97
    Thanks
    0
    Thanked 0 Times in 0 Posts

    installing allegro

    im having problems installing allegro for dev-c++. i got the it to fix mingw32 but when i try "make" it says this:

    C:\devcpp\allegro>make
    Compiling Allegro for MinGW32, optimised. Please wait...
    gcc -DALLEGRO_SRC -Wall -Wno-unused -mcpu=pentium -O2 -funroll-loops -ffast-math -fomit-frame-pointer -fno-strength-reduce -I. -I./include
    -o obj/mingw32/alleg/wddaccel.o -c src/win/wddaccel.c
    In file included from src\win\wddraw.h:30,
    from src/win/wddaccel.c:23:
    c:\devcpp\bin\..\lib\gcc-lib\i386-mingw32msvc\2.95.2\..\..\..\..\include\ddraw.h:153: parse error before `HMONITOR'
    c:\devcpp\bin\..\lib\gcc-lib\i386-mingw32msvc\2.95.2\..\..\..\..\include\ddraw.h:154: parse error before `HMONITOR'
    make: *** [obj/mingw32/alleg/wddaccel.o] Error 1

    i moved all of the files from c:\dxsdk\include\ to c:\devcpp\include\. then i moved all of the lib files too. is there anything else that i need to move that i havent thats causing this. or is it something else i dont know about. or am i just plain screwing up.

  • #2
    Regular Coder
    Join Date
    Nov 2002
    Location
    India
    Posts
    159
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I haven't used allegro with any compiler other than DJGPP, so I'm not sure if I could help. Try going through the readme file again. Probably you missed out setting an environment variable. Also try opening ddraw.h and see if you could find some clue. Compiling from source is almost always a difficult task .

  • #3
    jkd
    jkd is offline
    Senior Coder jkd's Avatar
    Join Date
    May 2002
    Location
    metro DC
    Posts
    3,163
    Thanks
    1
    Thanked 18 Times in 18 Posts
    A friend of mine last year tried installing Allegro under Windows, and kept having the same problem.

    His solution? He booted into Mandrake 8.2 and got it the first time through in Linux .

    I've never had much luck compiling from source libraries for Windows myself either....


  •  

    Posting Permissions

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