`
aigo
  • 浏览: 2537517 次
  • 性别: Icon_minigender_1
  • 来自: 宜昌
社区版块
存档分类
最新评论

[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.

  • 大小: 4.8 KB
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics