travisvroman/kohi

[BUG] Windows build system seems out of date

Mupu opened this issue · 1 comments

Mupu commented

Describe the bug
I tried building the engine on Windows but had multiple problems.

  1. In Image 1, the makefile uses two commands that are not present on windows. To get around it I installed busybox and replaced 'tr' with 'busybox tr' and 'sed' with 'busybox sed'. I don't think this should be the solution tho. It was just a quick fix suggested by the discord.
  2. In Image 2, theres a -Werror. To fix it I just changed u32 to i32 for 'i' inside the loop.
  3. In Image 3, im getting unresolved symbols, was fixed by adding KAPI to both functions.

To Reproduce
Steps to reproduce the behavior:

  1. Download clang + vulkan sdk
  2. run .\build-all.bat windows build debug'

Expected behavior
It should just build all.

Desktop (please complete the following information):

  • OS: Windows

Screenshots
Image 1
Image 2
Image 3

Thanks for reporting this! This has been updates/fixed in the soon-to-be-merged standard_ui branch.