Skip to content

Linux build fails. #190

@codecnotsupported

Description

@codecnotsupported
[ 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions