Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: SOIL undefined reference?

  1. #1
    Junior Member Newbie
    Join Date
    Jun 2012
    Posts
    3

    SOIL undefined reference?

    hi i've just started learning opengl and i'm having trouble with uploading images/textures. i downloaded the soil library,included it in my header file, and linked it by doing Project->build options->linker settings. but when i compile and run my program i get many "undefined reference" errors.
    can someone please help me?

    thanks!

  2. #2
    Junior Member Regular Contributor Kopelrativ's Avatar
    Join Date
    Apr 2011
    Posts
    214
    This is not an OpenGL question, so I don't think you are getting much help here. Look for a forum that is using your IDE, whichever that is.

    Sometimes it is easier to just read the BMP file. You don't need a library for that (free source code easy to find). You don't need png files to save space, as the bitmap in OpenGL is going to be unpacked anyway.

  3. #3
    Junior Member Newbie
    Join Date
    Jun 2012
    Posts
    3
    alright i found some code for loading the bmp, i'll try it. thanks!

Tags for this Thread

Posting Permissions

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