Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling RayTracedGL1 with wayland support issues #35

Open
SpidFightFR opened this issue Oct 1, 2023 · 1 comment
Open

Compiling RayTracedGL1 with wayland support issues #35

SpidFightFR opened this issue Oct 1, 2023 · 1 comment

Comments

@SpidFightFR
Copy link

When trying to compile RTGL1 with XCB compat, it works, but when enabling wayland instead, i encounter this weird error.

Building Logs
[  2%] Building CXX object CMakeFiles/RayTracedGL1.dir/Source/RTGL1A.cpp.o
[  2%] Building CXX object CMakeFiles/RayTracedGL1.dir/Source/Buffer.cpp.o
[  3%] Building CXX object CMakeFiles/RayTracedGL1.dir/Source/RTGL1.cpp.o
[  5%] Building CXX object CMakeFiles/RayTracedGL1.dir/Source/VulkanDevice.cpp.o
[  6%] Building CXX object CMakeFiles/RayTracedGL1.dir/Source/Scene.cpp.o
[  7%] Building CXX object CMakeFiles/RayTracedGL1.dir/Source/PhysicalDevice.cpp.o
/home/spid/prboom-plus-rt/dependencies/RayTracedGL1/Source/VulkanDevice.cpp: In static member function 'static VkSurfaceKHR_T* RTGL1::VulkanDevice::GetSurfaceFromUser(VkInstance, const RgInstanceCreateInfo&)':
/home/spid/prboom-plus-rt/dependencies/RayTracedGL1/Source/VulkanDevice.cpp:1767:40: error: cannot convert 'VkSurfaceKHR_T**' to 'VkResult' in assignment
 1767 |         r = (instance, &wlInfo, nullptr, &surface);
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
      |                                        |
      |                                        VkSurfaceKHR_T**
[  8%] Building CXX object CMakeFiles/RayTracedGL1.dir/Source/Queues.cpp.o
[ 10%] Building CXX object CMakeFiles/RayTracedGL1.dir/Source/Swapchain.cpp.o
[ 11%] Building CXX object CMakeFiles/RayTracedGL1.dir/Source/GlobalUniform.cpp.o
make[2]: *** [CMakeFiles/RayTracedGL1.dir/build.make:104: CMakeFiles/RayTracedGL1.dir/Source/VulkanDevice.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/RayTracedGL1.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

Am i missing something here ? 😅

@super23
Copy link

super23 commented Sep 8, 2024

same

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants