Shootergame Compiling error with UE4.11p7

Hi,

I’ve spend a lot of time on my project based on Shootergame, but I haven’t any knowlegde in C++ Programming.
I would like to test my project in the 4.11p7 but I have some errors on compile (VS2015). I’m unable to correct the errors by changing the code without help.

Erreur	C2039	'FOnLoginUIClosedDelegate' : n'est pas membre de 'IOnlineExternalUI'	ShooterGame	J:\3D\MyPersonalProject\Source\ShooterGame\Private\UI\Menu\Widgets\SShooterMenuWidget.cpp	234
Erreur	MSB3073	La commande ""C:\Unreal Engine 4.11\Engine\Build\BatchFiles\Build.bat" ShooterGameEditor Win64 Development "J:\3D\MyPersonalProject\ShooterGame.uproject" -waitmutex" s'est arrêtée avec le code -1.	ShooterGame	C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets	37
Erreur		Failed to produce item: J:\3D\MyPersonalProject\Binaries\Win64\UE4Editor-ShooterGame.dll	ShooterGame	J:\3D\MyPersonalProject\Intermediate\ProjectFiles\ERROR	1
Erreur	C2039	'BlendOutTime' : n'est pas membre de 'UAnimMontage'	ShooterGame	J:\3D\MyPersonalProject\Source\ShooterGame\Private\Player\ShooterCharacter.cpp	801
Erreur	C2039	'FOnProfileUIClosedDelegate' : n'est pas membre de 'IOnlineExternalUI'	ShooterGame	J:\3D\MyPersonalProject\Source\ShooterGame\Private\UI\Menu\ShooterFriends.cpp	140
Erreur	C2039	'FOnProfileUIClosedDelegate' : n'est pas membre de 'IOnlineExternalUI'	ShooterGame	J:\3D\MyPersonalProject\Source\ShooterGame\Private\UI\Menu\ShooterRecentlyMet.cpp	136
Erreur	C3083	'FOnLoginUIClosedDelegate' : le symbole situé à gauche de '::' doit être un type	ShooterGame	J:\3D\MyPersonalProject\Source\ShooterGame\Private\UI\Menu\ShooterWelcomeMenu.cpp	121
Erreur	C2039	'CreateSP' : n'est pas membre de 'IOnlineExternalUI'	ShooterGame	J:\3D\MyPersonalProject\Source\ShooterGame\Private\UI\Menu\ShooterWelcomeMenu.cpp	121
Erreur	C3861	'CreateSP' : identificateur introuvable	ShooterGame	J:\3D\MyPersonalProject\Source\ShooterGame\Private\UI\Menu\ShooterWelcomeMenu.cpp	121
Erreur (active)		un nom suivi de '::' doit être un nom de classe ou d'espace de noms	ShooterGame	j:\3D\MyPersonalProject\Source\ShooterGame\Private\UI\Menu\ShooterWelcomeMenu.cpp	121
Erreur	C3083	'FOnLoginUIClosedDelegate' : le symbole situé à gauche de '::' doit être un type	ShooterGame	J:\3D\MyPersonalProject\Source\ShooterGame\Private\UI\Menu\Widgets\SShooterMenuWidget.cpp	234
Erreur	C2039	'CreateSP' : n'est pas membre de 'IOnlineExternalUI'	ShooterGame	J:\3D\MyPersonalProject\Source\ShooterGame\Private\UI\Menu\Widgets\SShooterMenuWidget.cpp	234
Erreur	C3861	'CreateSP' : identificateur introuvable	ShooterGame	J:\3D\MyPersonalProject\Source\ShooterGame\Private\UI\Menu\Widgets\SShooterMenuWidget.cpp	234
Erreur	C2039	'FOnProfileUIClosedDelegate' : n'est pas membre de 'IOnlineExternalUI'	ShooterGame	J:\3D\MyPersonalProject\Source\ShooterGame\Private\UI\ShooterUIHelpers.cpp	19
Erreur	C3083	'FOnProfileUIClosedDelegate' : le symbole situé à gauche de '::' doit être un type	ShooterGame	J:\3D\MyPersonalProject\Source\ShooterGame\Private\UI\ShooterUIHelpers.cpp	36
Erreur	C2039	'CreateStatic' : n'est pas membre de 'IOnlineExternalUI'	ShooterGame	J:\3D\MyPersonalProject\Source\ShooterGame\Private\UI\ShooterUIHelpers.cpp	36
Erreur	C3861	'CreateStatic' : identificateur introuvable	ShooterGame	J:\3D\MyPersonalProject\Source\ShooterGame\Private\UI\ShooterUIHelpers.cpp	36
Erreur	C2039	'FOnLoginUIClosedDelegate' : n'est pas membre de 'IOnlineExternalUI'	ShooterGame	J:\3D\MyPersonalProject\Source\ShooterGame\Private\UI\ShooterUIHelpers.cpp	54
Erreur	C3083	'FOnLoginUIClosedDelegate' : le symbole situé à gauche de '::' doit être un type	ShooterGame	J:\3D\MyPersonalProject\Source\ShooterGame\Private\UI\ShooterUIHelpers.cpp	71
Erreur	C2039	'CreateStatic' : n'est pas membre de 'IOnlineExternalUI'	ShooterGame	J:\3D\MyPersonalProject\Source\ShooterGame\Private\UI\ShooterUIHelpers.cpp	71
Erreur	C3861	'CreateStatic' : identificateur introuvable	ShooterGame	J:\3D\MyPersonalProject\Source\ShooterGame\Private\UI\ShooterUIHelpers.cpp	71
Erreur	C2039	'FOnProfileUIClosedDelegate' : n'est pas membre de 'IOnlineExternalUI'	ShooterGame	J:\3D\MyPersonalProject\Source\ShooterGame\Private\UI\ShooterUIHelpers.h	24
Erreur	C2039	'FOnLoginUIClosedDelegate' : n'est pas membre de 'IOnlineExternalUI'	ShooterGame	J:\3D\MyPersonalProject\Source\ShooterGame\Private\UI\ShooterUIHelpers.h	30
Erreur	C3083	'FOnLoginUIClosedDelegate' : le symbole situé à gauche de '::' doit être un type	ShooterGame	J:\3D\MyPersonalProject\Source\ShooterGame\Private\UI\Widgets\SShooterSplitScreenLobbyWidget.cpp	275
Erreur	C2039	'CreateSP' : n'est pas membre de 'IOnlineExternalUI'	ShooterGame	J:\3D\MyPersonalProject\Source\ShooterGame\Private\UI\Widgets\SShooterSplitScreenLobbyWidget.cpp	275
Erreur	C3861	'CreateSP' : identificateur introuvable	ShooterGame	J:\3D\MyPersonalProject\Source\ShooterGame\Private\UI\Widgets\SShooterSplitScreenLobbyWidget.cpp	275
75
Erreur	C3861	'CreateSP' : identificateur introuvable	ShooterGame	J:\3D\3D Unreal\NovaHome411\Source\ShooterGame\Private\UI\Widgets\SShooterSplitScreenLobbyWidget.cpp	275

