Skip to content
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

record how to use on windows #139

Open
zkas opened this issue May 11, 2024 · 0 comments
Open

record how to use on windows #139

zkas opened this issue May 11, 2024 · 0 comments

Comments

@zkas
Copy link

zkas commented 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.

@zkas zkas changed the title how to use on windows? record how to use on windows May 11, 2024
@zkas zkas closed this as completed May 11, 2024
@zkas zkas reopened this May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant