<div dir="ltr">Hello everyone<div><br>I am building/compiling cycle engine on ubuntu linux.<br><br></div><div>The initial test of make seems work fine:</div><div><br>-- The C compiler identification is GNU 7.5.0<br>-- The CXX compiler identification is GNU 7.5.0<br>-- Check for working C compiler: /usr/bin/cc<br>-- Check for working C compiler: /usr/bin/cc -- works<br>-- Detecting C compiler ABI info<br>-- Detecting C compiler ABI info - done<br>-- Detecting C compile features<br>-- Detecting C compile features - done<br>-- Check for working CXX compiler: /usr/bin/c++<br>-- Check for working CXX compiler: /usr/bin/c++ -- works<br>-- Detecting CXX compiler ABI info<br>-- Detecting CXX compiler ABI info - done<br>-- Detecting CXX compile features<br>-- Detecting CXX compile features - done<br>-- Found GLUT: /usr/lib/x86_64-linux-gnu/libglut.so<br>-- GLUT_FOUND=TRUE<br>-- Looking for pthread.h<br>-- Looking for pthread.h - found<br>-- Looking for pthread_create<br>-- Looking for pthread_create - not found<br>-- Looking for pthread_create in pthreads<br>-- Looking for pthread_create in pthreads - not found<br>-- Looking for pthread_create in pthread<br>-- Looking for pthread_create in pthread - found<br>-- Found Threads: TRUE<br>-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so<br>-- Found Glew: /usr/lib/x86_64-linux-gnu/libGLEW.so<br>-- Found OpenImageIO: /usr/lib/libOpenImageIO.so<br>-- #define OPENEXR_VERSION_STRING "2.2.0"<br>-- Found OpenEXR: /usr/lib/x86_64-linux-gnu/libHalf.so;/usr/lib/x86_64-linux-gnu/libIex.so;/usr/lib/x86_64-linux-gnu/libIlmImf.so;/usr/lib/x86_64-linux-gnu/libIlmThread.so;/usr/lib/x86_64-linux-gnu/libImath.so<br>-- Boost version: 1.65.1<br>-- Found the following Boost libraries:<br>--   filesystem<br>--   regex<br>--   system<br>--   thread<br>--   date_time<br>--   chrono<br>--   atomic<br>-- Performing Test CXX_HAS_SSE<br>-- Performing Test CXX_HAS_SSE - Success<br>-- Performing Test CXX_HAS_AVX<br>-- Performing Test CXX_HAS_AVX - Success<br>-- Performing Test CXX_HAS_AVX2<br>-- Performing Test CXX_HAS_AVX2 - Success<br>-- Performing Test _has_cxxflag_float_conversion<br>-- Performing Test _has_cxxflag_float_conversion - Success<br>-- Performing Test _has_cxxflag_double_promotion<br>-- Performing Test _has_cxxflag_double_promotion - Success<br>-- Performing Test _has_no_error_unused_macros<br>-- Performing Test _has_no_error_unused_macros - Success<br>-- Configuring done<br>-- Generating done<br>-- Build files have been written to: ~/cycles/bin-opt</div><div><br>However, when the compiling phase is with the cpp file <br><br></div><div>[ 21%] Building CXX object src/subd/CMakeFiles/cycles_subd.dir/subd_dice.cpp.o,</div><div><br></div><div>the following compilation errors occurs:<br><br></div><div>cycles/src/subd/../util/util_param.h:31:69: error: the type ‘const OpenImageIO::v1_7::TypeDesc’ of constexpr variable ‘ccl::TypeFloat2’ is not literal static constexpr TypeDesc TypeFloat2(TypeDesc::FLOAT, TypeDesc::VEC2);<br>cycles/src/subd/../util/util_param.h:32:84: error: the type ‘const OpenImageIO::v1_7::TypeDesc’ of constexpr variable ‘ccl::TypeRGBA’ is not literal static constexpr TypeDesc TypeRGBA(TypeDesc::FLOAT, TypeDesc::VEC4, TypeDesc::COLOR);<br>cycles/src/subd/../util/util_param.h:36:44: error: the type ‘const OpenImageIO::v1_7::TypeDesc’ of constexpr variable ‘ccl::TypeFloatArray4’ is not literal <br>static constexpr TypeDesc TypeFloatArray4(TypeDesc::FLOAT, TypeDesc::SCALAR, TypeDesc::NOSEMANTICS, 4);<br><br>Does anyone know why this error occurs ?<br><br>Thanks<br>Pablo FL<br></div></div>