-
Notifications
You must be signed in to change notification settings - Fork 821
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
UCRT_INCLUDE_FILE(stdio.h) #78
Comments
please show the complile error message. |
I'm not on that computer anymore. The setup on the current machine is a bit different. There is no MSYS2 but only Clang (this Clang is also based on MinGW-W64 and uses MinGW-W64 libraries). CMake and Ninja are installed separately. But I can confirm the error message is almost the same as when on MSYS2.
|
Well, on libposix.h please have a look at this snippet:
You didn't cover MinGW (either the legacy MinGW or MinGW-W64), so it mistakenly thinks that it's building for MSVC. This expectation is wrong, so there is the errors above about the library is designed for use with the Microsoft Visual C/C++ tools only. You can check for MinGW-W64 with this macro |
The check for OS_WINDOWS is problematic, |
Another possible situation is, you don't support MinGW-W64 based compilers at all. If it's the case please make it clear on README.md. Thanks. |
thank for your issue, hope you can send pull request and fix the porting problems on mingw/cygwin, |
I'm on MSYS2 with cmake and ninja. Compiler is mingw-w64-x86_64-gcc. I followed the steps in INSTALL.md but was greeted with this fatal error: UCRTINCLUDE/stdio.h: No such file or directory. As I'm using MSYS2 I have no idea why this error involves MSVC at all.
The text was updated successfully, but these errors were encountered: