Ultimaker / libArcus

Communication library between internal components for Ultimaker software
GNU Lesser General Public License v3.0
75 stars 81 forks source link

Could not find SIP #70

Open Destibey opened 6 years ago

Destibey commented 6 years ago

Platform: win10 version: sip 4.19.8 for python 3.6.5 I have already installed sip via "python -m pip install sip". And I can find sip.pyd at "C:\Users\CZB\AppData\Local\Programs\Python\Python36\Lib\site-packages" and a folder "C:\Users\CZB\AppData\Local\Programs\Python\Python36\Lib\site-packages\sip-4.19.8.dist-info". Whether I add these to PATH or not, I get the same error: ###################### D:\WORK\CURA\Compile Document\Source File\libArcus-2\build>cmake .. -- Building for: Visual Studio 15 2017 -- The C compiler identification is MSVC 19.13.26129.0 -- The CXX compiler identification is MSVC 19.13.26129.0 -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.13.26128/bin/Hostx86/x86/cl.exe -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.13.26128/bin/Hostx86/x86/cl.exe -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.13.26128/bin/Hostx86/x86/cl.exe -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.13.26128/bin/Hostx86/x86/cl.exe -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Protobuf: D:/WORK/CURA/Compile Document/Path/to/install/lib/libprotobuf.lib (found suitable version "3.5.1", minimum required is "3.0.0") -- Found PythonInterp: C:/Users/CZB/AppData/Local/Programs/Python/Python36/python.exe (found suitable version "3.6.5", minimum required is "3.4.0") -- Found PythonLibs: C:/Users/CZB/AppData/Local/Programs/Python/Python36/libs/python36.lib (found suitable version "3.6.5", minimum required is "3.4.0") CMake Error at cmake/FindSIP.cmake:64 (MESSAGE): Could not find SIP Call Stack (most recent call first): CMakeLists.txt:23 (find_package)

-- Configuring incomplete, errors occurred! See also "D:/WORK/CURA/Compile Document/Source File/libArcus-2/build/CMakeFiles/CMakeOutput.log". ################################# How can I solve the problem? sincerely for help

Ghostkeeper commented 6 years ago

If you open a Python terminal (your version 3.6.5) and type this code, what does it say?

>>> import sipconfig
>>> sipconfig.Configuration().sip_version_str

For me it responds with 4.18.1 then.