I am not familiar with C/C++ but I have to use vsvars32.bat to build an executable file. When I run vsvars32.bat i get some unresolved external symbol
errors. I did a little bit of research and it seems that they occur because the lib that contains the definition are not included (Unresolved external symbol in object files).
Here is a one of the error:
libxml2.lib(error.obj) : error LNK2001: unresolved external symbol ___iob_func
I was provided the libxml2.lib
file. I'm guessing that I'm getting this error because I need to copy it someplace where vsvars32.bat
will look for it. I've been looking through the vsvars32.bat
file and it looks like there's three libraries that are defined:
- Windows SDK (
%WindowsSdkDir%
) - NETFXSDK (
%NETFXSDKDir%
) - UCRTVersion (
%UCRTVersion%
)
I was able to locate the NETFXSDK library folders on my machine but not the two others. I also noticed that I don't have any system variables named WindowsSdkDir
, NETFXSDKDir
or UCRTVersion
. Is there something else that I should install or run? Am I on the totally wrong track?