mitsuba-renderer / mitsuba

Mitsuba renderer main repository

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compile failed when I use the openexr header file

YouthImagination opened this issue · comments

conductor.obj : error LNK2001: unresolved external symbo "__declspec(dllimport) int __cdecl Imf::globalThreadCount(void)" (__imp_?globalThreadCount@Imf@@YAHXZ) conductor.obj : error LNK2001: unresolved external symbo "__declspec(dllimport) public: class Imath::Box<class Imath::Vec2<int> > const & __cdecl Imf::RgbaInputFile::dataWindow(void)const " (__imp_?dataWindow@RgbaInputFile@Imf@@QEBAAEBV?$Box@V?$Vec2@H@Imath@@@Imath@@XZ) conductor.obj : error LNK2001: unresolved external symbo "__declspec(dllimport) public: void __cdecl Imf::RgbaInputFile::readPixels(int,int)" (__imp_?readPixels@RgbaInputFile@Imf@@QEAAXHH@Z) conductor.obj : error LNK2001: unresolved external symbo "__declspec(dllimport) public: void __cdecl Imf::RgbaInputFile::setFrameBuffer(struct Imf::Rgba *,unsigned __int64,unsigned __int64)" (__imp_?setFrameBuffer@RgbaInputFile@Imf@@QEAAXPEAURgba@2@_K1@Z) conductor.obj : error LNK2001: unresolved external symbo "__declspec(dllimport) public: virtual __cdecl Imf::RgbaInputFile::~RgbaInputFile(void)" (__imp_??1RgbaInputFile@Imf@@UEAA@XZ) conductor.obj : error LNK2001: unresolved external symbo "__declspec(dllimport) public: __cdecl Imf::RgbaInputFile::RgbaInputFile(char const * const,int)" (__imp_??0RgbaInputFile@Imf@@QEAA@QEBDH@Z)
How could I deal with it?
I guess it's about lib file's problem. But i can't link lib in mitsuba-msvc2017 project.