Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile failed when I use the openexr header file #158

Open
YouthImagination opened this issue Mar 7, 2022 · 0 comments
Open

Compile failed when I use the openexr header file #158

YouthImagination opened this issue Mar 7, 2022 · 0 comments

Comments

@YouthImagination
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant