-
Notifications
You must be signed in to change notification settings - Fork 37
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
Build on Windows with VS 2019 #25
Comments
There are decisions to be made:
|
I'll fix it.
The default behavior is built to
For historical reasons, |
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Update:
RelWithDebInfo
, everything works fine. No imgui window.When I'am tring to build nanoem on win 10 follow instructions in readme#How to build?. I've got some errors.
After some attempts, I managed to build nanoem on Windows 10.
Describe the bug
readme#How to build? Not work.
To Reproduce
Steps to reproduce the behavior:
git submodule update --init --recursive
There is a typo, see fix git cmd typo #23
git apply
MSVC dosn't have
stdatomic.h
in std C mode.xref: Visual Studio Feedback
nanoem/scripts/build.cmake
Lines 598 to 605 in 9f75edf
On my PC, the output dir is
out
, so${GIT_EXECUTABLE} clean -df -e build
will rm all output files.So I commented out this function call.
Must build with flag
-DCONFIG=release
, or cmake cannot find includesfor example:
nanoem/emapp/CMakeLists.txt
Lines 272 to 279 in 9f75edf
find_path
only searchMINIZIP_INSTALL_PATH_RELEASE
.out\win32\nanoem.exe
Desktop:
Still need more explore, then I'll make a new pr and add new github CI for win build.
The text was updated successfully, but these errors were encountered: