• Advertisement
Sign in to follow this  

SOIL linking problem [SOLVED]

This topic is 2127 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I get this error when I link SOIL.lib

[CODE]
1>------ Build started: Project: OpenGL, Configuration: Debug Win32 ------
1>SOIL.lib(stb_image_aug.o) : error LNK2019: unresolved external symbol __alloca referenced in function _stbi_zlib_decode_noheader_buffer
1>SOIL.lib(image_helper.o) : error LNK2019: unresolved external symbol _sqrtf referenced in function _RGBE_to_RGBdivA2
1>C:\Users\Pc\Documents\Visual Studio 2010\Projects\Project\Debug\OpenGL.exe : fatal error LNK1120: 2 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
[/CODE]


SOLVED:

Needed to rebuild the lib.

Used the vc8 project.

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement