i'm using Soil in my project,i add soil in my include directories and in my precompiled header i include "Soil.h". and for the library in my precompied header i add this:

#pragma comment(lib,"SOIL")

but i got this errors:

LNK2019: unresolved external symbol __imp__wglGetProcAddress@4 referenced in function _query_DXT_capability

what is wrong with it? i'm using visual studio 2013,i add my additional include file in solution properties and additional library directories in it.

有帮助吗?

解决方案

wglGetProcAddress documentation says explicitely that it resides in Opengl32.lib.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top