UE4.27 Ubuntu 像素流环境搭建

1.下载 ue4.27源码, 编译并启动

        注:主要按照这个教程来: GitHub上的虚幻引擎 - Unreal Engine  (github账号关联epic,邮箱激活,得到授权)

        

         我的建议是,直接科学上网,下载zip, 然后在控制台 make

        ps: Windows版的 UE4.27        

  1. 1 UE4.27 下载后不能直接F5运行,需要生成解决方案,需要4小时(AMD Ryzen 7 3700X 8-Core Processor)

63>  [4562/4562] UE4Editor.target

63>Total time in Parallel executor: 9795.21 seconds

63>Total execution time: 11081.69 seconds

65>Target is up to date

65>Total execution time: 10897.62 seconds

  1. 2  编译报错,但可以从ue4.27 edit.exe运行

2.安装QT creator,  进行UE c++开发

        2.1 安装Qt 5.7.0(因为这个版本有教程 Install Qt 5 on Ubuntu - Qt Wiki)

例子: wget https://download.qt.io/new_archive/qt/5.7/5.7.0/qt-opensource-linux-x64-5.7.0.run

由于政策变化,这在 5.14.2 之前有效,分发开源 Qt linux 软件包从 5.15.0 停止。您需要从 5.15.0 开始构建自己的包。

调整权限,运行安装程序并按照说明完成安装。

chmod +x qt-opensource-linux-x64-5.7.0.run ./qt-opensource-linux-x64-5.7.0.run

        2.2 到这里在图形界面的辅助下, 都能安装成功. 接下来是配置UE工程编译环境

         按照官方教程操作即可:https://docs.unrealengine.com/4.27/en-US/SharingAndReleasing/Linux/BeginnerLinuxDeveloper/SettingUpQtCreator/https://docs.unrealengine.com/4.27/en-US/SharingAndReleasing/Linux/BeginnerLinuxDeveloper/SettingUpQtCreator/        主要步骤一:    UE4Editor-Linux-Debug     UE4Editor-Linux-Debug ARGS="-clean"

 如果是纯make, 可以使用 -j 4或者 -j16 多核CPU编译

 这时候就可以正常的 构建\运行UE4.27了


3.解决Engine modules are out of date , and cannot be compiled while the engine running

        这个问题CSDN上有答案,那个回答并没有解决,我在Ubuntu上遇到的问题

Engine Modules outofdate. Please rebuild with your IDE. [Linux, CLion, UE4 4.27] - Ask - GameDev.tvEngine Modules are out of date, and cannot be compiled while the engine is running. Please rebuild through your IDE. Salut, i managed to compile UE4 4.27 on Linux (debian). The Engine it self can be opened and the tem…https://community.gamedev.tv/t/engine-modules-outofdate-please-rebuild-with-your-ide-linux-clion-ue4-4-27/186263        在项目xxx.Target.cs文件中加入:

        DefaultBuildSettings = BuildSettingsVersion.V2;

 然后我搜到了其他答案

How to solve engine modules are out of date - Platform & Builds - Unreal Engine ForumsHey, I am compiling my own engine solution because I have made some changes to the engine’s code, but when trying to open my .uproject file, it asks for me to build the modules because they are built for another version.…https://forums.unrealengine.com/t/how-to-solve-engine-modules-are-out-of-date/564119

First, in your source folder in your project, check that {nameofproject}.Target.cs and {nameofproject}Editor.Target.cs has “DefaultBuildSettings = BuildSettingsVersion.V2;” in the section base(Target) { … } If it does not work, check the file Engine/Source/Developer/DesktopPlatform/Private/DesktopPlatformBase.cpp in your Unreal Engine source code, look for the line Arguments += " -Progress -NoEngineChanges -NoHotReloadFromIDE"; et remove the two last options : Arguments += " -Progress";

  • Re-compile Unreal Engine - Launch your project and accept the rebuild.


4. 使用openCV插件

        报错:  ERROR: Module 'OpenCVLenscalibration' should not reference module "OpenCV (Project) .
 

报错了别灰心,  进入UE引擎,勾上openCV插件,重启即可打开


5. 像素流

操作说明https://docs.unrealengine.com/4.27/en-US/SharingAndReleasing/PixelStreaming/PixelStreamingIntro/icon-default.png?t=M666https://docs.unrealengine.com/4.27/en-US/SharingAndReleasing/PixelStreaming/PixelStreamingIntro/

 Edit > Plugins.在插件库里勾选 Pixel Streaming

然后重启,打包 Files > Package Project > Windows (64-bit).

还有一些设置...  等出Bug了在记录

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值