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

请问是否必须安装visual studio #3

Open
hanquanjushi opened this issue Oct 5, 2023 · 2 comments
Open

请问是否必须安装visual studio #3

hanquanjushi opened this issue Oct 5, 2023 · 2 comments

Comments

@hanquanjushi
Copy link

配置环境时输入 xmake build mandelbrot之后报错checking for Microsoft Visual Studio (x64) version ... no

Unknown Visual Studio version: 'nil' set in project.
=> install freeglut v3.4.0 .. failed

Unknown Visual Studio version: 'nil' set in project.

@star-hengxing
Copy link
Owner

xmake 在 Windows 上默认使用 msvc 编译,不过也可以切换到 mingw 平台使用 gcc 编译

xmake f -p mingw
xmake

但 freeglut 包不支持 mingw 平台,所以只能用 msvc

@hanquanjushi
Copy link
Author

非常感谢!

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