Results 1 to 3 of 3

Thread: Getting the SOIL lib working

  1. #1
    Junior Member Newbie
    Join Date
    Oct 2013
    Posts
    3

    Getting the SOIL lib working

    Hay guys I know there a lots of threats where people ask how to get it working, but (ofc) mine is a bit different.

    I'm using VS2012 and can't compile the .lib by myself, so I want to ask you how to make it work.

    I included the headers alrdy and now I only need the libSOIL.lib. I tested if setting the path to the lib folder and renaming the libSOIL.a to libSOIL.lib works but it doesn't work for me.

    Is there a posibility to get this working on VS2012?

    Would be nice to get an answer and sry if this is a silly question but I didn't find any solution to it.

    Greetings
    UndeadLeech

  2. #2
    Newbie Frequent Contributor
    Join Date
    Mar 2016
    Posts
    896
    Are you getting errors from the linker (please post them) or what exactly is the problem you are running into? Are you listing the library under "additional libraries" (or similar) in the linker tab of the project settings?
    For C++ code it is (in general) not possible to use code compiled with a different version of VS - the ABI changes between versions - for C code the same problem may exist. So if you are unlucky you may still have to compile the lib yourself.

  3. #3
    Junior Member Newbie
    Join Date
    Oct 2013
    Posts
    3
    Errors I'm getting are these typical linker errors I think:

    Code :
     
    Error	1	error LNK2019: unresolved external symbol __alloca referenced in function _stbi_zlib_decode_noheader_buffer
    Error	2	error LNK2019: unresolved external symbol _sqrtf referenced in function _RGBE_to_RGBdivA2

    I should have linked right. Added path and (not existing) .lib (tried to rename the .a) and other stuff worked like that.

    I think I would have to compile it myself but don't really know how I do it because I can't find any VC++2012 files in there to compile it.
    Aren't there any precompiled VC++2012 libs for SOIL? Or can anyone help and tell me what i have to compile because I can't use anything existing in the file you can download on the website of SOIL.

    I know this might be pretty noobish but I thought that's what the beginners forum is there for.

    I'm looking for an easy way to get this lib working would be nice if I could get ur help and go back to my project!

    Greetings
    UndeadLeech

Similar Threads

  1. Where can I get SOIL.lib for x64?
    By 8Observer8 in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 05-03-2017, 03:50 PM
  2. Soil Installation Problems
    By alafrenz in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 02-10-2016, 09:01 PM
  3. Need help desperately with SOIL
    By bandan in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 12-22-2015, 06:45 PM
  4. SOIL library , how to use
    By Chayan Vinayak in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 08-03-2011, 11:43 PM
  5. Cannot get SOIL to work
    By vkerkez in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 01-30-2010, 12:06 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean