cuhk-eda/cu-gr

invalid cmake target while building

Opened this issue · 3 comments

Hi,

I met the following error when I build using scripts/build.py -o release

image

I wonder where the problem is, should I change the build setting? and what setting I should use if changes are needed. Thanks.

@ybiao-he Hi, i meet the same error here, did you find the solution? Thanks!

Sry for the late reply. It should be an issue related to your cmake version. You can either try another cmake version or remove the --target argument in scripts/build.py.

Mrsun0 commented

I think the reason is that there is an error in the provided command (or I am unable to find the correct usage method). The original cmake command is "cmake --build build --target -- -j 6". Therefore, I used the command "scripts/build.py -o release -t iccad19gr" to assign a value to the "target" parameter, then the cmake command(in python file) change to "cmake --build build --target iccad19gr -- -j 6", it worked!