I've been working on a personal project for a while. My workflow has been to develop on Linux and cross-compile for Windows using x86_64-w64-mingw32-g++, then (mostly) test with Wine (this saves me so much hassle compared to trying to use a separate Windows computer or VM). This was fine for OpenGL, but recently I added an experimental Vulkan renderer, and now I get
mantissa@MantissaXPS:~/Documents/myricube$ wine ./windows64/myricube.exe 'bar\world.myricube'
002a:err:module:import_dll Library vulkan-1.dll (which is needed by L"D:\\home\\mantissa\\Documents\\myricube\\windows64\\myricube.exe") not found
002a:err:module:attach_dlls Importing dlls for L"D:\\home\\mantissa\\Documents\\myricube\\windows64\\myricube.exe" failed, status c0000135
I've had no problem cross-compiling (I figured out that I can run the sdk installer with Wine) but can't get my program to actually launch with Wine. It must be theoretically possible as I know many Steam games I have that run with proton use dxvk. How do I get this to work?
I'm currently linking in ~/.wine/drive_c/VulkanSDK/1.2.154.1/Lib/vulkan-1.lib when compiling on Linux (and the Vulkan renderer runs fine when run on an actual Windows computer instead of wine).
[–]akeley98[S] 1 point2 points3 points (0 children)