[Bf-cycles] ERROR Building CXX object src/subd/CMakeFiles/cycles_subd.dir/subd_dice.cpp.o

Pablo Fernández López opfelo at gmail.com
Fri May 1 16:11:32 CEST 2020


Hello everyone

I am building/compiling cycle engine on ubuntu linux.

The initial test of make seems work fine:

-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found GLUT: /usr/lib/x86_64-linux-gnu/libglut.so
-- GLUT_FOUND=TRUE
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so
-- Found Glew: /usr/lib/x86_64-linux-gnu/libGLEW.so
-- Found OpenImageIO: /usr/lib/libOpenImageIO.so
-- #define OPENEXR_VERSION_STRING "2.2.0"
-- 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
-- Boost version: 1.65.1
-- Found the following Boost libraries:
--   filesystem
--   regex
--   system
--   thread
--   date_time
--   chrono
--   atomic
-- Performing Test CXX_HAS_SSE
-- Performing Test CXX_HAS_SSE - Success
-- Performing Test CXX_HAS_AVX
-- Performing Test CXX_HAS_AVX - Success
-- Performing Test CXX_HAS_AVX2
-- Performing Test CXX_HAS_AVX2 - Success
-- Performing Test _has_cxxflag_float_conversion
-- Performing Test _has_cxxflag_float_conversion - Success
-- Performing Test _has_cxxflag_double_promotion
-- Performing Test _has_cxxflag_double_promotion - Success
-- Performing Test _has_no_error_unused_macros
-- Performing Test _has_no_error_unused_macros - Success
-- Configuring done
-- Generating done
-- Build files have been written to: ~/cycles/bin-opt

However, when the compiling phase is with the cpp file

[ 21%] Building CXX object
src/subd/CMakeFiles/cycles_subd.dir/subd_dice.cpp.o,

the following compilation errors occurs:

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);
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);
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
static constexpr TypeDesc TypeFloatArray4(TypeDesc::FLOAT,
TypeDesc::SCALAR, TypeDesc::NOSEMANTICS, 4);

Does anyone know why this error occurs ?

Thanks
Pablo FL
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.blender.org/pipermail/bf-cycles/attachments/20200501/02740860/attachment.htm>


More information about the Bf-cycles mailing list