From 74bd564697ce6ee8334a230baf06434d8ccb3274 Mon Sep 17 00:00:00 2001 From: Oleg Petruny Date: Mon, 9 Sep 2024 16:45:10 +0200 Subject: [PATCH] Update README --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index aef4d66..a23b29d 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ # Lost_Edge -Developed with Unreal Engine 5 +It's recommended to work in Unreal Engine 5.4 and to install Visual Studio with the necessary packages as it described in the [official documentation](https://dev.epicgames.com/documentation/en-us/unreal-engine/setting-up-visual-studio-development-environment-for-cplusplus-projects-in-unreal-engine) (recommended settings aren't needed). \ +After repo cloning, the Visual Studio project files needs to be generated. It can be done in the explorer RMB context menu of file "Lost_Edge.uproject". Or by typing "%UE5PATH%\Engine\Build\BatchFiles\GenerateProjectFiles.bat" "%REPOPATH%\Lost_Edge.uproject". \ +After generating, "Lost_Edge.sln" can be opened and project can start building for the first time, which will fail. This is because of using OpenCV plugin that together with UnrealEngine implement their own "check()" function. This error can be used to determine that in the file "%UE5PATH%\Engine\Plugins\Runtime\OpenCV\Source\ThirdParty\OpenCV\include\opencv2\core\utility.hpp" it is necessary to comment out the warning macro on lines 52-54 and rename the function itself on line 957 to, for example, "checkcv()". +After this modification, the build should run fine and it is possible to open the project in UnrealEngine.