Menu

Allegro and Dev C++ problem...

2002-10-31
2012-09-26
  • Nobody/Anonymous

    I keep getting undefined reference errors when I try to compile some source code from a tutorial I downloaded.

    <--
    c:\windows\TEMP\cchlyZcb.o
    [Warning] In function `mangled_main(int, char *)':
    [Linker error] undefined reference to `install_allegro'
    [Linker error] undefined reference to `install_keyboard'
    [Linker error] undefined reference to `set_gfx_mode'
    [Linker error] undefined reference to `readkey'
    c:\windows\TEMP\cchlyZcb.o
    [Warning] In function `WinMain':
    [Linker error] undefined reference to `_WinMain'

    -->
    I am almost 100% sure I installed allegro correctly.
    Any help would be helpfull... ( I hope )

     
    • Nobody/Anonymous

      try -lalleg so your prog gets linked to allegro ... good luck

       
    • Nobody/Anonymous

      That isn't working.
      heres what I get now...
      <--

      2 C:\WINDOWS\Desktop\Allegro Newbie Tutorial\lesson 2\2
      unable to run program file.

      -->

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.