Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalid cmake target while building #5

Open
ybiao-he opened this issue Mar 19, 2023 · 3 comments
Open

invalid cmake target while building #5

ybiao-he opened this issue Mar 19, 2023 · 3 comments

Comments

@ybiao-he
Copy link

ybiao-he commented Mar 19, 2023

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.

@chuchunchi
Copy link

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

@ANTICOLD
Copy link
Member

ANTICOLD commented Dec 7, 2023

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
Copy link

Mrsun0 commented Dec 13, 2023

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants