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

命令行运行报错 #270

Closed
hanxizai opened this issue Apr 4, 2022 · 5 comments
Closed

命令行运行报错 #270

hanxizai opened this issue Apr 4, 2022 · 5 comments

Comments

@hanxizai
Copy link

hanxizai commented Apr 4, 2022

No description provided.

@hanxizai
Copy link
Author

hanxizai commented Apr 4, 2022

image
image

@DefTruth
Copy link
Owner

DefTruth commented Apr 4, 2022

提示是出现函数或宏重定义,你看下是否在设置include头文件出现了问题

@hanxizai
Copy link
Author

hanxizai commented Apr 5, 2022

提示是出现函数或宏重定义,你看下是否在设置include头文件出现了问题

好的大佬,已经解决了头文件的问题但是现在报操作符的错误,难道是我源码的错误吗
image

@DefTruth
Copy link
Owner

DefTruth commented Apr 5, 2022

不要用命令行直接编,因为工程比较复杂,需要用到cmake,你这样是编不过的,可以先了解一下cmake和cmakelists的用法,windows下请参考:

@DefTruth DefTruth closed this as completed Apr 5, 2022
@hanxizai
Copy link
Author

hanxizai commented Apr 5, 2022

不要用命令行直接编,因为工程比较复杂,需要用到cmake,你这样是编不过的,可以先了解一下cmake和cmakelists的用法,windows下请参考:

所以我只能在VS2019中编译生成.exe文件使用吗

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