Thread: What's wrong with my Allegro?

  1. #1
    Registered User
    Join Date
    Aug 2001
    Posts
    129

    What's wrong with my Allegro?

    While compiling Allegro 4.00 WIP I get the following error:

    Compiling Allegro for djgpp, optimised. Please wait...
    gcc -Wall -Wno-unused -I. -I./include -x assembler-with-cpp -o obj/djgpp/alleg/i
    blit16.o -c src/i386/iblit16.s
    files files files...
    In file included from src/i386/iblit16.s:23:
    src/i386/asmdefs.inc:41: obj/unix/asmdef.inc: No such file or directory (ENOENT)

    make.exe: *** [obj/djgpp/alleg/iblit16.o] Error 1
    'Cause I'm not all that stupid I see that asmdef.inc is in obj/djgpp/ and copy it there to obj/unix/. Now it goes few files further and then:

    In file included from src/dos/adlib.c:23:
    include/allegro/platform/aintdos.h:27: #error bad include
    src/dos/adlib.c:26: #error something is wrong with the makefile
    make.exe: *** [obj/djgpp/alleg/adlib.o] Error 1
    And I do try to compile it under dos (so why the obj/unix/ and include/allegro/platform/aintdos.h?).

    Words of wisdom?

  2. #2
    Registered User
    Join Date
    Sep 2001
    Posts
    140
    Umm, looks like you downloded the wrong allegro, it looks like you got some form of unix allegro.
    Acos is good

  3. #3
    Registered User
    Join Date
    Oct 2001
    Posts
    375
    Have you tried running fix.bat DJGPP yet? Just make sure you're following all the instructions found under the docs\build directory (DJGPP.TXT). If you'd like to try a Windows version, you could use my graphical installer...
    Allegro precompiled Installer for Dev-C++, MSVC, and Borland: http://galileo.spaceports.com/~springs/

  4. #4
    Registered User
    Join Date
    Dec 2007
    Posts
    1

    Post Need nasm

    On linux machines you get this error if you do not have nasm installed. Maybe you could install a version of nasm for windows?

  5. #5
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    A very impressive 6 YEARS too late I'm afraid.
    See Rule 5
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Allegro programming in a window
    By Person Man in forum Windows Programming
    Replies: 0
    Last Post: 11-16-2001, 03:23 PM
  2. Allegro vs OpenGL/DirectX
    By Hannwaas in forum Game Programming
    Replies: 9
    Last Post: 11-12-2001, 01:41 AM
  3. allegro @ msvc
    By dune911 in forum C Programming
    Replies: 4
    Last Post: 10-20-2001, 01:35 PM
  4. ALLEGRO Question
    By Unregistered in forum C Programming
    Replies: 1
    Last Post: 09-14-2001, 11:06 AM
  5. Allegro
    By The15th in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 09-14-2001, 03:06 AM