-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
fileno error on windows MSYS2 mingw64 #2541
Comments
Yes, it should be fixed. See the fix commit ccffb6e. However, if you are using CMake installed on Windows, You are probably using CMake for Windows. |
Thanks for the quick reply! My problem is indeed not using the correct cmake, but slightly different from your guess. When I install the msys cmake, I install through this command Today, I opened the mingw64 terminal and used the cmake located in /c/msys64/usr/bin/ (this is wrong). The mingw64 cmake should located in /c/msys64/mingw64/bin/, if you have not installed the BTW, when I use the wrong cmake, it gives some warning that |
Forget to mention, the same applies to mingw64. With mingw64, the spdlog library builds fine, but there are some problems when building the example. I guess this is not spdlog's problem, so closing this issue.
|
I git clone spdlog and try to build it in the MSYS2 mingw64 terminal on Win10.
cmake configuration is fine but make gives the following error.
I know this is the same error as in #1581 which is marked as fixed.
I'm not sure if I'm missing any steps in building spdlog in MSYS2 mingw64.
The text was updated successfully, but these errors were encountered: