Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. ERROR: undefined reference to 'auxDIBImageLoadA'

ERROR: undefined reference to 'auxDIBImageLoadA'

Scheduled Pinned Locked Moved C#
helpgraphicsgame-devlearning
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Ratul Thakur
    wrote on last edited by
    #1

    Hi there.., i am learning opengl from the NeHe tutorials(NO GLUT). i am getting the error undefined reference to 'auxDIBImageLoadA' while compiling. i am using codeblocks. the codeblock is:

    AUX_RGBImageRec *LoadBMP(char *Filename)
    {
    FILE *File=NULL;
    if(!Filename)
    {
    return NULL;
    }
    File = fopen(Filename,"r");
    if(File)
    {
    fclose(File);
    return auxDIBImageLoad(Filename);
    }
    return NULL;
    }

    I have added reference to link libglaux.a already. HELP!!!!

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups