TheCherno / Hazel

Hazel Engine
Apache License 2.0
11.64k stars 1.5k forks source link

VulkanSDK-1.3.-Installer.exe Unsupported 16-bit Application #558

Closed silvertakana closed 2 years ago

silvertakana commented 2 years ago

Describe the bug

when trying to run Setup.bat and install Vulkan, it did not work. image

You don't have the Vulkan SDK installed!
Would you like to install VulkanSDK 1.3.? [Y/N]: y
Downloading https://sdk.lunarg.com/sdk/download/1.3./windows/VulkanSDK-1.3.-Installer.exe to ./Hazel/vendor/VulkanSDK/VulkanSDK-1.3.-Installer.exe
[██████████████████████████████████████████████████] 100.00% (89.97 KB/s)
Running Vulkan SDK installer...
Traceback (most recent call last):
  File "C:\Users\titmi\OneDrive\Desktop\Hazel\scripts\Setup.py", line 16, in <module>
    VulkanRequirements.Validate()
  File "C:\Users\titmi\OneDrive\Desktop\Hazel\scripts\SetupVulkan.py", line 17, in Validate
    if (not cls.CheckVulkanSDK()):
  File "C:\Users\titmi\OneDrive\Desktop\Hazel\scripts\SetupVulkan.py", line 31, in CheckVulkanSDK
    cls.__InstallVulkanSDK()
  File "C:\Users\titmi\OneDrive\Desktop\Hazel\scripts\SetupVulkan.py", line 58, in __InstallVulkanSDK
    os.startfile(os.path.abspath(vulkanPath))
OSError: [WinError 216] This version of %1 is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher: 'C:\\Users\\titmi\\OneDrive\\Desktop\\Hazel\\Hazel\\vendor\\VulkanSDK\\VulkanSDK-1.3.-Installer.exe'

image

To Reproduce

Steps to reproduce the behavior:

  1. make sure your machine doesn't have Vulkan installed
  2. Go to 'scripts/'
  3. Click on 'Setup.py'
  4. Enter 'y' if ask to install vulkan
  5. See error above

Operating system:

Sebanisu commented 2 years ago

I am having the same issue with the batch file. It used to work when we were using an older version of vulkan. I manually downloaded the vulkan sdk (from https://vulkan.lunarg.com/sdk/home#windows) and installed it and the batch file detected it and completed running.

Sebanisu commented 2 years ago

He fixed this in the stream 5fda78b502be6692a90749620d673b606e013731

TheZitroX commented 2 months ago

Still doesn't work and the same popup for me

TheZitroX commented 2 months ago

After manual installation it worked fine