|
各位大侠,我在编译vpb链接时,提示
Destination.obj : error LNK2019: 无法解析的外部符号 "void __cdecl vpb::generateMipMap(class osg::State &,class osg::Texture &,bool,enum vpb::BuildOptions::CompressionMethod)" ([email=?generateMipMap@vpb@@YAXAAVState@osg@@AAVTexture@3@_NW4CompressionMethod@BuildOptions@1@@Z]?generateMipMap@vpb@@YAXAAVState@osg@@AAVTexture@3@_NW4CompressionMethod@BuildOptions@1@@Z[/email]),该符号在函数 "public: class osg::StateSet * __thiscall vpb:estinationTile::createStateSet(void)" ([email=?createStateSet@DestinationTile@vpb@@QAEPAVStateSet@osg@@XZ]?createStateSet@DestinationTile@vpb@@QAEPAVStateSet@osg@@XZ[/email]) 中被引用
检查此两个函数均在TEXTUREUTILS文件中定义
namespace vpb
{
extern VPB_EXPORT void compress(osg::State& state, osg::Texture& texture, osg::Texture::InternalFormatMode compressedFormat, bool generateMipMap, bool resizeToPowerOfTwo, vpb::BuildOptions::CompressionMethod method, vpb::BuildOptions::CompressionQuality quality);
extern VPB_EXPORT void generateMipMap(osg::State& state, osg::Texture& texture, bool resizeToPowerOfTwo, vpb::BuildOptions::CompressionMethod method);
}
但没有实现,请问如何处理? |
|