[UE4]官方示例demo工程ShooterGame手动编译的方式(和UE4引擎源码一起编译)

 

用编译版本的UE4来构建并运行项目,只需要重新生成下VS工程文件即可:

右击*.uproject文件,选择:Switch Unreal Engine version,然后选择UE4的编译版本:


 

切换版本以后,再右击*.uproject并选择:Generate Visual Studio project files,最后启动VS,就能看到完整的引擎代码并进入调试。

 

 

下面是论坛上介绍的一种老旧方法,相对麻烦点

原文地址:https://answers.unrealengine.com/questions/16760/how-to-compile-the-shooter-game-sample-manually.html

 

Here is how to get the Shooter project to run in your own compiled version of the engine:

  1. Right Click on the .uproject file and select, "Generate Visual Studio Files."

  2. Open the Visual Studio Solution

  3. Make sure your project is set to build for, "Development Editor" in the Solution Configurations drop-down.

  4. Select the project container (Not the Solution Container) in the Solution Explorer, right click on it and select, "Properties."

  5. Under Configuration Properties select, "NMake."

  6. Find and replace everywhere that the project is looking for the Launcher installed version of the engine and replace those path with the correct paths to your source built version of UE4.

  7. Clean the Solution.

  8. Build the Solution.

The project should now open without errors in your source built version of the Editor.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值