Skip to content

Build Cortex error: scons: *** [src/IECore/DataConvertOp.os] Error 1 #899

@kimda90

Description

@kimda90

Version: Cortex 10.0.0-a44
3rd-party modules: List any 3rd-party modules in your configuration
OpenEXR

Description

I'm trying to build CORTEX but I don't understand where I'm failing.

Steps to Reproduce

Download cortex-10.0.0-a44 and untar

scons BOOST_LIB_PATH=/usr/lib64 BOOST_LIB_SUFFIX=

Centos 7 - 3.10.0-957.1.3.el7.x86_64
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36)
Python 2.7.5
boost-1.53.0
boost-devel-1.53.0
OpenEXR 1.7.1-7.el7
OpenEXR-devel 1.7.1-7.el7
tbb 4.1-9.20130314.el7
tbb-devel 4.1-9.20130314.el7
blosc 1.6.1-1.el7
blosc-devel 1.6.1-1.el7

Debug Log

Click to Expand

[prismo@prismo cortex-10.0.0-a44]$ scons BOOST_LIB_PATH=/usr/lib64 BOOST_LIB_SUFFIX=
scons: Reading SConscript files ...
Checking for C++ header file boost/version.hpp... (cached) yes
Checking for C++ library boost_iostreams... (cached) yes
Checking for C++ library Iex... (cached) yes
Checking for C++ library tbb... (cached) yes
Checking for C++ library blosc... (cached) yes
Checking for C++ library freetype... (cached) yes
Checking for C++ library OpenImageIO... (cached) no
ERROR : unable to find the OpenImageIO libraries - check OIIO_INCLUDE_PATH and OIIO_LIB_PATH.
Checking for C++ library openvdb... (cached) no
WARNING : no OpenVDB library found, not building IECoreVDB - check VDB_INCLUDE_PATH, VDB_LIB_PATH and config.log.
Checking for C++ header file ndspy.h... (cached) no
WARNING : ndspy.h not found - check RMAN_ROOT.
Checking for C++ header file maya/MVectorArray.h... (cached) no
WARNING : no maya devkit found, not building IECoreMaya - check MAYA_ROOT.
Checking for C++ header file DDImage/Vector3.h... (cached) no
WARNING : no nuke devkit found, not building IECoreNuke - check NUKE_ROOT.
Checking for C++ library HoudiniGEO... (cached) no
WARNING : no houdini devkit found, not building IECoreHoudini - check HOUDINI_ROOT.
Checking for C++ library ai... (cached) no
WARNING : no ai library found, not building IECoreArnold - check ARNOLD_ROOT.
Checking for C++ library usd... (cached) no
WARNING : no USD library found, not building IECoreUSD - check USD_INCLUDE_PATH, USD_LIB_PATH and config.log.
Checking for C++ library Alembic... (cached) no
Checking for C++ library AlembicAbcGeom... (cached) no
WARNING : no Alembic library found, not building IECoreAlembic - check ALEMBIC_INCLUDE_PATH, ALEMBIC_LIB_PATH and config.log.
Checking for C++ library appleseed... (cached) no
WARNING : no appleseed library found, not building IECoreAppleseed - check APPLESEED_INCLUDE_PATH and APPLESEED_LIB_PATH.
Checking for doxygen... yes
scons: done reading SConscript files.
scons: Building targets ...
g++ -o src/IECore/DataConvertOp.os -c -isystem /usr/local/include/tbb -isystem /usr/include -isystem /usr/include/OpenEXR -isystem /usr/include/OpenEXR -isystem /usr/include -isystem /usr/include/OpenEXR/OpenEXR -isystem /usr/include/OpenEXR/OpenEXR -isystem /usr/include/freetype2 -pipe -Wall -std=c++11 -fvisibility=hidden -Werror -DNDEBUG -DBOOST_DISABLE_ASSERTS -O3 -DIECore_EXPORTS -fPIC -DIE_CORE_MAJORVERSION=10 -DIE_CORE_MINORVERSION=0 -DIE_CORE_PATCHVERSION=0 -DBOOST_FILESYSTEM_VERSION=3 -DIECORE_WITH_FREETYPE -Iinclude src/IECore/DataConvertOp.cpp
In file included from include/IECore/DespatchTypedData.h:153:0,
                 from src/IECore/DataConvertOp.cpp:38:
