Did you install OpenEXR via vcpkg or somehow else ? On Windows it worked for me setting OpenEXR_DIR to E:/source/hugin-dev/vcpkg/installed/x64-windows/share/openexr (after having installed OpenEXR via vcpkg).
Some time ago I tried to build Hugin (not Hugin++) on a Debian-based Linux (Linux Mint). But it should make not so much difference to Hugin++. It so happened that I also stopped at an error with OpenEXR. OpenEXR is installed on the system, and some paths pointed to it. But still "OpenEXR not found". Now I installed vcpkg and with it OpenEXR. I inserted the following paths and it worked: OPENEXR_HALF_LIBRARY /home/user/dev/hugin-2020.0.0/vcpkg/packages/openexr_x64-linux/lib/libHalf-2_5.a OPENEXR_IEX_LIBRARY /home/user/dev/hugin-2020.0.0/vcpkg/packages/openexr_x64-linux/libIex-2_5.so OPENEXR_ILMIMF_LIBRARY /home/user/dev/hugin-2020.0.0/vcpkg/packages/openexr_x64-linux/libIlmImf-2_5 OPENEXR_ILMTHREAD_LIBRARY /home/user/dev/hugin-2020.0.0/vcpkg/packages/openexr_x64-linux/libIlmThread-2_5.so OPENEXR_IMATH_LIBRARY /home/user/dev/hugin-2020.0.0/vcpkg/packages/openexr_x64-linux/libImath-2_5.a OPENEXR_INCLUDE_DIR /home/user/dev/hugin-2020.0.0/vcpkg/packages/openexr_x64-linux/include The following was then automatically generated (when configuring): OPENEXR_LIBRARIES /home/user/dev/hugin-2020.0.0/vcpkg/packages/openexr_x64-linux/libImath-2_5.a;/home/user/dev/hugin-2020.0.0/vcpkg/packages/openexr_x64-linux/libIlmImf-2_5;/home/user/dev/hugin-2020.0.0/vcpkg/packages/openexr_x64-linux/libIex-2_5.so;/home/user/dev/hugin-2020.0.0/vcpkg/packages/openexr_x64-linux/lib/libHalf-2_5.a;/home/user/dev/hugin-2020.0.0/vcpkg/packages/openexr_x64-linux/libIlmThread-2_5.so;;/usr/lib/x86_64-linux-gnu/libz.so So, OpenEXR seems to be OK. The next error is with VIGRA. On windows, VIGRA cannot be installed via vcpkg, I installed it in another way. ChameleonScales schrieb am Mittwoch, 18. August 2021 um 00:05:35 UTC+2: > I just tried the cmake-qt-gui (for the first time and it seems I've been > missing on something). > I had : > wxWidgets_CONFIG_EXECUTABLE-NOTFOUND > so I set the path to /usr/bin/wx-config". > I also had : > Z_VCPKG_CL-NOTFOUND > so I set the path to ~/programs/hugin++-2021-1-1-source/vcpkg/vcpkg > > This seems to have fixed both of these errors. > > However, I still have : > OPENEXR_DIR-NOTFOUND > > I tried setting the path to /usr/share/ECM/find-modules since it contains > FindOpenEXR.cmake but it didn't work. > I then tried /usr/include/OpenEXR which contains OpenEXRConfig.h, didn't > work either. > I assume I'm supposed to point to a folder containing a file named > openexr.cmake but I don't have such a file anywhere in my system, even > though I have these 3 packages installed : > - openexr > - libopenexr-dev > - extra-cmake-modules > -- A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ --- You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/hugin-ptx/201cf1fa-0029-4367-9679-5e2bd646699cn%40googlegroups.com.
