bartoszek / AUR-meshroom-git

0 stars 0 forks source link

Build failed with Qtoiio error. #1

Open 2403772980ygy opened 4 years ago

2403772980ygy commented 4 years ago

The build failed with the following error: /home/erina/.cache/yay/meshroom-git/src/QtOIIO/src/imageIOHandler/QtOIIOHandler.cpp: In member function ‘virtual bool QtOIIOHandler::read(QImage*)’: /home/erina/.cache/yay/meshroom-git/src/QtOIIO/src/imageIOHandler/QtOIIOHandler.cpp:137:30: error: ‘Format_RGBA64’ is not a member of ‘QImage’ 137 | format = QImage::Format_RGBA64; // Qt documentation: The image is stored using a 64-bit halfword-ordered RGBA format (16-16-16-16). (added in Qt 5.12) | ^~~~~ /home/erina/.cache/yay/meshroom-git/src/QtOIIO/src/imageIOHandler/QtOIIOHandler.cpp:145:30: error: ‘Format_RGBX64’ is not a member of ‘QImage’ 145 | format = QImage::Format_RGBX64; // Qt documentation: The image is stored using a 64-bit halfword-ordered RGB(x) format (16-16-16-16). This is the same as the Format_RGBA64 except alpha must always be 65535. (added in Qt 5.12) | ^~~~~ /home/erina/.cache/yay/meshroom-git/src/QtOIIO/src/imageIOHandler/QtOIIOHandler.cpp:160:34: error: ‘Format_Grayscale16’ is not a member of ‘QImage’ 160 | format = QImage::Format_Grayscale16; // Qt documentation: The image is stored using an 16-bit grayscale format. (added in Qt 5.13) | ^~~~~~ /home/erina/.cache/yay/meshroom-git/src/QtOIIO/src/imageIOHandler/QtOIIOHandler.cpp:176:26: error: ‘Format_RGBA64’ is not a member of ‘QImage’ 176 | case QImage::Format_RGBA64: formatStr = "Format_RGBA64"; break; | ^~~~~ /home/erina/.cache/yay/meshroom-git/src/QtOIIO/src/imageIOHandler/QtOIIOHandler.cpp:178:26: error: ‘Format_RGBX64’ is not a member of ‘QImage’ 178 | case QImage::Format_RGBX64: formatStr = "Format_RGBX64"; break; | ^~~~~ /home/erina/.cache/yay/meshroom-git/src/QtOIIO/src/imageIOHandler/QtOIIOHandler.cpp:180:26: error: ‘Format_Grayscale16’ is not a member of ‘QImage’ 180 | case QImage::Format_Grayscale16: formatStr = "Format_Grayscale16"; break; | ^~~~~~ make[2]: [src/imageIOHandler/CMakeFiles/QtOIIOPlugin.dir/build.make:95: src/imageIOHandler/CMakeFiles/QtOIIOPlugin.dir/QtOIIOHandler.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:136: src/imageIOHandler/CMakeFiles/QtOIIOPlugin.dir/all] Error 2 make: *** [Makefile:149: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... error making: meshroom-git

bartoszek commented 3 years ago

I've pushed new version of all alice-vision{,-git} and meshroom{,-git} packages - should works fine beside qtAliceVision plugin witch is disabled by default ( set env var ENABLE_QTALICEVISION=1` to build it if you like to test it)