Thanks for your help

ShooterGame available in Epic Games Launcher is targeted at version 4.10. Probably, some APIs changed since 4.10 release that make it incompatible with 4.11 preview.

I recommend using 4.10 until 4.11 is released for the purpose of studying ShooterGame.

Thanks, but I really like to test my project in unreal 4.11 preview.
We don’t know when it will be released because as said in the announcement: “The life cycle for this Preview will be longer than most of our other Previews”
And there is a new feature that will probably help to greatly improve the performances in my project…

I think it’s a simple line to modify somewhere because the large parts of the compiling errors are related to “IOnlineExternalUI”.

So, please, if somebody can help with that…

hi Metathesus,I have the same problems.After I read the source of ue4 engine,I found the function changed in 4.11

BlendOutTime is deprecated

UseMesh->AnimScriptInstance->Montage_Stop(AnimMontage->BlendOutTime);

you should use it like this

UseMesh->AnimScriptInstance->Montage_Stop(AnimMontage->BlendOut.GetBlendTime());

and

ExternalUI->ShowProfileUI(*Requestor, *Requestee, IOnlineExternalUI::FOnProfileUIClosedDelegate());

change to

ExternalUI->ShowProfileUI(*Requestor, *Requestee,FOnProfileUIClosedDelegate());

.

ExternalUI->ShowLoginUI(InKeyEvent.GetUserIndex(), false, IOnlineExternalUI::FOnLoginUIClosedDelegate::CreateSP(MenuOwner, &FShooterWelcomeMenu::HandleLoginUIClosed));

change to

ExternalUI->ShowLoginUI(InKeyEvent.GetUserIndex(), false,FOnLoginUIClosedDelegate::CreateSP(MenuOwner, &FShooterWelcomeMenu::HandleLoginUIClosed));

just delete “IOnlineExternalUI::”

then it works for me,I hope this will help you

Thank you very much for your answer.

I will try it tomorrow if I have the time and inform you about the result.

Again: Thank you Xermao!!!

Thanks!
It works like a charm on UE4.11 preview 8.