inexorgame / vulkan-renderer

A new 3D game engine for Linux and Windows using C++20 and Vulkan API 1.3, in very early but ongoing development
https://inexor.org
MIT License
777 stars 34 forks source link

Windows: vulkan-1.dll from conan is in the wrong folder #499

Closed IAmNotHanni closed 1 year ago

IAmNotHanni commented 1 year ago

Describe The Bug

When executing the current main build, the following error message is obtained:

image

The problem is that vulkan-1.dll is in vulkan-renderer\build\bin. It should be in vulkan-renderer\build\example\Debug, in the same folder where inexor-vulkan-renderer-example.exe is. Then it works properly.

Steps To Reproduce

  1. Clone the current main
  2. Run CMake UI on Windows 10
  3. Open Visual Studio and build and run vulkan-renderer-example

Expected Behavior

If vulkan-1.dll is in the same folder, the renderer works just as expected:

image

Affected Code

The entire code base

Operating System

Windows 10 (x64)

Application Version

current main

Additional Context

none

Relevant Log Output

none

IceflowRE commented 1 year ago

Will take a look if you wont do it before me.

IAmNotHanni commented 1 year ago

This also applies for tests and benchmarks. I think this issue is simple enough I can fix it, let's see :)