Menu

Bug detected in SDL library

2003-02-01
2012-09-26
  • Nobody/Anonymous

    Hi to all

    I've created an SDL proyect, and I had a compilation error that says that can not found   libiberty.h

    I'm solutionated it by commenting this line and all the asprintf at the project. But I want this file, can you help me???

     
    • Nobody/Anonymous

      What version of Dev / gcc are you using?

      Wayne

       
    • Nobody/Anonymous

      DevC++ 5 beta with all upgrades

       
    • Nobody/Anonymous

      You did not answer the most important question, which version of gcc?

      Wayne

       
    • Nobody/Anonymous

      Sorry, was interupted.  Dev 4.9.7.x can ome with either gcc-2.95 or gcc-3.2.  Note that not all libraries have been recompiled to work with the newer version.  I am not saying this is your problem, but its a step towards solving things..

      Wayne

       
    • Nobody/Anonymous

      If he's like me, he's running DevC++ 4.9.7.x with the GCC 3.2, which doesn't have a libiberty.h file anywhere.

      The SDL package I downloaded and installed with Package Manager, put itself in the Miscellaneous tab of the New Project window.  Itworks fine but the SDL in the Multimedia tab doesn't work because of the libiberty.h not being there.

      David Bierbaum.  Programming uber newbie student.

       
    • Nobody/Anonymous

      Note: I just found out the idiotically simple solution to this problem.

      JUST DELETE THE "INCLUDE <LIBIBERTY.H> LINE!

      After that it will compile just fine.  I guess they moved the info somewhere else, so that the <libiberty.h> line is no longer needed.

      Save yourself some trouble by opening the "templates" folder, and modifying the SDL_c.txt file

      David Bierbaum; printf("programming newbie");

       

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.