Comments (5)
What was the compile error you got?
from uegitplugin.
Error dump:
Building 6 actions with 6 processes...
[1/6] Resource Default.rc2
[2/6] Compile PCH.GitSourceControl.cpp
[3/6] Compile Module.GitSourceControl.cpp
C:\Users\Marty\source\temprepo2\tempout\HostProject\Plugins\GitSourceControl\Source\GitSourceControl\Private\GitSourceControlMenu.h(42): error C2061: syntax error: identifier 'FToolMenuSection'
C:\Users\Marty\source\temprepo2\tempout\HostProject\Plugins\GitSourceControl\Source\GitSourceControl\Private\GitSourceControlMenu.cpp(56): error C2660: 'FGitSourceControlMenu::AddMenuExtension': function does not take 1 arguments
C:\Users\Marty\source\temprepo2\tempout\HostProject\Plugins\GitSourceControl\Source\GitSourceControl\Private\GitSourceControlMenu.h(42): note: see declaration of 'FGitSourceControlMenu::AddMenuExtension'
C:\Users\Marty\source\temprepo2\tempout\HostProject\Plugins\GitSourceControl\Source\GitSourceControl\Private\GitSourceControlMenu.cpp(522): error C2511: 'void FGitSourceControlMenu::AddMenuExtension(FToolMenuSection &)': overloaded member function not found in 'FGitSourceControlMenu'
C:\Users\Marty\source\temprepo2\tempout\HostProject\Plugins\GitSourceControl\Source\GitSourceControl\Private\GitSourceControlMenu.h(16): note: see declaration of 'FGitSourceControlMenu'
C:\Users\Marty\source\temprepo2\tempout\HostProject\Plugins\GitSourceControl\Source\GitSourceControl\Private\GitSourceControlMenu.cpp(535): error C2671: 'FGitSourceControlMenu::AddMenuExtension': static member functions do not have 'this' pointers
C:\Users\Marty\source\temprepo2\tempout\HostProject\Plugins\GitSourceControl\Source\GitSourceControl\Private\GitSourceControlMenu.cpp(535): error C2672: 'TDelegate<void (void),FDefaultDelegateUserPolicy>::CreateRaw': no matching overloaded function found
C:\Users\Marty\source\temprepo2\tempout\HostProject\Plugins\GitSourceControl\Source\GitSourceControl\Private\GitSourceControlMenu.cpp(536): error C2671: 'FGitSourceControlMenu::AddMenuExtension': static member functions do not have 'this' pointers
C:\Users\Marty\source\temprepo2\tempout\HostProject\Plugins\GitSourceControl\Source\GitSourceControl\Private\GitSourceControlMenu.cpp(536): error C2672: 'TDelegate<bool (void),FDefaultDelegateUserPolicy>::CreateRaw': no matching overloaded function found
C:\Users\Marty\source\temprepo2\tempout\HostProject\Plugins\GitSourceControl\Source\GitSourceControl\Private\GitSourceControlMenu.cpp(552): error C2671: 'FGitSourceControlMenu::AddMenuExtension': static member functions do not have 'this' pointers
C:\Users\Marty\source\temprepo2\tempout\HostProject\Plugins\GitSourceControl\Source\GitSourceControl\Private\GitSourceControlMenu.cpp(552): error C2672: 'TDelegate<void (void),FDefaultDelegateUserPolicy>::CreateRaw': no matching overloaded function found
C:\Users\Marty\source\temprepo2\tempout\HostProject\Plugins\GitSourceControl\Source\GitSourceControl\Private\GitSourceControlMenu.cpp(553): error C2671: 'FGitSourceControlMenu::AddMenuExtension': static member functions do not have 'this' pointers
C:\Users\Marty\source\temprepo2\tempout\HostProject\Plugins\GitSourceControl\Source\GitSourceControl\Private\GitSourceControlMenu.cpp(553): error C2672: 'TDelegate<bool (void),FDefaultDelegateUserPolicy>::CreateRaw': no matching overloaded function found
C:\Users\Marty\source\temprepo2\tempout\HostProject\Plugins\GitSourceControl\Source\GitSourceControl\Private\GitSourceControlMenu.cpp(569): error C2671: 'FGitSourceControlMenu::AddMenuExtension': static member functions do not have 'this' pointers
C:\Users\Marty\source\temprepo2\tempout\HostProject\Plugins\GitSourceControl\Source\GitSourceControl\Private\GitSourceControlMenu.cpp(569): error C2672: 'TDelegate<void (void),FDefaultDelegateUserPolicy>::CreateRaw': no matching overloaded function found
C:\Users\Marty\source\temprepo2\tempout\HostProject\Plugins\GitSourceControl\Source\GitSourceControl\Private\GitSourceControlMenu.cpp(568): error C2440: '<function-style-cast>': cannot convert from 'FCanExecuteAction' to 'FUIAction'
C:\Users\Marty\source\temprepo2\tempout\HostProject\Plugins\GitSourceControl\Source\GitSourceControl\Private\GitSourceControlMenu.cpp(571): note: No constructor could take the source type, or constructor overload resolution was ambiguous
C:\Users\Marty\source\temprepo2\tempout\HostProject\Plugins\GitSourceControl\Source\GitSourceControl\Private\GitSourceControlMenu.cpp(557): error C2664: 'FToolMenuEntry &FToolMenuSection::AddMenuEntry(const TSharedPtr<const FUICommandInfo,ESPMode::ThreadSafe> &,const TAttribute<FText> &,const TAttribute<FText> &,const TAttribute<FSlateIcon> &,const FName,const TOptional<FName>)': cannot convert argument 1 from 'const char [10]' to 'const TSharedPtr<const FUICommandInfo,ESPMode::ThreadSafe> &'
C:\Users\Marty\source\temprepo2\tempout\HostProject\Plugins\GitSourceControl\Source\GitSourceControl\Private\GitSourceControlMenu.cpp(572): note: Reason: cannot convert from 'const char [10]' to 'const TSharedPtr<const FUICommandInfo,ESPMode::ThreadSafe>'
C:\Users\Marty\source\temprepo2\tempout\HostProject\Plugins\GitSourceControl\Source\GitSourceControl\Private\GitSourceControlMenu.cpp(572): note: No constructor could take the source type, or constructor overload resolution was ambiguous
C:\Program Files\Epic Games\UE_5.0\Engine\Source\Developer\ToolMenus\Public\ToolMenuSection.h(38): note: see declaration of 'FToolMenuSection::AddMenuEntry'
C:\Users\Marty\source\temprepo2\tempout\HostProject\Plugins\GitSourceControl\Source\GitSourceControl\Private\GitSourceControlMenu.cpp(586): error C2671: 'FGitSourceControlMenu::AddMenuExtension': static member functions do not have 'this' pointers
C:\Users\Marty\source\temprepo2\tempout\HostProject\Plugins\GitSourceControl\Source\GitSourceControl\Private\GitSourceControlMenu.cpp(586): error C2672: 'TDelegate<void (void),FDefaultDelegateUserPolicy>::CreateRaw': no matching overloaded function found
C:\Users\Marty\source\temprepo2\tempout\HostProject\Plugins\GitSourceControl\Source\GitSourceControl\Private\GitSourceControlMenu.cpp(585): error C2440: '<function-style-cast>': cannot convert from 'FCanExecuteAction' to 'FUIAction'
C:\Users\Marty\source\temprepo2\tempout\HostProject\Plugins\GitSourceControl\Source\GitSourceControl\Private\GitSourceControlMenu.cpp(588): note: No constructor could take the source type, or constructor overload resolution was ambiguous
C:\Users\Marty\source\temprepo2\tempout\HostProject\Plugins\GitSourceControl\Source\GitSourceControl\Private\GitSourceControlMenu.cpp(574): error C2664: 'FToolMenuEntry &FToolMenuSection::AddMenuEntry(const TSharedPtr<const FUICommandInfo,ESPMode::ThreadSafe> &,const TAttribute<FText> &,const TAttribute<FText> &,const TAttribute<FSlateIcon> &,const FName,const TOptional<FName>)': cannot convert argument 1 from 'const char [11]' to 'const TSharedPtr<const FUICommandInfo,ESPMode::ThreadSafe> &'
C:\Users\Marty\source\temprepo2\tempout\HostProject\Plugins\GitSourceControl\Source\GitSourceControl\Private\GitSourceControlMenu.cpp(589): note: Reason: cannot convert from 'const char [11]' to 'const TSharedPtr<const FUICommandInfo,ESPMode::ThreadSafe>'
C:\Users\Marty\source\temprepo2\tempout\HostProject\Plugins\GitSourceControl\Source\GitSourceControl\Private\GitSourceControlMenu.cpp(589): note: No constructor could take the source type, or constructor overload resolution was ambiguous
C:\Program Files\Epic Games\UE_5.0\Engine\Source\Developer\ToolMenus\Public\ToolMenuSection.h(38): note: see declaration of 'FToolMenuSection::AddMenuEntry'
CompilationResultException: Error: OtherCompilationError
at UnrealBuildTool.ActionGraph.ExecuteActions(BuildConfiguration BuildConfiguration, List`1 ActionsToExecute) in d:\build\++UE5\Sync\Engine\Source\Programs\UnrealBuildTool\System\ActionGraph.cs:line 375
at UnrealBuildTool.BuildMode.Build(TargetMakefile[] Makefiles, List`1 TargetDescriptors, BuildConfiguration BuildConfiguration, BuildOptions Options, FileReference WriteOutdatedActionsFile) in d:\build\++UE5\Sync\Engine\Source\Programs\UnrealBuildTool\Modes\BuildMode.cs:line 611
at UnrealBuildTool.BuildMode.Build(List`1 TargetDescriptors, BuildConfiguration BuildConfiguration, ISourceFileWorkingSet WorkingSet, BuildOptions Options, FileReference WriteOutdatedActionsFile, Boolean bSkipPreBuildTargets) in d:\build\++UE5\Sync\Engine\Source\Programs\UnrealBuildTool\Modes\BuildMode.cs:line 282
at UnrealBuildTool.BuildMode.Execute(CommandLineArguments Arguments) in d:\build\++UE5\Sync\Engine\Source\Programs\UnrealBuildTool\Modes\BuildMode.cs:line 237
at UnrealBuildTool.UnrealBuildTool.Main(String[] ArgumentsArray) in d:\build\++UE5\Sync\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.cs:line 593
WriteFileIfChanged() wrote 8 changed files of 8 requested writes.
Timeline:
from uegitplugin.
Another data point, I just tried the HEAD version of SRombauts UE4GitPlugin and it does not have this error.
from uegitplugin.
Updated the description with a specific include to add to GitSourceControlMenu.h.
#if ENGINE_MAJOR_VERSION == 5
#include "ToolMenuSection.h"
#endif
from uegitplugin.
This was fixed in ef44118
from uegitplugin.
Related Issues (20)
- Add support for CreateProvider
- Unclear recommendation in readme.md, duplicate snippets but descriptions indicate opposite HOT 1
- Revision Control menu Flickering profusely when there are 2 editor window HOT 3
- Redirector Fixup Deletion not added in submit content
- "Revision Control is Disabled" msg HOT 1
- Always display Can't find directory path for file error msg when I clicked some assets outside my repo HOT 3
- Source control icons don´t work in current release branch (UE 5.1.1) HOT 2
- Cannot compile plugin on 5.3 HOT 6
- Incorrect Git root path HOT 2
- Git LFS Lockstate overriden HOT 1
- ChamberToolCollection Nanite on/off
- Blueprints reported as changed when changes made only in parent HOT 2
- Can't connect to source control: Failed Git remote connection HOT 3
- Thousands of changes showing in Editor when there are no changes.
- Can't Check-in Files
- Renaming a file triggers an error LogSourceControl: Error: Command 'Delete' Failed! HOT 3
- After Check-In, Object can not be checked out HOT 3
- Permission Denied on Mac OS HOT 6
- Implement Dynamic Event Incorrect Order Tick Restarting HOT 2
- Can't check in files with no changes HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uegitplugin.