CLIPasso
CLIPasso copied to clipboard
problem with cmake
subprocess.CalledProcessError: Command '['cmake', 'E:\CLIPasso\diffvg', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=E:\CLIPasso\diffvg\build\lib.win-amd64-3.7', '-DPYTHON_INCLUDE_PATH=C:\APPS\Anaconda3\envs\CLIPASSO\Include', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=E:\CLIPasso\diffvg\build\lib.win-amd64-3.7', '-DCMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE=E:\CLIPasso\diffvg\build\lib.win-amd64-3.7', '-A', 'x64', '-DDIFFVG_CUDA=1']' returned non-zero exit status 1.
Does anyone have the same problem?
I have met the same problem. Do you find the way to solve it ? I found the auther did not answer any question.
Did you use the provided docker image? Also - please provide more details, which system are you using? what installation process did you follow? in what stage this happened ? etc.
You did't get the whole information of errors. There are many reasons for the "subprocess.CalledProcessError' such as: 'CMake Error at CMakeLists.txt:1 (cmake_minimum_required): CMake 3.12 or higher is required. You are running version 3.10.2' and I just updated the version of cmake, which fixed the error. So you can check the errors carefully to find out the information related to cmake.
subprocess.CalledProcessError: Command '['cmake', 'E:\CLIPasso\diffvg', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=E:\CLIPasso\diffvg\build\lib.win-amd64-3.7', '-DPYTHON_INCLUDE_PATH=C:\APPS\Anaconda3\envs\CLIPASSO\Include', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=E:\CLIPasso\diffvg\build\lib.win-amd64-3.7', '-DCMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE=E:\CLIPasso\diffvg\build\lib.win-amd64-3.7', '-A', 'x64', '-DDIFFVG_CUDA=1']' returned non-zero exit status 1.
Does anyone have the same problem?
I got the same error, have you found the solution?
I change from pip's cmake to conda's cmake and solve the problem, maybe it's worth a try.