Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kimda90 opened this issue Dec 18, 2018 · 4 comments
Open

Comments

@kimda90
Copy link

kimda90 commented Dec 18, 2018

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.

@andrewkaufman
Copy link
Member

It looks like you're missing the boost headers. Try setting BOOST_INCLUDE_PATH as well.

@kimda90
Copy link
Author

kimda90 commented Dec 18, 2018

Hi @andrewkaufman

this is the full command, sorry i didn't post it earlier, I was debugging the issue.
I'm leaving the _SUFFIX empty because there are no suffix in the install folders.

scons BOOST_INCLUDE_PATH=/usr/include/boost/ OPENEXR_INCLUDE_PATH=/usr/include/OpenEXR/ LIBPATH=/usr/lib64 BOOST_LIB_PATH=/usr/lib64/ BOOST_LIB_SUFFIX= TBB_INCLUDE_PATH=/usr/include/tbb/ TBB_LIB_PATH=/usr/lib64/ TBB_LIB_SUFFIX= BLOSC_INCLUDE_PATH=/usr/include
Click to Expand

[prismo@prismo cortex-10.0.0-a44]$ scons BOOST_INCLUDE_PATH=/usr/include/boost/ OPENEXR_INCLUDE_PATH=/usr/include/OpenEXR/ LIBPATH=/usr/lib64 BOOST_LIB_PATH=/usr/lib64/ BOOST_LIB_SUFFIX= TBB_INCLUDE_PATH=/usr/include/tbb/ TBB_LIB_PATH=/usr/lib64/ TBB_LIB_SUFFIX= BLOSC_INCLUDE_PATH=/usr/include
scons: Reading SConscript files ...
Checking for C++ header file boost/version.hpp... yes
Checking for C++ library boost_iostreams... yes
Checking for C++ library Iex... yes
Checking for C++ library tbb... yes
Checking for C++ library blosc... yes
Checking for C++ library freetype... yes
Checking for C++ library OpenImageIO... no
ERROR : unable to find the OpenImageIO libraries - check OIIO_INCLUDE_PATH and OIIO_LIB_PATH.
Checking for C++ library openvdb... 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... no
WARNING : ndspy.h not found - check RMAN_ROOT.
Checking for C++ header file maya/MVectorArray.h... no
WARNING : no maya devkit found, not building IECoreMaya - check MAYA_ROOT.
Checking for C++ header file DDImage/Vector3.h... no
WARNING : no nuke devkit found, not building IECoreNuke - check NUKE_ROOT.
Checking for C++ library HoudiniGEO... no
WARNING : no houdini devkit found, not building IECoreHoudini - check HOUDINI_ROOT.
Checking for C++ library ai... no
WARNING : no ai library found, not building IECoreArnold - check ARNOLD_ROOT.
Checking for C++ library usd... no
WARNING : no USD library found, not building IECoreUSD - check USD_INCLUDE_PATH, USD_LIB_PATH and config.log.
Checking for C++ library Alembic... no
Checking for C++ library AlembicAbcGeom... no
WARNING : no Alembic library found, not building IECoreAlembic - check ALEMBIC_INCLUDE_PATH, ALEMBIC_LIB_PATH and config.log.
Checking for C++ library appleseed... 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/BinaryFrameList.os -c -isystem /usr/include/tbb/ -isystem /usr/include/boost/ -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/BinaryFrameList.cpp
g++ -o src/IECore/BlindDataHolder.os -c -isystem /usr/include/tbb/ -isystem /usr/include/boost/ -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/BlindDataHolder.cpp
g++ -o src/IECore/CachedReader.os -c -isystem /usr/include/tbb/ -isystem /usr/include/boost/ -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/CachedReader.cpp
g++ -o src/IECore/CamelCase.os -c -isystem /usr/include/tbb/ -isystem /usr/include/boost/ -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/CamelCase.cpp
g++ -o src/IECore/CompoundData.os -c -isystem /usr/include/tbb/ -isystem /usr/include/boost/ -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/CompoundData.cpp
g++ -o src/IECore/CompoundDataBase.os -c -isystem /usr/include/tbb/ -isystem /usr/include/boost/ -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/CompoundDataBase.cpp
g++ -o src/IECore/CompoundFrameList.os -c -isystem /usr/include/tbb/ -isystem /usr/include/boost/ -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/CompoundFrameList.cpp
g++ -o src/IECore/CompoundMessageHandler.os -c -isystem /usr/include/tbb/ -isystem /usr/include/boost/ -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/CompoundMessageHandler.cpp
g++ -o src/IECore/CompoundObject.os -c -isystem /usr/include/tbb/ -isystem /usr/include/boost/ -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/CompoundObject.cpp
g++ -o src/IECore/CompoundParameter.os -c -isystem /usr/include/tbb/ -isystem /usr/include/boost/ -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/CompoundParameter.cpp
g++ -o src/IECore/Converter.os -c -isystem /usr/include/tbb/ -isystem /usr/include/boost/ -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/Converter.cpp
g++ -o src/IECore/Data.os -c -isystem /usr/include/tbb/ -isystem /usr/include/boost/ -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/Data.cpp
g++ -o src/IECore/DataAlgo.os -c -isystem /usr/include/tbb/ -isystem /usr/include/boost/ -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/DataAlgo.cpp
g++ -o src/IECore/DataCastOp.os -c -isystem /usr/include/tbb/ -isystem /usr/include/boost/ -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/DataCastOp.cpp
g++ -o src/IECore/DataConvertOp.os -c -isystem /usr/include/tbb/ -isystem /usr/include/boost/ -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.


edited: typos and formatting

@andrewkaufman
Copy link
Member

Can you check if boost/utility/enable_if.hpp exists in /usr/include/boost/ ? I don't think we've run with boost 1.53 for a long time (if ever). We're using 1.61.0 in production currently and we used to be on 1.55.0.

@kimda90
Copy link
Author

kimda90 commented Dec 18, 2018

boost/utility/enable_if.hpp does exists.


[prismo@prismo ~]$ tree /usr/include/boost/ -P enable_if.hpp --prune
/usr/include/boost/
|-- iterator
|   `-- detail
|       `-- enable_if.hpp
|-- python
|   `-- detail
|       `-- enable_if.hpp
`-- utility
    `-- enable_if.hpp

But I don't care to update boost. Will come back with more information after the updates.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants