Hi,
I am trying to build Alembic 1.8.8 with python binding
I am pairing it with Imath 3.1.12
While running the cmake configuration for Alembic, I encountered the following error
===================================================================
-- The C compiler identification is GNU 11.4.0
-- The CXX compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- CMAKE SYSTEM NAME: Linux
Defaulting CMAKE_CXX_STANDARD to 14
-- The install dir is /home/nyue/systems/Alembic/1.8.8
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found package Imath
-- Found Python3: /usr/bin/python3.10 (found version "3.10.12") found components: Interpreter Development Development.Module Development.Embed
-- Found Python 3.10.12
-- Found package Imath using: Imath::PyImath_Python3_10
-- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.74.0/BoostConfig.cmake (found suitable version "1.74.0", minimum required is "1.53.0") found components: python310
-- BOOST INCLUDE DIRS: /usr/include
-- BOOST LIBRARIES: Boost::python
-- Skipping AbcConvert: it requires USE_HDF5
* Alembic Configuration ===
* USE_ARNOLD OFF
* USE_BINARIES ON
* USE_EXAMPLES OFF
* USE_HDF5 OFF
* USE_MAYA OFF
* USE_PRMAN OFF
* USE_PYALEMBIC ON
* USE_STATIC_BOOST OFF
* USE_STATIC_HDF5 OFF
* USE_TESTS OFF
* ALEMBIC_ILMBASE_LINK_STATIC OFF
* ALEMBIC_SHARED_LIBS ON
* ALEMBIC_DEBUG_WARNINGS_AS_ERRORS ON
* PYALEMBIC_PYTHON_MAJOR 3
* DOCS_PATH OFF
-- Configuring done (21.8s)
CMake Warning:
Value of CMAKE_SYSTEM_PROCESSOR contained a newline; truncating
CMake Error at python/PyAlembic/CMakeLists.txt:158 (TARGET_LINK_LIBRARIES):
Target "alembic" links to:
Imath::PyImath_Python3_10
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
-- Generating done (0.0s)
CMake Generate step failed. Build files cannot be regenerated correctly.
===================================================================
Kind regards
--