Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failed for UE4.26 #217

Open
gaoyuanzizizi opened this issue Aug 27, 2021 · 1 comment
Open

Build failed for UE4.26 #217

gaoyuanzizizi opened this issue Aug 27, 2021 · 1 comment

Comments

@gaoyuanzizizi
Copy link

  • Operating System:
  • UE4 Version:4.26
  • UnrealCV Version:3.0.10
  • Client (python2, 3 or matlab): python3
  • Problem Description:
    I have tried to build UnrealCV for UE4.26 but it has failed. Can you please inform whether there is any support for this or not?

$ python build.py --UE "E:\Program Files\Epic Games\UE_4.26"
Running AutomationTool...
Parsing command line: BuildPlugin -plugin=E:\PythonDocuments\unrealcv-0.3.10\UnrealCV.uplugin -package=E:\PythonDocuments\unrealcv-0.3.10\Plugins\UnrealCV -rocket -targetplatforms=Win64
Copying 138 file(s) using max 64 thread(s)
Reading plugin from E:\PythonDocuments\unrealcv-0.3.10\Plugins\UnrealCV\HostProject\Plugins\UnrealCV\UnrealCV.uplugin...
Building plugin for host platforms: Win64
Running: E:\Program Files\Epic Games\UE_4.26\Engine\Binaries\DotNET\UnrealBuildTool.exe UE4Editor Win64 Development -Project=E:\PythonDocuments\unrealcv-0.3.10\Plugins\UnrealCV\HostProject\HostProject.uproject -plugin=E:\PythonDocuments\unrealcv-0.3.10\Plugins\UnrealCV\HostProject\Plugins\UnrealCV\UnrealCV.uplugin -iwyu -noubtmakefiles -manifest=E:\PythonDocuments\unrealcv-0.3.10\Plugins\UnrealCV\HostProject\Saved\Manifest-UE4Editor-Win64-Development.xml -nohotreload -log="C:\Users\Administrator\AppData\Roaming\Unreal Engine\AutomationTool\Logs\E+Program+Files+Epic+Games+UE_4.26\UBT-UE4Editor-Win64-Development.txt"
While compiling E:\PythonDocuments\unrealcv-0.3.10\Plugins\UnrealCV\HostProject\Intermediate\Build\BuildRules\HostProjectModuleRules.dll:
e:\PythonDocuments\unrealcv-0.3.10\Plugins\UnrealCV\HostProject\Plugins\UnrealCV\Source\UnrealCV\UnrealCV.Build.cs(18,41) : error CS0122: “UnrealBuildTool.BuildConfiguration”不可访问,因为它受保护级别限制
e:\PythonDocuments\unrealcv-0.3.10\Plugins\UnrealCV\HostProject\Plugins\UnrealCV\Source\UnrealCV\UnrealCV.Build.cs(51,8) : error CS0103: 当前上下文中不存在名称“UEBuildConfiguration”
ERROR: Unable to compile source files.
Took 2.661s to run UnrealBuildTool.exe, ExitCode=6
UnrealBuildTool failed. See log for more details. (C:\Users\Administrator\AppData\Roaming\Unreal Engine\AutomationTool\Logs\E+Program+Files+Epic+Games+UE_4.26\UBT-UE4Editor-Win64-Development.txt)
AutomationTool exiting with ExitCode=6 (6)
BUILD FAILED

@florian-world
Copy link

I just pushed a new 4.26 branch on my fork https://github.com/florian-world/unrealcv/tree/4.26 which I used successfully to compile a new world with Unreal Engine 4.26.2 on Ubuntu 20.04.

If this is of any use, perhaps @qiuwch can pull it to a new 4.26 branch here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants