You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 14, 2023. It is now read-only.
Errors occurred after typing "cmake .." and "make", and the bug report was in the following: ~/Software/QtOIIO/build$ make
[ 11%] Automatic MOC for target QtOIIOPlugin
[ 11%] Built target QtOIIOPlugin_autogen
[ 22%] Building CXX object src/imageIOHandler/CMakeFiles/QtOIIOPlugin.dir/QtOIIOHandler.cpp.o
/home/zeng/Software/QtOIIO/src/imageIOHandler/QtOIIOHandler.cpp: In member function ‘virtual bool QtOIIOHandler::read(QImage)’:
/home/zeng/Software/QtOIIO/src/imageIOHandler/QtOIIOHandler.cpp:137:22: error: ‘Format_RGBA64’ is not a member of ‘QImage’
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
^
/home/zeng/Software/QtOIIO/src/imageIOHandler/QtOIIOHandler.cpp:145:22: error: ‘Format_RGBX64’ is not a member of ‘QImage’
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
^
/home/zeng/Software/QtOIIO/src/imageIOHandler/QtOIIOHandler.cpp:160:26: error: ‘Format_Grayscale16’ is not a member of ‘QImage’
format = QImage::Format_Grayscale16; // Qt documentation: The image is stored using an 16-bit grayscale format. (added in Qt 5.13)
^
/home/zeng/Software/QtOIIO/src/imageIOHandler/QtOIIOHandler.cpp:176:18: error: ‘Format_RGBA64’ is not a member of ‘QImage’
case QImage::Format_RGBA64: formatStr = "Format_RGBA64"; break;
^
/home/zeng/Software/QtOIIO/src/imageIOHandler/QtOIIOHandler.cpp:178:18: error: ‘Format_RGBX64’ is not a member of ‘QImage’
case QImage::Format_RGBX64: formatStr = "Format_RGBX64"; break;
^
/home/zeng/Software/QtOIIO/src/imageIOHandler/QtOIIOHandler.cpp:180:18: error: ‘Format_Grayscale16’ is not a member of ‘QImage’
case QImage::Format_Grayscale16: formatStr = "Format_Grayscale16"; break;
^
/home/zeng/Software/QtOIIO/src/imageIOHandler/QtOIIOHandler.cpp:318:21: error: ‘QRgba64’ was not declared in this scope
QRgba64 color = QRgba64::fromRgba64(floatToUShort(rgba[0]), floatToUShort(rgba[1]), floatToUShort(rgba[2]), floatToUShort(rgba[3]));
^
/home/zeng/Software/QtOIIO/src/imageIOHandler/QtOIIOHandler.cpp:319:35: error: ‘color’ was not declared in this scope p = (quint64)color;
^
src/imageIOHandler/CMakeFiles/QtOIIOPlugin.dir/build.make:75: recipe for target 'src/imageIOHandler/CMakeFiles/QtOIIOPlugin.dir/QtOIIOHandler.cpp.o' failed
make[2]: *** [src/imageIOHandler/CMakeFiles/QtOIIOPlugin.dir/QtOIIOHandler.cpp.o] Error 1
CMakeFiles/Makefile2:97: recipe for target 'src/imageIOHandler/CMakeFiles/QtOIIOPlugin.dir/all' failed
make[1]: *** [src/imageIOHandler/CMakeFiles/QtOIIOPlugin.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
Could you please give some suggestions?Thanks very much!
The text was updated successfully, but these errors were encountered:
I've built it with that QT, but I needed to build this too https://github.com/OpenImageIO/oiio. OpenImageIO also has some QT dependencies. I used cmake-gui to edit paths.
Errors occurred after typing "cmake .." and "make", and the bug report was in the following:
~/Software/QtOIIO/build$ make
[ 11%] Automatic MOC for target QtOIIOPlugin
[ 11%] Built target QtOIIOPlugin_autogen
[ 22%] Building CXX object src/imageIOHandler/CMakeFiles/QtOIIOPlugin.dir/QtOIIOHandler.cpp.o
/home/zeng/Software/QtOIIO/src/imageIOHandler/QtOIIOHandler.cpp: In member function ‘virtual bool QtOIIOHandler::read(QImage)’:
/home/zeng/Software/QtOIIO/src/imageIOHandler/QtOIIOHandler.cpp:137:22: error: ‘Format_RGBA64’ is not a member of ‘QImage’
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
^
/home/zeng/Software/QtOIIO/src/imageIOHandler/QtOIIOHandler.cpp:145:22: error: ‘Format_RGBX64’ is not a member of ‘QImage’
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
^
/home/zeng/Software/QtOIIO/src/imageIOHandler/QtOIIOHandler.cpp:160:26: error: ‘Format_Grayscale16’ is not a member of ‘QImage’
format = QImage::Format_Grayscale16; // Qt documentation: The image is stored using an 16-bit grayscale format. (added in Qt 5.13)
^
/home/zeng/Software/QtOIIO/src/imageIOHandler/QtOIIOHandler.cpp:176:18: error: ‘Format_RGBA64’ is not a member of ‘QImage’
case QImage::Format_RGBA64: formatStr = "Format_RGBA64"; break;
^
/home/zeng/Software/QtOIIO/src/imageIOHandler/QtOIIOHandler.cpp:178:18: error: ‘Format_RGBX64’ is not a member of ‘QImage’
case QImage::Format_RGBX64: formatStr = "Format_RGBX64"; break;
^
/home/zeng/Software/QtOIIO/src/imageIOHandler/QtOIIOHandler.cpp:180:18: error: ‘Format_Grayscale16’ is not a member of ‘QImage’
case QImage::Format_Grayscale16: formatStr = "Format_Grayscale16"; break;
^
/home/zeng/Software/QtOIIO/src/imageIOHandler/QtOIIOHandler.cpp:318:21: error: ‘QRgba64’ was not declared in this scope
QRgba64 color = QRgba64::fromRgba64(floatToUShort(rgba[0]), floatToUShort(rgba[1]), floatToUShort(rgba[2]), floatToUShort(rgba[3]));
^
/home/zeng/Software/QtOIIO/src/imageIOHandler/QtOIIOHandler.cpp:319:35: error: ‘color’ was not declared in this scope
p = (quint64)color;
^
src/imageIOHandler/CMakeFiles/QtOIIOPlugin.dir/build.make:75: recipe for target 'src/imageIOHandler/CMakeFiles/QtOIIOPlugin.dir/QtOIIOHandler.cpp.o' failed
make[2]: *** [src/imageIOHandler/CMakeFiles/QtOIIOPlugin.dir/QtOIIOHandler.cpp.o] Error 1
CMakeFiles/Makefile2:97: recipe for target 'src/imageIOHandler/CMakeFiles/QtOIIOPlugin.dir/all' failed
make[1]: *** [src/imageIOHandler/CMakeFiles/QtOIIOPlugin.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
Could you please give some suggestions?Thanks very much!
The text was updated successfully, but these errors were encountered: