x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

4.19 and GameLiftServerSDK

Looking for any assistance on this. Trying to integrate the GameLiftServerSDK into 4.19 After quite a bit of trial and error and fixing other issues ive gotten stuck at this point.

The Development Editor compiles fine, no errors. But when trying to build DevelopmentServer I get this.

 SNMOnlineGameMode.cpp
 2>E:\Source\UnrealEngineSNM\Engine\Source\Runtime\Core\Public\Core.h(6): warning : Monolithic headers should not be used by this module. Please change it to explicitly include the headers it needs.
 2>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.13.26128\INCLUDE\pplinterface.h(142): error C4577: 'noexcept' used with no exception handling mode specified; termination on exception is not guaranteed. Specify /EHsc
 2>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.13.26128\INCLUDE\pplinterface.h(150): error C4577: 'noexcept' used with no exception handling mode specified; termination on exception is not guaranteed. Specify /EHsc
 2>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.13.26128\INCLUDE\pplinterface.h(181): error C4577: 'noexcept' used with no exception handling mode specified; termination on exception is not guaranteed. Specify /EHsc
 2>UnrealBuildTool : error : UBT ERROR: Failed to produce item: E:\Source\UnrealEngineSNM\Engine\Plugins\GameLiftServerSDK\Binaries\Win64\SwordsNMagicAndStuff-GameLiftServerSDK.lib
 2>Total build time: 7.84 seconds (Local executor: 0.00 seconds)
 2>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.Targets(44,5): error MSB3075: The command "E:\Source\UnrealEngineSNM\Engine\Build\BatchFiles\Build.bat SwordsNMagicAndStuff Win64 Development "E:\P4\SwordsNMagicDepot\Main\SwordsNMagicAndStuff.uproject" -WaitMutex -FromMsBuild" exited with code 5. Please verify that you have sufficient rights to run this command.
 2>Done building project "SwordsNMagicAndStuff.vcxproj" -- FAILED.
 ========== Build: 1 succeeded, 1 failed, 2 up-to-date, 0 skipped ==========
Product Version: UE 4.19
Tags:
more ▼

asked Apr 01 '18 at 06:48 AM in C++ Programming

avatar image

DeadlyMidnight
21 2 3 10

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

In 4.19.2 the previous ways of handling this issue won't work if you build in shipping mode while using Visual Studios 17.

In order to fix this, you must add a line to Engine/Source/Programs/UnrealBuildTool/Platform/Windows/VCToolChain.cs inside the function AppendCLArguments_Global:

         Arguments.Add("/EHsc");

This line will handle the compiler exception and you should be good to go! :D

more ▼

answered Jun 15 '18 at 05:48 PM

avatar image

Samlsewall
172 5 9 10

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

UE4.19, VS2017. You can fix it without fiddling with exceptions. Just wrap future include in GameLift headers with GAMELIFT_USE_STD macro. One in aws/gamelift/common/Outcome.h and another one in aws/gamelift/server/GameLiftServerAPI.h. They shouldn't be in unreal plugin version. Like that:

 #ifdef GAMELIFT_USE_STD
 #include <future>
 #endif



more ▼

answered Jul 17 '18 at 07:07 AM

avatar image

ZX.Diablo
1 1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question