Welcome, Guest.
Username: Password: Remember me

TOPIC: Building ReShade with LLVM (Clang+LLD Linker)

Building ReShade with LLVM (Clang+LLD Linker) 5 months 1 week ago #1

LLVM 7.01 ( releases.llvm.org/7.0.1/LLVM-7.0.1-win32.exe ) + LLVM Toolchain integration in MSVC ( marketplace.visualstudio.com/items?itemN...sions.llvm-toolchain )

*gl3w
*ImGui
*MinHook+-stb
build with no issues (!!!)

But I can't build the proper reshade core!
Severity	Code	Description	Project	File	Line	Suppression State
Error		reference to scoped enumeration must use 'enum' not 'enum class'	ReShade FX	D:\Projects\reshade\source\effect_expression.hpp	220	
Error		expected expression	ReShade FX	D:\Projects\reshade\source\effect_codegen.hpp	18	
Error		variable has incomplete type 'class codegen'	ReShade FX	D:\Projects\reshade\source\effect_codegen.hpp	16	
Error		too many errors emitted, stopping now [-ferror-limit=]	ReShade	D:\Projects\reshade\CL	1	
Error		no member named 'frame_width' in 'reshade::d3d10::runtime_d3d10'	ReShade	D:\Projects\reshade\source\d3d10\d3d10_device.cpp	54	
Error		no member named 'frame_height' in 'reshade::d3d10::runtime_d3d10'	ReShade	D:\Projects\reshade\source\d3d10\d3d10_device.cpp	51	
Error		no member named 'frame_width' in 'reshade::d3d10::runtime_d3d10'	ReShade	D:\Projects\reshade\source\d3d10\d3d10_device.cpp	51	
Error		only virtual member functions can be marked 'override'	ReShade	D:\Projects\reshade\source\d3d10\runtime_d3d10.hpp	97	
Error		only virtual member functions can be marked 'override'	ReShade	D:\Projects\reshade\source\d3d10\runtime_d3d10.hpp	92	
Error		only virtual member functions can be marked 'override'	ReShade	D:\Projects\reshade\source\d3d10\runtime_d3d10.hpp	63	
Error		only virtual member functions can be marked 'override'	ReShade	D:\Projects\reshade\source\d3d10\runtime_d3d10.hpp	61	
Error		only virtual member functions can be marked 'override'	ReShade	D:\Projects\reshade\source\d3d10\runtime_d3d10.hpp	60	
Error		only virtual member functions can be marked 'override'	ReShade	D:\Projects\reshade\source\d3d10\runtime_d3d10.hpp	57	
Error		only virtual member functions can be marked 'override'	ReShade	D:\Projects\reshade\source\d3d10\runtime_d3d10.hpp	56	
Error		base class has incomplete type	ReShade	D:\Projects\reshade\source\d3d10\runtime_d3d10.hpp	45	
Error		base class has incomplete type	ReShade	D:\Projects\reshade\source\d3d10\runtime_d3d10.hpp	33	
Error		base class has incomplete type	ReShade	D:\Projects\reshade\source\d3d10\runtime_d3d10.hpp	20	
Error		base class has incomplete type	ReShade	D:\Projects\reshade\source\d3d10\runtime_d3d10.hpp	14	
Error		expected expression	ReShade	D:\Projects\reshade\source\runtime.hpp	27	
Error		redefinition of 'abstract'	ReShade	D:\Projects\reshade\source\runtime.hpp	25	
Error		variable has incomplete type 'class base_object'	ReShade	D:\Projects\reshade\source\runtime_objects.hpp	36	
Error		expected expression	ReShade	D:\Projects\reshade\source\runtime_objects.hpp	38	
Error		reference to scoped enumeration must use 'enum' not 'enum class'	ReShade	D:\Projects\reshade\source\effect_expression.hpp	220	
Error		too many errors emitted, stopping now [-ferror-limit=]	ReShade FX	D:\Projects\reshade\CL	1	
Error		unknown type name 'id'	ReShade FX	D:\Projects\reshade\source\effect_codegen_glsl.cpp	301	
Error		unknown type name 'id'	ReShade FX	D:\Projects\reshade\source\effect_codegen_glsl.cpp	271	
Error		unknown type name 'id'	ReShade FX	D:\Projects\reshade\source\effect_codegen_glsl.cpp	229	
Error		unknown type name 'id'	ReShade FX	D:\Projects\reshade\source\effect_codegen_glsl.cpp	218	
Error		unknown type name 'id'	ReShade FX	D:\Projects\reshade\source\effect_codegen_glsl.cpp	216	
Error		only virtual member functions can be marked 'override'	ReShade FX	D:\Projects\reshade\source\effect_codegen_glsl.cpp	47	
Error		use of undeclared identifier 'id'	ReShade FX	D:\Projects\reshade\source\effect_codegen_glsl.cpp	45	
Error		use of undeclared identifier 'id'	ReShade FX	D:\Projects\reshade\source\effect_codegen_glsl.cpp	40	
Error		use of undeclared identifier 'id'	ReShade FX	D:\Projects\reshade\source\effect_codegen_glsl.cpp	39	
Error		unknown type name 'id'	ReShade FX	D:\Projects\reshade\source\effect_codegen_glsl.cpp	37	
Error		unknown type name 'id'	ReShade FX	D:\Projects\reshade\source\effect_codegen_glsl.cpp	36	
Error		unknown type name 'id'	ReShade FX	D:\Projects\reshade\source\effect_codegen_glsl.cpp	35	
Error		base class has incomplete type	ReShade FX	D:\Projects\reshade\source\effect_codegen_glsl.cpp	13	
Error		incomplete type 'reshadefx::codegen' named in nested name specifier	ReShade FX	D:\Projects\reshade\source\effect_parser.hpp	91	
Error		incomplete type 'reshadefx::codegen' named in nested name specifier	ReShade FX	D:\Projects\reshade\source\effect_parser.hpp	90	
Error		incomplete type 'reshadefx::codegen' named in nested name specifier	ReShade FX	D:\Projects\reshade\source\effect_parser.hpp	31	
etc etc etc
Last Edit: 5 months 1 week ago by lowenz.
The administrator has disabled public write access.

Building ReShade with LLVM (Clang+LLD Linker) 5 months 1 week ago #2

More requires fix after solve these error.
I give up.
Last Edit: 5 months 1 week ago by seri14.
The administrator has disabled public write access.