任何人都可以帮助我了解创建这些错误消息的原因吗?
undefined reference to `_imp___ZN2sf6Sprite14setTextureRectERKNS_4RectIiEE'
undefined reference to `_imp___ZN2sf7TextureD1Ev'
undefined reference to `_imp___ZN2sf7TextureD1Ev'
undefined reference to `_imp___ZN2sf7Texture9setSmoothEb'
undefined reference to `_imp___ZN2sf7Texture12loadFromFileERKSsRKNS_4RectIiEE'
undefined reference to `_imp___ZN2sf7TextureD1Ev'
undefined reference to `_imp___ZN2sf7TextureD1Ev'
undefined reference to `_imp___ZN2sf7TextureD1Ev'
我在处理使用静态库B的项目A时得到这些,在B中进行一些小的更改后编译没有错误。我重新编译了一切。我假设它与静态链接到库B有某种关系。
我正在使用mingw和codeblocks。