Closed thatvineyard closed 3 months ago
Props for the very elegantly written issue!
Thanks for the heads-up on that MinGW thing, I haven't installed it in a while so I wasn't aware of the (likely false-positive) antivirus trigger. I've updated the wiki text to your suggestion 👍
Since get.cmd
and build.cmd
are outdated files and will removed as a separate issue, this issue can be closed :)
Describe the bug
When following the build instructions there are two issues that arise:
To Reproduce
1. MinGW-w64 trojan warning
2. QMuntal/gltf
Expected behavior
1. MinGW-w64 trojan warning Instead of the zip opening, windows defender blocks it and identifies it as a trojan. While it might not be a trojan, it's probably not best to lead users down a path that might require them to circumvent antivirus.
My suggestion is to instead lead them to https://www.msys2.org/, which is the path that Microsoft themselves recommend in their C++ guide. I can suggest the documentation change in the wiki if you want. I have added the suggestion of the modified text below.
2. QMuntal/gltf Expected behavior is that the build will succeed. However the result is the following:
I've tracked it down to the gltf library updating their types to float64 in release v0.25.0 and the build script not requiring a version for this library. I have prepared a pull request that fixes this and I have verified that it can run with the Kung Fu Man screenpack: https://github.com/ikemen-engine/Ikemen-GO/pull/1853
I also noted that the github actions use the command
go mod download
instead of running the./build/get.cmd
script. Which I think is a reason why the builds haven't encountered this issue. It might also be because of the mod cache. But I am not experienced enough with Go's modules to know exactly.Screenshots / Video
No response
Engine Version (or source code date)
2024-06-24
Operating system
Windows
Extra context or search terms
This is my first foray into Ikemen-GO. I tried reading through CONTRIBUTE.md to make sure I wasn't missing anything, but I apologize if I've done something incorrectly :)
Suggestion for modified wiki text: