How to install the IlmImf and extra_component library
Closed this issue · 1 comments
YantianZha commented
Hello,
I'm trying to compile the custom_ops. I got the following error at the "make" step. I'm using the Ubuntu 16.04.
/usr/bin/ld: cannot find -lIlmImf
/usr/bin/ld: cannot find -lextra_component-NOTFOUND
collect2: error: ld returned 1 exit status
Makefile:10: recipe for target 'pose_to_heatmap.so' failed
make: *** [pose_to_heatmap.so] Error 1
I found that ilmimf is a part of the openexr library (http://www.openexr.com/). But it looks like installing the openexr cannot resolve the problem.
Thank you!
YantianZha commented
I have solved the problem by doing a reinstallation of opencv with an additional argument "WITH_OPENEXR=OFF", as mentioned here: https://codeyarns.com/tag/ilmimf/