You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"It's not a question, just an answer on how to compile on Windows."
1 please use static libraries, as dynamic libraries require symbol exporting. As for generating a static library, please modify the 'SHARED' option in the CMakeLists to 'STATIC'.
2 Please use the C++14 standard and then comment out the filesystem-related code (without affecting actual functionality, the modifications are solely for logging purposes). If using the C++17 standard, note that random_shuffle has been deprecated in C++, and modifying it can be a bit complicated.
3 In the case of Windows and 64-bit, you need to add BASIC_TYPE_SERIALIZER(size_t) to avoid compilation failures.
The text was updated successfully, but these errors were encountered:
zkas
changed the title
how to use on windows?
record how to use on windows
May 11, 2024
"It's not a question, just an answer on how to compile on Windows."
1 please use static libraries, as dynamic libraries require symbol exporting. As for generating a static library, please modify the 'SHARED' option in the CMakeLists to 'STATIC'.
2 Please use the C++14 standard and then comment out the filesystem-related code (without affecting actual functionality, the modifications are solely for logging purposes). If using the C++17 standard, note that random_shuffle has been deprecated in C++, and modifying it can be a bit complicated.
3 In the case of Windows and 64-bit, you need to add BASIC_TYPE_SERIALIZER(size_t) to avoid compilation failures.
The text was updated successfully, but these errors were encountered: