Building ReShade with LLVM (Clang+LLD Linker)
- lowenz
- Topic Author
Less
More
5 years 2 weeks ago - 5 years 2 weeks ago #1
by lowenz
Building ReShade with LLVM (Clang+LLD Linker) was created by lowenz
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!
*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 years 2 weeks ago by lowenz.
Please Log in or Create an account to join the conversation.
- seri14
Less
More
5 years 2 weeks ago - 5 years 2 weeks ago #2
by seri14
Replied by seri14 on topic Building ReShade with LLVM (Clang+LLD Linker)
More requires fix after solve these error.
I give up.
I give up.
Last edit: 5 years 2 weeks ago by seri14.
Please Log in or Create an account to join the conversation.