Can Someone explain to me how to read MSVC linkage errors in general.
An example is one I have just hit which I know means that somewhere in my code I am attempting to link something dynamically that isn't there.
What I would like to understand is how to read the error message properly so I can work out exactly which module I have left a dllimport on in.
Error LNK2019 unresolved external symbol "__declspec(dllimport) public: enum SILLY::PixelFormat __cdecl SILLY::Image::getSourcePixelFormat(void)const " (__imp_?getSourcePixelFormat@Image@SILLY@@QEBA?AW4PixelFormat@2@XZ) referenced in function "public: virtual class CEGUI::Texture * __cdecl CEGUI::SILLYImageCodec::load(class CEGUI::RawDataContainer const &,class CEGUI::Texture *)" (?load@SILLYImageCodec@CEGUI@@UEAAPEAVTexture@2@AEBVRawDataContainer@2@PEAV32@@Z) helloworldui C:\Users\XXXXXX\Documents\Audio Development\evil-sounds\build\helloworldui\cegui64sd.lib(ImageCodec.cpp.obj
) 1
I think it means that CEGUI::SILLYImageCodec::load
is trying to load SILLY:Image::getSourcePixelFormat
as a dll when I want it to load a static library.
The load@SILLYImageCodec@CEGUI@@UEAAPEAVTexture@2@AEBVRawDataContainer@2@PEAV32@@Z
bit is throwing me off - it seems backwards.