Ultimaker / libArcus

Communication library between internal components for Ultimaker software

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to get Python3_SITELIB. Error: when cmake Arcus.

ilovelib opened this issue · comments

failed to run cmake in libArcus. Error messages are followed. Who can help? thank you.

C:\cura_dev\libArcus\build>set PROTOBUF_SRC=C:\cura_dev\protobuf-3.15.7

C:\cura_dev\libArcus\build>
C:\cura_dev\libArcus\build>set PROTOBUF_INSTALL=%PROTOBUF_SRC%\install_dir

C:\cura_dev\libArcus\build>cmake -DCMAKE_INSTALL_PREFIX=../install_dir -DPROTOBUF_SRC_ROOT_FOLDER=%PROTOBUF_SRC% -DPROTOBUF_LIBRARY=%PROTOBUF_INSTALL%/lib/libprotobuf.lib -DPROTOBUF_INCLUDE_DIR=%PROTOBUF_INSTALL%/include -DPROTOBUF_PROTOC_EXECUTABLE=%PROTOBUF_INSTALL%/bin/protoc.exe -DBUILD_EXAMPLES=OFF -DBUILD_STATIC=ON -DMSVC_STATIC_RUNTIME=ON -DCMAKE_BUILD_TYPE=Release -G "NMake Makefiles" ..
CMake Error at cmake/FindSIP.cmake:49 (message):
Failed to get Python3_SITELIB. Error:
Call Stack (most recent call first):
CMakeLists.txt:40 (find_package)

Is Python installed? Does CMake indicate that it can find Python?

CMake is indicating here that it's looking for the place to install Python packages and can't find it. This is done in CMake itself, one of the pre-installed modules. It's not really something we have control over, since we do need Python to install the Python side of this library.