-
Notifications
You must be signed in to change notification settings - Fork 24
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
Silo build error on windows F_OK and R_OK undeclared #383
Comments
seems like we need windows specific case to include In silo_netcff silo_taurus. |
I am puzzled, Directly defining did help:
But I hit more issues later in the build. |
silo_win32_compatibility.h needs a patch: --- C:\Users\biagas2\AppData\Local\Temp\TortoiseGit\silo_win32_compatibility-c9f584c5.000.h 2024-07-29 12:25:23.000000000 -0700
+++ C:\B_Silo\Silo\src\silo\silo_win32_compatibility.h 2024-07-29 12:25:39.000000000 -0700
@@ -1,7 +1,7 @@
-#ifdef WIN32
+#ifdef _WIN32
#ifndef SILO_WIN32_COMPATIBILITY
#define SILO_WIN32_COMPATIBILITY
#include <io.h> /* Include Windows IO */
#include <errno.h>
#include <sys\types.h>
#include <sys\stat.h> |
thanks @biagas! |
4.11.1 using CMake Build System:
The text was updated successfully, but these errors were encountered: