Alembic 1.8.8 with python support ?

44 views
Skip to first unread message

Nicholas Yue

unread,
Apr 1, 2025, 3:07:54 PMApr 1
to alembic-discussion
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
--

Lucas Miller

unread,
Apr 1, 2025, 3:44:14 PMApr 1
to alembic-d...@googlegroups.com

--
You received this message because you are subscribed to the Google Groups "alembic-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to alembic-discuss...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/alembic-discussion/CADYXiJK7L8hYXwQ%2BDiVRGWhPy99EpS54RAiWJxs4jZvJpfUpQw%40mail.gmail.com.

Nicholas Yue

unread,
Apr 1, 2025, 5:02:47 PMApr 1
to alembic-d...@googlegroups.com
Imath 3.1.8 is good enough so I will use that for my testing of python alembic

nyue@VAN-WS5820-046:~$ env PYTHONPATH=/home/nyue/systems/Alembic/1.8.8/lib/python3.10/site-packages:/home/nyue/systems/Imath/3.1.8/local/lib/python3.10/dist-packages python3
Python 3.10.12 (main, Feb  4 2025, 14:57:36) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import imath
>>> import alembic

Lucas Miller

unread,
Apr 1, 2025, 5:07:37 PMApr 1
to alembic-d...@googlegroups.com
Thanks for confirming.

Based on some commits which reference that issue, there will hopefully? be an Imath fix soon.

Lucas

Reply all
Reply to author
Forward
0 new messages