-
Notifications
You must be signed in to change notification settings - Fork 65
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
ninja: build stopped: subcommand failed. #12
Comments
You're using Strawberry Perl's GCC, which is version 4.9.2, which is very old and will not compile SkUI code. To generate Visual Studio project files, either use CMake's official installer (which should default to Visual Studio if it can find it) or pass e.g.
I don't think you can readily use Ninja with a VS build, although their own CMake integration (in the IDE) does use Ninja under the hood. You might also try just opening the CMakeLists.txt from the IDE and load the project form there. |
Ok, I have successfully compiled using Visual Studio 15 2017 Win64. But running the examples / widget_gallery / Debug / widget_gallery.exe will report an exception.
How can this problem be solved? |
By the way, I execute the skui test program like this:
|
You seem to be running into the same issue as #11. If you want to play around with the code as is, you can change gui/window_windows.c++:L29 to this:
(so remove the If you feel comfortable debugging the issue, please do so, as I can't seem to reproduce it locally and it seems my attempt to fix this failed to fix this. If you find anything, please write your findings on issue #11. |
1.My computer environment
Win7 x64/Compiler,MSVC 2017/CMake 3.16.6
2.Compilation process and error prompts
Please help me, where is the problem?
The text was updated successfully, but these errors were encountered: