-
Notifications
You must be signed in to change notification settings - Fork 648
Fix build with clang on Windows #428
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
base: master
Are you sure you want to change the base?
Fix build with clang on Windows #428
Conversation
|
The issue seems similar to this: curl/curl#7765 , where it has issues with the unicode copyright character I suspect here: Lines 123 to 124 in 9fb23c3
it could either be replaced with (c), or a escaped unicode character with L"" by the looks of it.
|
|
I can confirm, that changing the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
|
Sorry for disappearing. Is there any chance for a new release with this fix included? |
|
I encountered the same problem. steps to replicate
gives me error such as I tried this solution and this doesn't seem work. (errors is more of missing headers and source files) by looking at auto directory this is likely to be solve by running @nigels-com @rudolfheszele doing I think this is more of issue#363 I resolve it by building it from the release snapshot reference
p.s. adjust the build script accordingly |
I think this is more of issue#363 |
The main reason is that the cmake setup is more portable (including MS Visual Studio or macOS XCode for example) than the GNU make, perl, bash setup for generating the GLEW sources. Over the years there has been the idea of migrating all the code generation to python, but a lack of progress. |
I noticed that the
CMakebuild does not work on Widows, usingclang. The error message was complaining about.rcfiles. I changed theCMakeLists.txtfile, to only include those files withMSVC, and then it worked.