|
最近下载了osg3.2.1进行编译,其他部分基本编译通过了。但是Plugin dae、Plugin nvtt编译问题一直存在问题,目前的情况是:
1、Plugin dae编译通过了,也生成了osgdb_dae.dll、osg_daed.dll文件,但是在读取dae文件时,仍然提示没有插件不知何故?
2、Plugin nvtt一直无法编译通过,提示无法解析的外部符合,但是在源文件里明明有相应的函数,不知道是何原因,各位高手给指点下。nvtt编译错误如下:
NVTTImageProcessor.obj : error LNK2019: 无法解析的外部符号 "public: __cdecl nvtt::InputOptions::~InputOptions(void)" (??1InputOptions@nvtt@@QEAA@XZ),该符号在函数 "protected: void __cdecl NVTTProcessor::process(class osg::Image &,enum nvtt::Format,bool,bool,enum osgDB::ImageProcessor::CompressionMethod,enum osgDB::ImageProcessor::CompressionQuality)" (?process@NVTTProcessor@@IEAAXAEAVImage@osg@@W4Format@nvtt@@_N2W4CompressionMethod@ImageProcessor@osgDB@@W4CompressionQuality@78@@Z) 中被引用
2>NVTTImageProcessor.obj : error LNK2019: 无法解析的外部符号 "public: __cdecl nvtt::CompressionOptions::~CompressionOptions(void)" (??1CompressionOptions@nvtt@@QEAA@XZ),该符号在函数 "protected: void __cdecl NVTTProcessor::process(class osg::Image &,enum nvtt::Format,bool,bool,enum osgDB::ImageProcessor::CompressionMethod,enum osgDB::ImageProcessor::CompressionQuality)" (?process@NVTTProcessor@@IEAAXAEAVImage@osg@@W4Format@nvtt@@_N2W4CompressionMethod@ImageProcessor@osgDB@@W4CompressionQuality@78@@Z) 中被引用
2>NVTTImageProcessor.obj : error LNK2019: 无法解析的外部符号 "public: __cdecl nvtt::OutputOptions::~OutputOptions(void)" (??1OutputOptions@nvtt@@QEAA@XZ),该符号在函数 "protected: void __cdecl NVTTProcessor::process(class osg::Image &,enum nvtt::Format,bool,bool,enum osgDB::ImageProcessor::CompressionMethod,enum osgDB::ImageProcessor::CompressionQuality)" (?process@NVTTProcessor@@IEAAXAEAVImage@osg@@W4Format@nvtt@@_N2W4CompressionMethod@ImageProcessor@osgDB@@W4CompressionQuality@78@@Z) 中被引用
2>NVTTImageProcessor.obj : error LNK2019: 无法解析的外部符号 "public: __cdecl nvtt::Compressor::~Compressor(void)" (??1Compressor@nvtt@@QEAA@XZ),该符号在函数 "protected: void __cdecl NVTTProcessor::process(class osg::Image &,enum nvtt::Format,bool,bool,enum osgDB::ImageProcessor::CompressionMethod,enum osgDB::ImageProcessor::CompressionQuality)" (?process@NVTTProcessor@@IEAAXAEAVImage@osg@@W4Format@nvtt@@_N2W4CompressionMethod@ImageProcessor@osgDB@@W4CompressionQuality@78@@Z) 中被引用
2>NVTTImageProcessor.obj : error LNK2019: 无法解析的外部符号 "public: bool __cdecl nvtt::Compressor::process(struct nvtt::InputOptions const &,struct nvtt::CompressionOptions const &,struct nvtt::OutputOptions const &)const " (?process@Compressor@nvtt@@QEBA_NAEBUInputOptions@2@AEBUCompressionOptions@2@AEBUOutputOptions@2@@Z),该符号在函数 "protected: void __cdecl NVTTProcessor::process(class osg::Image &,enum nvtt::Format,bool,bool,enum osgDB::ImageProcessor::CompressionMethod,enum osgDB::ImageProcessor::CompressionQuality)" (?process@NVTTProcessor@@IEAAXAEAVImage@osg@@W4Format@nvtt@@_N2W4CompressionMethod@ImageProcessor@osgDB@@W4CompressionQuality@78@@Z) 中被引用
2>NVTTImageProcessor.obj : error LNK2019: 无法解析的外部符号 "public: bool __cdecl nvtt::Compressor::isCudaAccelerationEnabled(void)const " (?isCudaAccelerationEnabled@Compressor@nvtt@@QEBA_NXZ),该符号在函数 "protected: void __cdecl NVTTProcessor::process(class osg::Image &,enum nvtt::Format,bool,bool,enum osgDB::ImageProcessor::CompressionMethod,enum osgDB::ImageProcessor::CompressionQuality)" (?process@NVTTProcessor@@IEAAXAEAVImage@osg@@W4Format@nvtt@@_N2W4CompressionMethod@ImageProcessor@osgDB@@W4CompressionQuality@78@@Z) 中被引用
2>NVTTImageProcessor.obj : error LNK2019: 无法解析的外部符号 "public: void __cdecl nvtt::Compressor::enableCudaAcceleration(bool)" (?enableCudaAcceleration@Compressor@nvtt@@QEAAX_N@Z),该符号在函数 "protected: void __cdecl NVTTProcessor::process(class osg::Image &,enum nvtt::Format,bool,bool,enum osgDB::ImageProcessor::CompressionMethod,enum osgDB::ImageProcessor::CompressionQuality)" (?process@NVTTProcessor@@IEAAXAEAVImage@osg@@W4Format@nvtt@@_N2W4CompressionMethod@ImageProcessor@osgDB@@W4CompressionQuality@78@@Z) 中被引用
2>NVTTImageProcessor.obj : error LNK2019: 无法解析的外部符号 "public: __cdecl nvtt::Compressor::Compressor(void)" (??0Compressor@nvtt@@QEAA@XZ),该符号在函数 "protected: void __cdecl NVTTProcessor::process(class osg::Image &,enum nvtt::Format,bool,bool,enum osgDB::ImageProcessor::CompressionMethod,enum osgDB::ImageProcessor::CompressionQuality)" (?process@NVTTProcessor@@IEAAXAEAVImage@osg@@W4Format@nvtt@@_N2W4CompressionMethod@ImageProcessor@osgDB@@W4CompressionQuality@78@@Z) 中被引用
2>NVTTImageProcessor.obj : error LNK2019: 无法解析的外部符号 "public: void __cdecl nvtt::OutputOptions::setOutputHeader(bool)" (?setOutputHeader@OutputOptions@nvtt@@QEAAX_N@Z),该符号在函数 "protected: void __cdecl NVTTProcessor::process(class osg::Image &,enum nvtt::Format,bool,bool,enum osgDB::ImageProcessor::CompressionMethod,enum osgDB::ImageProcessor::CompressionQuality)" (?process@NVTTProcessor@@IEAAXAEAVImage@osg@@W4Format@nvtt@@_N2W4CompressionMethod@ImageProcessor@osgDB@@W4CompressionQuality@78@@Z) 中被引用
2>NVTTImageProcessor.obj : error LNK2019: 无法解析的外部符号 "public: void __cdecl nvtt::OutputOptions::setErrorHandler(struct nvtt::ErrorHandler *)" (?setErrorHandler@OutputOptions@nvtt@@QEAAXPEAUErrorHandler@2@@Z),该符号在函数 "protected: void __cdecl NVTTProcessor::process(class osg::Image &,enum nvtt::Format,bool,bool,enum osgDB::ImageProcessor::CompressionMethod,enum osgDB::ImageProcessor::CompressionQuality)" (?process@NVTTProcessor@@IEAAXAEAVImage@osg@@W4Format@nvtt@@_N2W4CompressionMethod@ImageProcessor@osgDB@@W4CompressionQuality@78@@Z) 中被引用
2>NVTTImageProcessor.obj : error LNK2019: 无法解析的外部符号 "public: void __cdecl nvtt::OutputOptions::setOutputHandler(struct nvtt::OutputHandler *)" (?setOutputHandler@OutputOptions@nvtt@@QEAAXPEAUOutputHandler@2@@Z),该符号在函数 "protected: void __cdecl NVTTProcessor::process(class osg::Image &,enum nvtt::Format,bool,bool,enum osgDB::ImageProcessor::CompressionMethod,enum osgDB::ImageProcessor::CompressionQuality)" (?process@NVTTProcessor@@IEAAXAEAVImage@osg@@W4Format@nvtt@@_N2W4CompressionMethod@ImageProcessor@osgDB@@W4CompressionQuality@78@@Z) 中被引用
2>NVTTImageProcessor.obj : error LNK2019: 无法解析的外部符号 "public: __cdecl nvtt::OutputOptions::OutputOptions(void)" (??0OutputOptions@nvtt@@QEAA@XZ),该符号在函数 "protected: void __cdecl NVTTProcessor::process(class osg::Image &,enum nvtt::Format,bool,bool,enum osgDB::ImageProcessor::CompressionMethod,enum osgDB::ImageProcessor::CompressionQuality)" (?process@NVTTProcessor@@IEAAXAEAVImage@osg@@W4Format@nvtt@@_N2W4CompressionMethod@ImageProcessor@osgDB@@W4CompressionQuality@78@@Z) 中被引用
2>NVTTImageProcessor.obj : error LNK2019: 无法解析的外部符号 "public: void __cdecl nvtt::CompressionOptions::setPixelFormat(unsigned int,unsigned int,unsigned int,unsigned int,unsigned int)" (?setPixelFormat@CompressionOptions@nvtt@@QEAAXIIIII@Z),该符号在函数 "protected: void __cdecl NVTTProcessor::process(class osg::Image &,enum nvtt::Format,bool,bool,enum osgDB::ImageProcessor::CompressionMethod,enum osgDB::ImageProcessor::CompressionQuality)" (?process@NVTTProcessor@@IEAAXAEAVImage@osg@@W4Format@nvtt@@_N2W4CompressionMethod@ImageProcessor@osgDB@@W4CompressionQuality@78@@Z) 中被引用
2>NVTTImageProcessor.obj : error LNK2019: 无法解析的外部符号 "public: void __cdecl nvtt::CompressionOptions::setFormat(enum nvtt::Format)" (?setFormat@CompressionOptions@nvtt@@QEAAXW4Format@2@@Z),该符号在函数 "protected: void __cdecl NVTTProcessor::process(class osg::Image &,enum nvtt::Format,bool,bool,enum osgDB::ImageProcessor::CompressionMethod,enum osgDB::ImageProcessor::CompressionQuality)" (?process@NVTTProcessor@@IEAAXAEAVImage@osg@@W4Format@nvtt@@_N2W4CompressionMethod@ImageProcessor@osgDB@@W4CompressionQuality@78@@Z) 中被引用
2>NVTTImageProcessor.obj : error LNK2019: 无法解析的外部符号 "public: void __cdecl nvtt::CompressionOptions::setQuality(enum nvtt:uality)" (?setQuality@CompressionOptions@nvtt@@QEAAXW4Quality@2@@Z),该符号在函数 "protected: void __cdecl NVTTProcessor::process(class osg::Image &,enum nvtt::Format,bool,bool,enum osgDB::ImageProcessor::CompressionMethod,enum osgDB::ImageProcessor::CompressionQuality)" (?process@NVTTProcessor@@IEAAXAEAVImage@osg@@W4Format@nvtt@@_N2W4CompressionMethod@ImageProcessor@osgDB@@W4CompressionQuality@78@@Z) 中被引用
2>NVTTImageProcessor.obj : error LNK2019: 无法解析的外部符号 "public: __cdecl nvtt::CompressionOptions::CompressionOptions(void)" (??0CompressionOptions@nvtt@@QEAA@XZ),该符号在函数 "protected: void __cdecl NVTTProcessor::process(class osg::Image &,enum nvtt::Format,bool,bool,enum osgDB::ImageProcessor::CompressionMethod,enum osgDB::ImageProcessor::CompressionQuality)" (?process@NVTTProcessor@@IEAAXAEAVImage@osg@@W4Format@nvtt@@_N2W4CompressionMethod@ImageProcessor@osgDB@@W4CompressionQuality@78@@Z) 中被引用
2>NVTTImageProcessor.obj : error LNK2019: 无法解析的外部符号 "public: bool __cdecl nvtt::InputOptions::setMipmapData(void const *,int,int,int,int,int)" (?setMipmapData@InputOptions@nvtt@@QEAA_NPEBXHHHHH@Z),该符号在函数 "protected: void __cdecl NVTTProcessor::process(class osg::Image &,enum nvtt::Format,bool,bool,enum osgDB::ImageProcessor::CompressionMethod,enum osgDB::ImageProcessor::CompressionQuality)" (?process@NVTTProcessor@@IEAAXAEAVImage@osg@@W4Format@nvtt@@_N2W4CompressionMethod@ImageProcessor@osgDB@@W4CompressionQuality@78@@Z) 中被引用
2>NVTTImageProcessor.obj : error LNK2019: 无法解析的外部符号 "public: void __cdecl nvtt::InputOptions::setAlphaMode(enum nvtt::AlphaMode)" (?setAlphaMode@InputOptions@nvtt@@QEAAXW4AlphaMode@2@@Z),该符号在函数 "protected: void __cdecl NVTTProcessor::process(class osg::Image &,enum nvtt::Format,bool,bool,enum osgDB::ImageProcessor::CompressionMethod,enum osgDB::ImageProcessor::CompressionQuality)" (?process@NVTTProcessor@@IEAAXAEAVImage@osg@@W4Format@nvtt@@_N2W4CompressionMethod@ImageProcessor@osgDB@@W4CompressionQuality@78@@Z) 中被引用
2>NVTTImageProcessor.obj : error LNK2019: 无法解析的外部符号 "public: void __cdecl nvtt::InputOptions::setMipmapGeneration(bool,int)" (?setMipmapGeneration@InputOptions@nvtt@@QEAAX_NH@Z),该符号在函数 "protected: void __cdecl NVTTProcessor::process(class osg::Image &,enum nvtt::Format,bool,bool,enum osgDB::ImageProcessor::CompressionMethod,enum osgDB::ImageProcessor::CompressionQuality)" (?process@NVTTProcessor@@IEAAXAEAVImage@osg@@W4Format@nvtt@@_N2W4CompressionMethod@ImageProcessor@osgDB@@W4CompressionQuality@78@@Z) 中被引用
2>NVTTImageProcessor.obj : error LNK2019: 无法解析的外部符号 "public: void __cdecl nvtt::InputOptions::setRoundMode(enum nvtt::RoundMode)" (?setRoundMode@InputOptions@nvtt@@QEAAXW4RoundMode@2@@Z),该符号在函数 "protected: void __cdecl NVTTProcessor::process(class osg::Image &,enum nvtt::Format,bool,bool,enum osgDB::ImageProcessor::CompressionMethod,enum osgDB::ImageProcessor::CompressionQuality)" (?process@NVTTProcessor@@IEAAXAEAVImage@osg@@W4Format@nvtt@@_N2W4CompressionMethod@ImageProcessor@osgDB@@W4CompressionQuality@78@@Z) 中被引用
2>NVTTImageProcessor.obj : error LNK2019: 无法解析的外部符号 "public: void __cdecl nvtt::InputOptions::setWrapMode(enum nvtt::WrapMode)" (?setWrapMode@InputOptions@nvtt@@QEAAXW4WrapMode@2@@Z),该符号在函数 "protected: void __cdecl NVTTProcessor::process(class osg::Image &,enum nvtt::Format,bool,bool,enum osgDB::ImageProcessor::CompressionMethod,enum osgDB::ImageProcessor::CompressionQuality)" (?process@NVTTProcessor@@IEAAXAEAVImage@osg@@W4Format@nvtt@@_N2W4CompressionMethod@ImageProcessor@osgDB@@W4CompressionQuality@78@@Z) 中被引用
2>NVTTImageProcessor.obj : error LNK2019: 无法解析的外部符号 "public: void __cdecl nvtt::InputOptions::setNormalizeMipmaps(bool)" (?setNormalizeMipmaps@InputOptions@nvtt@@QEAAX_N@Z),该符号在函数 "protected: void __cdecl NVTTProcessor::process(class osg::Image &,enum nvtt::Format,bool,bool,enum osgDB::ImageProcessor::CompressionMethod,enum osgDB::ImageProcessor::CompressionQuality)" (?process@NVTTProcessor@@IEAAXAEAVImage@osg@@W4Format@nvtt@@_N2W4CompressionMethod@ImageProcessor@osgDB@@W4CompressionQuality@78@@Z) 中被引用
2>NVTTImageProcessor.obj : error LNK2019: 无法解析的外部符号 "public: void __cdecl nvtt::InputOptions::setGamma(float,float)" (?setGamma@InputOptions@nvtt@@QEAAXMM@Z),该符号在函数 "protected: void __cdecl NVTTProcessor::process(class osg::Image &,enum nvtt::Format,bool,bool,enum osgDB::ImageProcessor::CompressionMethod,enum osgDB::ImageProcessor::CompressionQuality)" (?process@NVTTProcessor@@IEAAXAEAVImage@osg@@W4Format@nvtt@@_N2W4CompressionMethod@ImageProcessor@osgDB@@W4CompressionQuality@78@@Z) 中被引用
2>NVTTImageProcessor.obj : error LNK2019: 无法解析的外部符号 "public: void __cdecl nvtt::InputOptions::setConvertToNormalMap(bool)" (?setConvertToNormalMap@InputOptions@nvtt@@QEAAX_N@Z),该符号在函数 "protected: void __cdecl NVTTProcessor::process(class osg::Image &,enum nvtt::Format,bool,bool,enum osgDB::ImageProcessor::CompressionMethod,enum osgDB::ImageProcessor::CompressionQuality)" (?process@NVTTProcessor@@IEAAXAEAVImage@osg@@W4Format@nvtt@@_N2W4CompressionMethod@ImageProcessor@osgDB@@W4CompressionQuality@78@@Z) 中被引用
2>NVTTImageProcessor.obj : error LNK2019: 无法解析的外部符号 "public: void __cdecl nvtt::InputOptions::setNormalMap(bool)" (?setNormalMap@InputOptions@nvtt@@QEAAX_N@Z),该符号在函数 "protected: void __cdecl NVTTProcessor::process(class osg::Image &,enum nvtt::Format,bool,bool,enum osgDB::ImageProcessor::CompressionMethod,enum osgDB::ImageProcessor::CompressionQuality)" (?process@NVTTProcessor@@IEAAXAEAVImage@osg@@W4Format@nvtt@@_N2W4CompressionMethod@ImageProcessor@osgDB@@W4CompressionQuality@78@@Z) 中被引用
2>NVTTImageProcessor.obj : error LNK2019: 无法解析的外部符号 "public: void __cdecl nvtt::InputOptions::setTextureLayout(enum nvtt::TextureType,int,int,int)" (?setTextureLayout@InputOptions@nvtt@@QEAAXW4TextureType@2@HHH@Z),该符号在函数 "protected: void __cdecl NVTTProcessor::process(class osg::Image &,enum nvtt::Format,bool,bool,enum osgDB::ImageProcessor::CompressionMethod,enum osgDB::ImageProcessor::CompressionQuality)" (?process@NVTTProcessor@@IEAAXAEAVImage@osg@@W4Format@nvtt@@_N2W4CompressionMethod@ImageProcessor@osgDB@@W4CompressionQuality@78@@Z) 中被引用
2>NVTTImageProcessor.obj : error LNK2019: 无法解析的外部符号 "public: __cdecl nvtt::InputOptions::InputOptions(void)" (??0InputOptions@nvtt@@QEAA@XZ),该符号在函数 "protected: void __cdecl NVTTProcessor::process(class osg::Image &,enum nvtt::Format,bool,bool,enum osgDB::ImageProcessor::CompressionMethod,enum osgDB::ImageProcessor::CompressionQuality)" (?process@NVTTProcessor@@IEAAXAEAVImage@osg@@W4Format@nvtt@@_N2W4CompressionMethod@ImageProcessor@osgDB@@W4CompressionQuality@78@@Z) 中被引用
2>C:\SDK\osg3.2\bin\osgPlugins-3.2.1\osgdb_nvtt.dll : fatal error LNK1120: 27 个无法解析的外部命令 |
|