-
Notifications
You must be signed in to change notification settings - Fork 8
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
Building error #7
Comments
EDIT: Nevermind, built it from ue4ss repo with no problem:) Having similar issues, with more error information: B:\Epic Games\KismetDebugger\kismet-debugger>cmake --build build --config Release
[1/414] Building CXX object RE-UE4SS/deps/first/File/CMakeFiles/File.dir/src/File.cpp.obj
FAILED: RE-UE4SS/deps/first/File/CMakeFiles/File.dir/src/File.cpp.obj
C:\Stuff\msys64\mingw64\bin\c++.exe -DRC_FILE_BUILD_STATIC -DRC_FILE_EXPORTS -DUNICODE -D_UNICODE -I"B:/Epic Games/KismetDebugger/kismet-debugger/RE-UE4SS/deps/first/File/include" -O3 -DNDEBUG -std=gnu++23 -fms-extensions -MD -MT RE-UE4SS/deps/first/File/CMakeFiles/File.dir/src/File.cpp.obj -MF RE-UE4SS\deps\first\File\CMakeFiles\File.dir\src\File.cpp.obj.d -o RE-UE4SS/deps/first/File/CMakeFiles/File.dir/src/File.cpp.obj -c "B:/Epic Games/KismetDebugger/kismet-debugger/RE-UE4SS/deps/first/File/src/File.cpp"
In file included from B:/Epic Games/KismetDebugger/kismet-debugger/RE-UE4SS/deps/first/File/include/File/File.hpp:5,
from B:/Epic Games/KismetDebugger/kismet-debugger/RE-UE4SS/deps/first/File/src/File.cpp:1:
B:/Epic Games/KismetDebugger/kismet-debugger/RE-UE4SS/deps/first/File/include/File/HandleTemplate.hpp:23:120: warning: friend declaration 'RC::File::HandleTemplate<UnderlyingAbstraction>::ThisType RC::File::construct_handle(const std::filesystem::__cxx11::path&, const OpenProperties&)' declares a non-template function [-Wnon-template-friend]
23 | friend auto construct_handle(const std::filesystem::path& file_name, const OpenProperties& open_properties) -> ThisType;
| ^~~~~~~~
B:/Epic Games/KismetDebugger/kismet-debugger/RE-UE4SS/deps/first/File/include/File/HandleTemplate.hpp:23:120: note: (if this is not what you intended, make sure the function template has already been declared and add '<>' after the function name here)
B:/Epic Games/KismetDebugger/kismet-debugger/RE-UE4SS/deps/first/File/include/File/HandleTemplate.hpp:115:19: error: explicit specialization in non-namespace scope 'class RC::File::HandleTemplate<UnderlyingAbstraction>'
115 | template <>
| ^
B:/Epic Games/KismetDebugger/kismet-debugger/RE-UE4SS/deps/first/File/include/File/HandleTemplate.hpp:121:19: error: explicit specialization in non-namespace scope 'class RC::File::HandleTemplate<UnderlyingAbstraction>'
121 | template <>
| ^
B:/Epic Games/KismetDebugger/kismet-debugger/RE-UE4SS/deps/first/File/include/File/HandleTemplate.hpp:127:19: error: explicit specialization in non-namespace scope 'class RC::File::HandleTemplate<UnderlyingAbstraction>'
127 | template <>
| ^
B:/Epic Games/KismetDebugger/kismet-debugger/RE-UE4SS/deps/first/File/include/File/HandleTemplate.hpp:133:19: error: explicit specialization in non-namespace scope 'class RC::File::HandleTemplate<UnderlyingAbstraction>'
133 | template <>
| ^
B:/Epic Games/KismetDebugger/kismet-debugger/RE-UE4SS/deps/first/File/include/File/HandleTemplate.hpp:139:19: error: explicit specialization in non-namespace scope 'class RC::File::HandleTemplate<UnderlyingAbstraction>'
139 | template <>
| ^
B:/Epic Games/KismetDebugger/kismet-debugger/RE-UE4SS/deps/first/File/include/File/HandleTemplate.hpp:145:19: error: explicit specialization in non-namespace scope 'class RC::File::HandleTemplate<UnderlyingAbstraction>'
145 | template <>
| ^
[17/414] Building CXX object RE-UE4SS/deps/first/File/CMakeFiles/File.dir/src/FileType/WinFile.cpp.obj
FAILED: RE-UE4SS/deps/first/File/CMakeFiles/File.dir/src/FileType/WinFile.cpp.obj
C:\Stuff\msys64\mingw64\bin\c++.exe -DRC_FILE_BUILD_STATIC -DRC_FILE_EXPORTS -DUNICODE -D_UNICODE -I"B:/Epic Games/KismetDebugger/kismet-debugger/RE-UE4SS/deps/first/File/include" -O3 -DNDEBUG -std=gnu++23 -fms-extensions -MD -MT RE-UE4SS/deps/first/File/CMakeFiles/File.dir/src/FileType/WinFile.cpp.obj -MF RE-UE4SS\deps\first\File\CMakeFiles\File.dir\src\FileType\WinFile.cpp.obj.d -o RE-UE4SS/deps/first/File/CMakeFiles/File.dir/src/FileType/WinFile.cpp.obj -c "B:/Epic Games/KismetDebugger/kismet-debugger/RE-UE4SS/deps/first/File/src/FileType/WinFile.cpp"
B:/Epic Games/KismetDebugger/kismet-debugger/RE-UE4SS/deps/first/File/src/FileType/WinFile.cpp:7: warning: "NOMINMAX" redefined
7 | #define NOMINMAX
|
In file included from C:/Stuff/msys64/mingw64/include/c++/13.2.0/x86_64-w64-mingw32/bits/c++config.h:679,
from C:/Stuff/msys64/mingw64/include/c++/13.2.0/bits/requires_hosted.h:31,
from C:/Stuff/msys64/mingw64/include/c++/13.2.0/fstream:38,
from B:/Epic Games/KismetDebugger/kismet-debugger/RE-UE4SS/deps/first/File/src/FileType/WinFile.cpp:1:
C:/Stuff/msys64/mingw64/include/c++/13.2.0/x86_64-w64-mingw32/bits/os_defines.h:45: note: this is the location of the previous definition
45 | #define NOMINMAX 1
|
In file included from B:/Epic Games/KismetDebugger/kismet-debugger/RE-UE4SS/deps/first/File/include/File/File.hpp:5,
from B:/Epic Games/KismetDebugger/kismet-debugger/RE-UE4SS/deps/first/File/src/FileType/WinFile.cpp:3:
B:/Epic Games/KismetDebugger/kismet-debugger/RE-UE4SS/deps/first/File/include/File/HandleTemplate.hpp:23:120: warning: friend declaration 'RC::File::HandleTemplate<UnderlyingAbstraction>::ThisType RC::File::construct_handle(const std::filesystem::__cxx11::path&, const OpenProperties&)' declares a non-template function [-Wnon-template-friend]
23 | friend auto construct_handle(const std::filesystem::path& file_name, const OpenProperties& open_properties) -> ThisType;
| ^~~~~~~~
B:/Epic Games/KismetDebugger/kismet-debugger/RE-UE4SS/deps/first/File/include/File/HandleTemplate.hpp:23:120: note: (if this is not what you intended, make sure the function template has already been declared and add '<>' after the function name here)
B:/Epic Games/KismetDebugger/kismet-debugger/RE-UE4SS/deps/first/File/include/File/HandleTemplate.hpp:115:19: error: explicit specialization in non-namespace scope 'class RC::File::HandleTemplate<UnderlyingAbstraction>'
115 | template <>
| ^
B:/Epic Games/KismetDebugger/kismet-debugger/RE-UE4SS/deps/first/File/include/File/HandleTemplate.hpp:121:19: error: explicit specialization in non-namespace scope 'class RC::File::HandleTemplate<UnderlyingAbstraction>'
121 | template <>
| ^
B:/Epic Games/KismetDebugger/kismet-debugger/RE-UE4SS/deps/first/File/include/File/HandleTemplate.hpp:127:19: error: explicit specialization in non-namespace scope 'class RC::File::HandleTemplate<UnderlyingAbstraction>'
127 | template <>
| ^
B:/Epic Games/KismetDebugger/kismet-debugger/RE-UE4SS/deps/first/File/include/File/HandleTemplate.hpp:133:19: error: explicit specialization in non-namespace scope 'class RC::File::HandleTemplate<UnderlyingAbstraction>'
133 | template <>
| ^
B:/Epic Games/KismetDebugger/kismet-debugger/RE-UE4SS/deps/first/File/include/File/HandleTemplate.hpp:139:19: error: explicit specialization in non-namespace scope 'class RC::File::HandleTemplate<UnderlyingAbstraction>'
139 | template <>
| ^
B:/Epic Games/KismetDebugger/kismet-debugger/RE-UE4SS/deps/first/File/include/File/HandleTemplate.hpp:145:19: error: explicit specialization in non-namespace scope 'class RC::File::HandleTemplate<UnderlyingAbstraction>'
145 | template <>
| ^
[18/414] Building CXX object _deps/polyhook2-build/asmtk/CMakeFiles/asmjit.dir/__/asmjit/src/asmjit/core/rapass.cpp.obj
ninja: build stopped: subcommand failed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello. I'm trying to build this repo on Windows 10.
My MinGW64 version is:
My building command is
Here is the error information:
I would appreciate if anyone can give me some advice.
The text was updated successfully, but these errors were encountered: