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

Win11平台上无法正常编译 #9

Open
Chajian opened this issue Oct 20, 2023 · 1 comment
Open

Win11平台上无法正常编译 #9

Chajian opened this issue Oct 20, 2023 · 1 comment

Comments

@Chajian
Copy link

Chajian commented Oct 20, 2023

操作流程:
image
当执行到make的时候就报错
image

目录结构:
image

@ying1214
Copy link

可以看到cmake时使用的编译器是MSVC,应该把cmake ..指令换成cmake .. -G "Unix Makefiles"即可生成Makefile文件,这样make的时候就会找到Makefile了
参考:https://blog.csdn.net/weixin_42660446/article/details/119650036

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

2 participants