Can't build PyAlembic

150 views
Skip to first unread message

Doramas García

unread,
Jun 5, 2024, 4:57:27 AM6/5/24
to alembic-discussion
Hello everybody,

I'm trying to build alembic to use it in python but I'm having some issues
I'm using Windows 11 and Cmake 3.29.3 GUI

Log when I press 'Generate':

----------------------------------------------------------------------------------

Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.22631.

CMAKE SYSTEM NAME: Windows

Defaulting CMAKE_CXX_STANDARD to 14

The install dir is C:/Program Files (x86)/Alembic

Found package Imath

Found Python 3.10.6

Found package Imath using: Imath::PyImath_Python3_10

CMake Warning (dev) at python/PyAlembic/CMakeLists.txt:44 (FIND_PACKAGE):
Policy CMP0144 is not set: find_package uses upper-case <PACKAGENAME>_ROOT
variables. Run "cmake --help-policy CMP0144" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.

CMake variable BOOST_ROOT is set to:

C:/Users/manuel.gj/Downloads/boost

For compatibility, find_package is ignoring the variable, but code in a
.cmake module might still use it.
This warning is for project developers. Use -Wno-dev to suppress it.

Could NOT find Boost (missing: python310) (found suitable version "1.85.0", minimum required is "1.53.0")

Could NOT find Boost (missing: python3.10) (found suitable version "1.85.0", minimum required is "1.53.0")

BOOST INCLUDE DIRS: C:/Users/manuel.gj/Downloads/boost

BOOST LIBRARIES:

CMake Error at python/PyAlembic/Tests/CMakeLists.txt:49 (GET_TARGET_PROPERTY):
get_target_property() called with non-existent target
"Imath::PyImath_Python3_10".

CMake Error at cmake/AlembicArnold.cmake:89 (SET):
Syntax error in cmake code at

C:/Users/manuel.gj/Downloads/alembic_github/alembic/cmake/AlembicArnold.cmake:89

when parsing string

/nologo /dll /LIBPATH:\"%RMANTREE%\lib\" libai.lib

Invalid character escape '\l'.
Call Stack (most recent call first):
CMakeLists.txt:267 (INCLUDE)

Configuring incomplete, errors occurred!


----------------------------------------------------------------------------------


Can you help me? Thanks!

Lucas Miller

unread,
Jun 5, 2024, 1:04:34 PM6/5/24
to alembic-d...@googlegroups.com
This is likely the same as:


Which also got reported as an Imath issue here:


There is a workaround on the Linux side, but I'm not sure if that will work on Windows as well.

Lucas

--
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 on the web visit https://groups.google.com/d/msgid/alembic-discussion/44253f57-936d-456d-9071-0b1a547292f1n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages