Open klementievd opened 1 year ago
Why CMake generate command without any arguments?
cd /home/klementievd/Ashes/build/source/ashes/renderer/GlRenderer && /usr/bin/cmake -E copy_if_different
Which compiler (with version) are you using ?
And what was your cmake command line ?
On that machine (Fedora 38) I used the latest version of the g++ compiler (gcc-c++-13.1.1-2.fc38). When building, I created a new build
directory and from it run
cmake ../
make
And Ok I built the source code on another machine, but now I have another problem, I can not run the game. I tried to run Dota 2 from Steam with the following launch parameters: VK_ICD_FILENAMES=/usr/lib/ashesGlRenderer_icd.json %command%
. Maybe I got it wrong and I can't use Ashes for games?
VK_ICD_FILENAMES=/usr/lib/ashesGlRenderer_icd.json vkcube
output:
vkEnumerateInstanceExtensionProperties failed to find the VK_KHR_surface extension.
Do you have a compatible Vulkan installable client driver (ICD) installed?
Please look at the Getting Started guide for additional information.
VK_ICD_FILENAMES=/usr/lib/ashesGlRenderer_icd.json vulkaninfo
output:
ERROR: [Loader Message] Code 0 : /usr/lib/./libashesGlRenderer.so.1: undefined symbol: wl_egl_window_get_attached_size
ERROR: [Loader Message] Code 0 : loader_icd_scan: Failed loading library associated with ICD JSON /usr/lib/./libashesGlRenderer.so.1. Ignoring this JSON
ERROR: [Loader Message] Code 0 : vkCreateInstance: Found no drivers!
Cannot create Vulkan instance.
This problem is often caused by a faulty installation of the Vulkan driver or attempting to use a GPU that does not support Vulkan.
ERROR at /usr/src/debug/vulkan-tools/Vulkan-Tools-1.3.245/vulkaninfo/vulkaninfo.h:677:vkCreateInstance failed with ERROR_INCOMPATIBLE_DRIVER
On that machine (Fedora 38) I used the latest version of the g++ compiler (gcc-c++-13.1.1-2.fc38). When building, I created a new
build
directory and from it runcmake ../ make
You also need to specify the build type with that option: -DCMAKE_BUILD_TYPE=Release
Yeah, I already tried that. It worked, but now I get a Segmentation fault
when I run vkcube
. vulkaninfo
works fine