CLIPasso icon indicating copy to clipboard operation
CLIPasso copied to clipboard

problem with cmake

Open sian-wusidi opened this issue 2 years ago • 5 comments

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?

sian-wusidi avatar Nov 10 '22 14:11 sian-wusidi

I have met the same problem. Do you find the way to solve it ? I found the auther did not answer any question.

zccoder avatar Nov 21 '22 03:11 zccoder

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.

yael-vinker avatar Nov 21 '22 06:11 yael-vinker

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.

kanehub avatar Nov 22 '22 07:11 kanehub

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?

Shuweis avatar Sep 14 '23 09:09 Shuweis

I change from pip's cmake to conda's cmake and solve the problem, maybe it's worth a try.

ArtoriaKawaii avatar Jan 19 '24 13:01 ArtoriaKawaii