Open codecnotsupported opened 6 years ago
[ 79%] Building CXX object BaikalStandalone/CMakeFiles/BaikalStandalone.dir/Application/application.cpp.o In file included from /usr/include/GL/glx.h:30:0, from /home/User/Documents/Programming/Libaries/RadeonProRender-Baikal/BaikalStandalone/Application/application.cpp:37: /usr/include/OpenImageIO/simd.h:374:24: error: expected unqualified-id before numeric constant static const bool4 False (); ^ /usr/include/OpenImageIO/simd.h:377:24: error: expected unqualified-id before numeric constant static const bool4 True (); ^ /usr/include/OpenImageIO/simd.h:504:24: error: expected unqualified-id before numeric constant static const bool8 False (); ^ /usr/include/OpenImageIO/simd.h:507:24: error: expected unqualified-id before numeric constant static const bool8 True (); ^ /usr/include/OpenImageIO/simd.h:2008:37: error: expected unqualified-id before numeric constant OIIO_FORCEINLINE const bool4 bool4::False () { ^ /usr/include/OpenImageIO/simd.h:2016:37: error: expected unqualified-id before numeric constant OIIO_FORCEINLINE const bool4 bool4::True () { ^ /usr/include/OpenImageIO/simd.h: In function ‘OpenImageIO::v1_7::simd::bool4 OpenImageIO::v1_7::simd::operator!(const OpenImageIO::v1_7::simd::bool4&)’: /usr/include/OpenImageIO/simd.h:2044:41: error: expected unqualified-id before numeric constant return _mm_xor_ps (a.simd(), bool4::True()); ^ /usr/include/OpenImageIO/simd.h: In function ‘OpenImageIO::v1_7::simd::bool4 OpenImageIO::v1_7::simd::operator~(const OpenImageIO::v1_7::simd::bool4&)’: /usr/include/OpenImageIO/simd.h:2090:41: error: expected unqualified-id before numeric constant return _mm_xor_ps (a.simd(), bool4::True()); ^ /usr/include/OpenImageIO/simd.h: At global scope: /usr/include/OpenImageIO/simd.h:2313:37: error: expected unqualified-id before numeric constant OIIO_FORCEINLINE const bool8 bool8::False () { ^ /usr/include/OpenImageIO/simd.h:2322:37: error: expected unqualified-id before numeric constant OIIO_FORCEINLINE const bool8 bool8::True () { ^ BaikalStandalone/CMakeFiles/BaikalStandalone.dir/build.make:62: recipe for target 'BaikalStandalone/CMakeFiles/BaikalStandalone.dir/Application/application.cpp.o' failed make[2]: *** [BaikalStandalone/CMakeFiles/BaikalStandalone.dir/Application/application.cpp.o] Error 1 CMakeFiles/Makefile2:598: recipe for target 'BaikalStandalone/CMakeFiles/BaikalStandalone.dir/all' failed make[1]: *** [BaikalStandalone/CMakeFiles/BaikalStandalone.dir/all] Error 2 Makefile:129: recipe for target 'all' failed make: *** [all] Error 2
Ubuntu 18.04.1 LTS 64-bit
move #include <OpenImageIO/imageio.h> to the top
That, fixed it.
I have the same problem. Where am i supposed to write #include <OpenImageIO/imageio.h> ? Which file?
Ubuntu 18.04.1 LTS 64-bit