-
Notifications
You must be signed in to change notification settings - Fork 68
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
Not building with msc #117
Comments
Build LC via
Did Created a new c++ project in VS2022 and added include directory from installs. Also switched to C++20 standards |
Hi, @trsh Directly including the installed directory in VS may lose some of the compile options and definitions we defined in the CMake build system. Therefore, you will have to manually add these missing definitions and options. Here I collect some:
Additional definition if you enable the
And for the
You may configure them in the VS project settings. An alternative solution is to use CMake as your build system and add the That said, maybe we should automatically generate a config header when installing to support other build systems. I will open an issue to track this need. |
@Mike-Leo-Smith with these added now I only have problems with |
Ahh I messed up with the preprocessor, now I have only 1 error:
|
Looks like the |
@Mike-Leo-Smith yes, I just suppressed the warning, now I am down to linking libs. Took it from reference, but smth is missing. Need to debug it properly
|
Got it working. There were missing pieces in pre-processor |
Wonderful to hear that! |
I'm closing this issue since it's tracked in #118 |
Describe the bug
Expected behavior
Building
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: