We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Trying to compile and got this error:
[ 36%] Building CXX object CMakeFiles/RayTracedGL1.dir/Source/RTGL1.cpp.o In file included from /home/almo/RayTracedGL1/Source/Common.h:33, from /home/almo/RayTracedGL1/Source/VulkanDevice.h:28, from /home/almo/RayTracedGL1/Source/RTGL1.cpp:21: /home/almo/RayTracedGL1/Source/DebugPrint.h: In instantiation of ‘void RTGL1::debug::detail::Print(RgMessageSeverityFlags, std::string_view, Args&& ...) [with Args = {unsigned int, long unsigned int}; RgMessageSeverityFlags = unsigned int; std::string_view = std::basic_string_view<char>]’: /home/almo/RayTracedGL1/Source/DebugPrint.h:113:22: required from ‘void RTGL1::debug::Error(std::string_view, Args&& ...) [with Args = {unsigned int, long unsigned int}; std::string_view = std::basic_string_view<char>]’ 113 | detail::Print( RG_MESSAGE_SEVERITY_ERROR, fmt, std::forward< Args >( args )... ); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/almo/RayTracedGL1/Source/DrawFrameInfo.h:311:33: required from ‘std::conditional_t<AsConst, const T*, T*> RTGL1::detail::TryAccessParams(void*) [with T = RgDrawFrameRenderResolutionParams; bool AsConst = true; std::conditional_t<AsConst, const T*, T*> = const RgDrawFrameRenderResolutionParams*]’ 311 | debug::Error( "Found invalid sType: {} on {:#x}", | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | std::underlying_type_t< RgStructureType >{ sType }, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 313 | uint64_t( next ) ); | ~~~~~~~~~~~~~~~~~~ /home/almo/RayTracedGL1/Source/DrawFrameInfo.h:327:52: required from ‘const T& RTGL1::AccessParams(const RgDrawFrameInfo&) [with T = RgDrawFrameRenderResolutionParams; RgDrawFrameInfo = RgDrawFrameInfo]’ 327 | if( auto p = detail::TryAccessParams< T, true >( info.pParams ) ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/almo/RayTracedGL1/Source/DrawFrameInfo.h:355:85: required from here 355 | storage_RenderResolution = AccessParams< RgDrawFrameRenderResolutionParams >( original ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /home/almo/RayTracedGL1/Source/DebugPrint.h:66:57: error: cannot bind non-const lvalue reference of type ‘unsigned int&’ to an rvalue of type ‘unsigned int’ 66 | std::vformat( msg, std::make_format_args( std::forward< Args >( args )... ) ); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14.2.1/ostream:43, from /usr/include/c++/14.2.1/bits/unique_ptr.h:43, from /usr/include/c++/14.2.1/memory:78, from /home/almo/RayTracedGL1/Source/VulkanDevice.h:25: /usr/include/c++/14.2.1/format:3797:28: note: initializing argument 1 of ‘auto std::make_format_args(_Args& ...) [with _Context = basic_format_context<__format::_Sink_iter<char>, char>; _Args = {unsigned int, long unsigned int}]’ 3797 | make_format_args(_Args&... __fmt_args) noexcept | ~~~~~~^~~~~~~~~~~~~~ make[2]: *** [CMakeFiles/RayTracedGL1.dir/build.make:79: CMakeFiles/RayTracedGL1.dir/Source/RTGL1.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:192: CMakeFiles/RayTracedGL1.dir/all] Error 2 make: *** [Makefile:136: all] Error 2
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Trying to compile and got this error:
[ 36%] Building CXX object CMakeFiles/RayTracedGL1.dir/Source/RTGL1.cpp.o In file included from /home/almo/RayTracedGL1/Source/Common.h:33, from /home/almo/RayTracedGL1/Source/VulkanDevice.h:28, from /home/almo/RayTracedGL1/Source/RTGL1.cpp:21: /home/almo/RayTracedGL1/Source/DebugPrint.h: In instantiation of ‘void RTGL1::debug::detail::Print(RgMessageSeverityFlags, std::string_view, Args&& ...) [with Args = {unsigned int, long unsigned int}; RgMessageSeverityFlags = unsigned int; std::string_view = std::basic_string_view<char>]’: /home/almo/RayTracedGL1/Source/DebugPrint.h:113:22: required from ‘void RTGL1::debug::Error(std::string_view, Args&& ...) [with Args = {unsigned int, long unsigned int}; std::string_view = std::basic_string_view<char>]’ 113 | detail::Print( RG_MESSAGE_SEVERITY_ERROR, fmt, std::forward< Args >( args )... ); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/almo/RayTracedGL1/Source/DrawFrameInfo.h:311:33: required from ‘std::conditional_t<AsConst, const T*, T*> RTGL1::detail::TryAccessParams(void*) [with T = RgDrawFrameRenderResolutionParams; bool AsConst = true; std::conditional_t<AsConst, const T*, T*> = const RgDrawFrameRenderResolutionParams*]’ 311 | debug::Error( "Found invalid sType: {} on {:#x}", | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | std::underlying_type_t< RgStructureType >{ sType }, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 313 | uint64_t( next ) ); | ~~~~~~~~~~~~~~~~~~ /home/almo/RayTracedGL1/Source/DrawFrameInfo.h:327:52: required from ‘const T& RTGL1::AccessParams(const RgDrawFrameInfo&) [with T = RgDrawFrameRenderResolutionParams; RgDrawFrameInfo = RgDrawFrameInfo]’ 327 | if( auto p = detail::TryAccessParams< T, true >( info.pParams ) ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /home/almo/RayTracedGL1/Source/DrawFrameInfo.h:355:85: required from here 355 | storage_RenderResolution = AccessParams< RgDrawFrameRenderResolutionParams >( original ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /home/almo/RayTracedGL1/Source/DebugPrint.h:66:57: error: cannot bind non-const lvalue reference of type ‘unsigned int&’ to an rvalue of type ‘unsigned int’ 66 | std::vformat( msg, std::make_format_args( std::forward< Args >( args )... ) ); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/14.2.1/ostream:43, from /usr/include/c++/14.2.1/bits/unique_ptr.h:43, from /usr/include/c++/14.2.1/memory:78, from /home/almo/RayTracedGL1/Source/VulkanDevice.h:25: /usr/include/c++/14.2.1/format:3797:28: note: initializing argument 1 of ‘auto std::make_format_args(_Args& ...) [with _Context = basic_format_context<__format::_Sink_iter<char>, char>; _Args = {unsigned int, long unsigned int}]’ 3797 | make_format_args(_Args&... __fmt_args) noexcept | ~~~~~~^~~~~~~~~~~~~~ make[2]: *** [CMakeFiles/RayTracedGL1.dir/build.make:79: CMakeFiles/RayTracedGL1.dir/Source/RTGL1.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:192: CMakeFiles/RayTracedGL1.dir/all] Error 2 make: *** [Makefile:136: all] Error 2
The text was updated successfully, but these errors were encountered: