Thx! I’m using CentOS 7.5 and run this command.
./blender/build_files/build_environment/install_deps.sh
Here is the error message.
[...]
Unpacking ILMBase-2.3.0
-- The C compiler identification is GNU 4.8.5
-- The CXX compiler identification is GNU 4.8.5
-- 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
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
BUILD_SHARED_LIBS
NAMESPACE_VERSIONING
-- Build files have been written to: /home/administrator/src/blender-deps/ILMBase-2.3.0/build
Scanning dependencies of target toFloat
Scanning dependencies of target eLut
[ 50%] Building CXX object Half/CMakeFiles/eLut.dir/eLut.cpp.o
[ 50%] Building CXX object Half/CMakeFiles/toFloat.dir/toFloat.cpp.o
[ 75%] Linking CXX executable eLut
[100%] Linking CXX executable toFloat
[100%] Built target eLut
[100%] Built target toFloat
[ 50%] Built target toFloat
[100%] Built target eLut
Install the project...
-- Install configuration: "Release"
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/IlmBaseConfig.h
-- Installing: /tmp/ilmbase-2.3.0/lib/pkgconfig/IlmBase.pc
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/half.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/halfFunction.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/halfExport.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/halfLimits.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/IexBaseExc.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/IexMathExc.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/IexThrowErrnoExc.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/IexErrnoExc.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/IexMacros.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/Iex.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/IexNamespace.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/IexExport.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/IexForward.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/IexMathFloatExc.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/IexMathFpu.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/IexMathIeeeExc.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathBoxAlgo.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathBox.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathColorAlgo.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathColor.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathEuler.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathExc.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathExport.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathForward.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathFrame.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathFrustum.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathFrustumTest.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathFun.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathGL.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathGLU.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathHalfLimits.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathInt64.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathInterval.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathLimits.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathLineAlgo.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathLine.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathMath.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathMatrixAlgo.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathMatrix.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathNamespace.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathPlane.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathPlatform.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathQuat.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathRandom.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathRoots.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathShear.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathSphere.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathVecAlgo.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/ImathVec.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/IlmThreadPool.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/IlmThread.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/IlmThreadSemaphore.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/IlmThreadMutex.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/IlmThreadNamespace.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/IlmThreadExport.h
-- Installing: /tmp/ilmbase-2.3.0/include/OpenEXR/IlmThreadForward.h
Done compiling ILMBase-2.3.0!
Building OpenEXR-2.3.0
Ensuring /opt/lib exists and is writable by us
-- The C compiler identification is GNU 4.8.5
-- The CXX compiler identification is GNU 4.8.5
-- 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
ILMBASE_PACKAGE_PREFIX = /tmp/ilmbase
-- Performing Test HAVE_GCC_INLINE_ASM_AVX
-- Performing Test HAVE_GCC_INLINE_ASM_AVX - Success
-- Performing Test HAVE_SYSCONF_NPROCESSORS_ONLN
-- Performing Test HAVE_SYSCONF_NPROCESSORS_ONLN - Success
-- Configuring done
CMake Error at IlmImf/CMakeLists.txt:51 (ADD_EXECUTABLE):
Target "dwaLookups" links to target "IlmBase::Half" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at IlmImf/CMakeLists.txt:51 (ADD_EXECUTABLE):
Target "dwaLookups" links to target "IlmBase::IlmThread" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at IlmImf/CMakeLists.txt:51 (ADD_EXECUTABLE):
Target "dwaLookups" links to target "IlmBase::Iex" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at IlmImf/CMakeLists.txt:19 (ADD_EXECUTABLE):
Target "b44ExpLogTable" links to target "IlmBase::Half" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at IlmImf/CMakeLists.txt:19 (ADD_EXECUTABLE):
Target "b44ExpLogTable" links to target "IlmBase::IlmThread" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at IlmImf/CMakeLists.txt:19 (ADD_EXECUTABLE):
Target "b44ExpLogTable" links to target "IlmBase::Iex" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at IlmImfExamples/CMakeLists.txt:3 (ADD_EXECUTABLE):
Target "IlmImfExamples" links to target "OpenEXR::IlmImf" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at IlmImfExamples/CMakeLists.txt:3 (ADD_EXECUTABLE):
Target "IlmImfExamples" links to target "IlmBase::Half" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at IlmImfExamples/CMakeLists.txt:3 (ADD_EXECUTABLE):
Target "IlmImfExamples" links to target "IlmBase::Iex" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at IlmImfExamples/CMakeLists.txt:3 (ADD_EXECUTABLE):
Target "IlmImfExamples" links to target "IlmBase::Imath" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at IlmImfExamples/CMakeLists.txt:3 (ADD_EXECUTABLE):
Target "IlmImfExamples" links to target "IlmBase::IlmThread" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
BUILD_SHARED_LIBS
NAMESPACE_VERSIONING
-- Build files have been written to: /home/administrator/src/blender-deps/OpenEXR-2.3.0/build
Scanning dependencies of target b44ExpLogTable
Scanning dependencies of target dwaLookups
Scanning dependencies of target IlmImfExamples
[ 7%] Building CXX object IlmImf/CMakeFiles/b44ExpLogTable.dir/b44ExpLogTable.cpp.o
[ 15%] Building CXX object IlmImf/CMakeFiles/dwaLookups.dir/dwaLookups.cpp.o
/home/administrator/src/blender-deps/OpenEXR-2.3.0/IlmImf/b44ExpLogTable.cpp:52:18: fatal error: half.h: No such file or directory
#include <half.h>
^
compilation terminated.
[ 23%] Building CXX object IlmImfExamples/CMakeFiles/IlmImfExamples.dir/drawImage.cpp.o
[ 30%] Building CXX object IlmImfExamples/CMakeFiles/IlmImfExamples.dir/generalInterfaceExamples.cpp.o
make[2]: *** [IlmImf/CMakeFiles/b44ExpLogTable.dir/b44ExpLogTable.cpp.o] Error 1
make[1]: *** [IlmImf/CMakeFiles/b44ExpLogTable.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
In file included from /home/administrator/src/blender-deps/OpenEXR-2.3.0/IlmImfExamples/../IlmImf/ImfHeader.h:50:0,
from /home/administrator/src/blender-deps/OpenEXR-2.3.0/IlmImfExamples/../IlmImf/ImfRgbaFile.h:50,
from /home/administrator/src/blender-deps/OpenEXR-2.3.0/IlmImfExamples/drawImage.h:37,
from /home/administrator/src/blender-deps/OpenEXR-2.3.0/IlmImfExamples/drawImage.cpp:48:
/home/administrator/src/blender-deps/OpenEXR-2.3.0/IlmImfExamples/../IlmImf/ImfInt64.h:44:24: fatal error: ImathInt64.h: No such file or directory
#include "ImathInt64.h"
^
[ 38%] Building CXX object IlmImfExamples/CMakeFiles/IlmImfExamples.dir/generalInterfaceTiledExamples.cpp.o
compilation terminated.
In file included from /home/administrator/src/blender-deps/OpenEXR-2.3.0/IlmImfExamples/../IlmImf/ImfHeader.h:50:0,
from /home/administrator/src/blender-deps/OpenEXR-2.3.0/IlmImfExamples/../IlmImf/ImfOutputFile.h:46,
from /home/administrator/src/blender-deps/OpenEXR-2.3.0/IlmImfExamples/generalInterfaceExamples.cpp:45:
/home/administrator/src/blender-deps/OpenEXR-2.3.0/IlmImfExamples/../IlmImf/ImfInt64.h:44:24: fatal error: ImathInt64.h: No such file or directory
#include "ImathInt64.h"
^
compilation terminated.
/home/administrator/src/blender-deps/OpenEXR-2.3.0/IlmImf/dwaLookups.cpp:51:18: fatal error: half.h: No such file or directory
#include <half.h>
^
compilation terminated.
In file included from /home/administrator/src/blender-deps/OpenEXR-2.3.0/IlmImfExamples/../IlmImf/ImfHeader.h:50:0,
from /home/administrator/src/blender-deps/OpenEXR-2.3.0/IlmImfExamples/../IlmImf/ImfTiledOutputFile.h:45,
from /home/administrator/src/blender-deps/OpenEXR-2.3.0/IlmImfExamples/generalInterfaceTiledExamples.cpp:44:
/home/administrator/src/blender-deps/OpenEXR-2.3.0/IlmImfExamples/../IlmImf/ImfInt64.h:44:24: fatal error: ImathInt64.h: No such file or directory
#include "ImathInt64.h"
^
compilation terminated.
make[2]: *** [IlmImfExamples/CMakeFiles/IlmImfExamples.dir/drawImage.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [IlmImfExamples/CMakeFiles/IlmImfExamples.dir/generalInterfaceExamples.cpp.o] Error 1
make[2]: *** [IlmImfExamples/CMakeFiles/IlmImfExamples.dir/generalInterfaceTiledExamples.cpp.o] Error 1
make[1]: *** [IlmImfExamples/CMakeFiles/IlmImfExamples.dir/all] Error 2
make[2]: *** [IlmImf/CMakeFiles/dwaLookups.dir/dwaLookups.cpp.o] Error 1
make[1]: *** [IlmImf/CMakeFiles/dwaLookups.dir/all] Error 2
make: *** [all] Error 2
I can compile IlmBase and OpenEXR “manually” without problems on my computer.
I have cmake version 3.12.2. Otherwise, it’s a completely clean and updated CentOS 7.5.