include/IECore/DespatchTypedData.inl:70:40: error: 'enable_if' in namespace 'boost' does not name a type
  struct Func< Enabler, typename boost::enable_if< Enabler<DataType> >::type >
                                        ^
include/IECore/DespatchTypedData.inl:70:49: error: expected template-argument before '<' token
  struct Func< Enabler, typename boost::enable_if< Enabler<DataType> >::type >
                                                 ^
include/IECore/DespatchTypedData.inl:70:49: error: expected '>' before '<' token
include/IECore/DespatchTypedData.inl:70:77: error: template argument 2 is invalid
  struct Func< Enabler, typename boost::enable_if< Enabler<DataType> >::type >
                                                                             ^
include/IECore/DespatchTypedData.inl:71:2: error: expected '::' before '{' token
  {
  ^
include/IECore/DespatchTypedData.inl:71:2: error: expected identifier before '{' token
include/IECore/DespatchTypedData.inl:71:2: error: qualified name does not name a class before '{' token
In file included from include/IECore/DespatchTypedData.h:153:0,
                 from src/IECore/DataConvertOp.cpp:38:
include/IECore/DespatchTypedData.inl:459:63: error: 'enable_if' in namespace 'boost' does not name a type
 struct TypedDataSize::TypedDataSizeHelper< T, typename boost::enable_if< TypeTraits::IsSimpleTypedData<T> >::type >
                                                               ^
include/IECore/DespatchTypedData.inl:459:72: error: expected template-argument before '<' token
 struct TypedDataSize::TypedDataSizeHelper< T, typename boost::enable_if< TypeTraits::IsSimpleTypedData<T> >::type >
                                                                        ^
include/IECore/DespatchTypedData.inl:459:72: error: expected '>' before '<' token
include/IECore/DespatchTypedData.inl:459:115: error: template argument 2 is invalid
 struct TypedDataSize::TypedDataSizeHelper< T, typename boost::enable_if< TypeTraits::IsSimpleTypedData<T> >::type >
                                                                                                                   ^
include/IECore/DespatchTypedData.inl:460:1: error: expected '::' before '{' token
 {
 ^
include/IECore/DespatchTypedData.inl:460:1: error: expected identifier before '{' token
include/IECore/DespatchTypedData.inl:460:1: error: qualified name does not name a class before '{' token
include/IECore/DespatchTypedData.inl:469:63: error: 'enable_if' in namespace 'boost' does not name a type
 struct TypedDataSize::TypedDataSizeHelper< T, typename boost::enable_if< TypeTraits::IsVectorTypedData<T> >::type >
                                                               ^
include/IECore/DespatchTypedData.inl:469:72: error: expected template-argument before '<' token
 struct TypedDataSize::TypedDataSizeHelper< T, typename boost::enable_if< TypeTraits::IsVectorTypedData<T> >::type >
                                                                        ^
include/IECore/DespatchTypedData.inl:469:72: error: expected '>' before '<' token
include/IECore/DespatchTypedData.inl:469:115: error: template argument 2 is invalid
 struct TypedDataSize::TypedDataSizeHelper< T, typename boost::enable_if< TypeTraits::IsVectorTypedData<T> >::type >
                                                                                                                   ^
include/IECore/DespatchTypedData.inl:470:1: error: expected '::' before '{' token
 {
 ^
include/IECore/DespatchTypedData.inl:470:1: error: expected identifier before '{' token
include/IECore/DespatchTypedData.inl:470:1: error: qualified name does not name a class before '{' token
include/IECore/DespatchTypedData.inl:502:69: error: 'enable_if' in namespace 'boost' does not name a type
 struct TypedDataAddress::TypedDataAddressHelper< T, typename boost::enable_if< TypeTraits::IsSimpleTypedData<T> >::type >
                                                                     ^
include/IECore/DespatchTypedData.inl:502:78: error: expected template-argument before '<' token
 struct TypedDataAddress::TypedDataAddressHelper< T, typename boost::enable_if< TypeTraits::IsSimpleTypedData<T> >::type >
                                                                              ^
include/IECore/DespatchTypedData.inl:502:78: error: expected '>' before '<' token
include/IECore/DespatchTypedData.inl:502:121: error: template argument 2 is invalid
 struct TypedDataAddress::TypedDataAddressHelper< T, typename boost::enable_if< TypeTraits::IsSimpleTypedData<T> >::type >
                                                                                                                         ^
include/IECore/DespatchTypedData.inl:503:1: error: expected '::' before '{' token
 {
 ^
include/IECore/DespatchTypedData.inl:503:1: error: expected identifier before '{' token
include/IECore/DespatchTypedData.inl:503:1: error: qualified name does not name a class before '{' token
include/IECore/DespatchTypedData.inl:512:69: error: 'enable_if' in namespace 'boost' does not name a type
 struct TypedDataAddress::TypedDataAddressHelper< T, typename boost::enable_if< boost::mpl::and_< TypeTraits::IsVectorTypedData<T>, boost::mpl::not_< boost::is_same< typename TypeTraits::VectorValueType<T>::type, bool > > > >::type >
                                                                     ^
include/IECore/DespatchTypedData.inl:512:78: error: expected template-argument before '<' token
 struct TypedDataAddress::TypedDataAddressHelper< T, typename boost::enable_if< boost::mpl::and_< TypeTraits::IsVectorTypedData<T>, boost::mpl::not_< boost::is_same< typename TypeTraits::VectorValueType<T>::type, bool > > > >::type >
                                                                              ^
include/IECore/DespatchTypedData.inl:512:78: error: expected '>' before '<' token
include/IECore/DespatchTypedData.inl:512:232: error: template argument 2 is invalid
 struct TypedDataAddress::TypedDataAddressHelper< T, typename boost::enable_if< boost::mpl::and_< TypeTraits::IsVectorTypedData<T>, boost::mpl::not_< boost::is_same< typename TypeTraits::VectorValueType<T>::type, bool > > > >::type >
                                                                                                                                                                                                                                        ^
include/IECore/DespatchTypedData.inl:513:1: error: expected '::' before '{' token
 {
 ^
include/IECore/DespatchTypedData.inl:513:1: error: expected identifier before '{' token
include/IECore/DespatchTypedData.inl:513:1: error: qualified name does not name a class before '{' token
include/IECore/DespatchTypedData.inl:522:69: error: 'enable_if' in namespace 'boost' does not name a type
 struct TypedDataAddress::TypedDataAddressHelper< T, typename boost::enable_if< boost::mpl::and_< TypeTraits::IsVectorTypedData<T>, boost::is_same< typename TypeTraits::VectorValueType<T>::type, bool > > >::type >
                                                                     ^
include/IECore/DespatchTypedData.inl:522:78: error: expected template-argument before '<' token
 struct TypedDataAddress::TypedDataAddressHelper< T, typename boost::enable_if< boost::mpl::and_< TypeTraits::IsVectorTypedData<T>, boost::is_same< typename TypeTraits::VectorValueType<T>::type, bool > > >::type >
                                                                              ^
include/IECore/DespatchTypedData.inl:522:78: error: expected '>' before '<' token
include/IECore/DespatchTypedData.inl:522:212: error: template argument 2 is invalid
 struct TypedDataAddress::TypedDataAddressHelper< T, typename boost::enable_if< boost::mpl::and_< TypeTraits::IsVectorTypedData<T>, boost::is_same< typename TypeTraits::VectorValueType<T>::type, bool > > >::type >
                                                                                                                                                                                                                    ^
include/IECore/DespatchTypedData.inl:523:1: error: expected '::' before '{' token
 {
 ^
include/IECore/DespatchTypedData.inl:523:1: error: expected identifier before '{' token
include/IECore/DespatchTypedData.inl:523:1: error: qualified name does not name a class before '{' token
scons: *** [src/IECore/DataConvertOp.os] Error 1
scons: building terminated because of errors.

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