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

package built with different version UE v 5.2 #252

Open
neurosynapse opened this issue Sep 20, 2024 · 4 comments
Open

package built with different version UE v 5.2 #252

neurosynapse opened this issue Sep 20, 2024 · 4 comments

Comments

@neurosynapse
Copy link

  • Operating System: Windows 10
  • UE4 Version: 5.2
  • UnrealCV Version: 5.2
  • Client (python2, 3 or matlab):
  • Problem Description:

Hello,

Just tried to import UnrealCV plugin for UE v 5.2 and got nasty error about package built with different version. It would be nice if you could help me please.

error

Best regards,
Roberts

@zfw1226
Copy link
Member

zfw1226 commented Sep 25, 2024

Can you use build.py to compile UnrealCV? If not, can you report the error when compiling?

@flashal1
Copy link

Can you use build.py to compile UnrealCV? If not, can you report the error when compiling?
Thanks a lot. I tried to run python build.py but I failed and I can't solve it.
Thanks again!!

Running AutomationTool...
Parsing command line: BuildPlugin -plugin=F:\Workspace\ue5\unrealcv-5.2\UnrealCV.uplugin -package=F:\Workspace\ue5\unrealcv-5.2\Plugins\UnrealCV -rocket -targetplatforms=Win64
Copying 210 file(s) using max 64 thread(s)
Reading plugin from F:\Workspace\ue5\unrealcv-5.2\Plugins\UnrealCV\HostProject\Plugins\UnrealCV\UnrealCV.uplugin...
Building plugin for host platforms: Win64
Running: D:\Program Files\Epic Games\UE_4.27\Engine\Binaries\DotNET\UnrealBuildTool.exe UE4Editor Win64 Development -Project=F:\Workspace\ue5\unrealcv-5.2\Plugins\UnrealCV\HostProject\HostProject.uproject -plugin=F:\Workspace\ue5\unrealcv-5.2\Plugins\UnrealCV\HostProject\Plugins\UnrealCV\UnrealCV.uplugin -iwyu -noubtmakefiles -manifest=F:\Workspace\ue5\unrealcv-5.2\Plugins\UnrealCV\HostProject\Saved\Manifest-UE4Editor-Win64-Development.xml -nohotreload -log="C:\Users\23905\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Program+Files+Epic+Games+UE_4.27\UBT-UE4Editor-Win64-Development.txt"
Parsing headers for UE4Editor
Running UnrealHeaderTool "F:\Workspace\ue5\unrealcv-5.2\Plugins\UnrealCV\HostProject\HostProject.uproject" "F:\Workspace\ue5\unrealcv-5.2\Plugins\UnrealCV\HostProject\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -abslog="C:\Users\23905\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Program+Files+Epic+Games+UE_4.27\UHT-UE4Editor-Win64-Development.txt" -installed
LogInit: Display: Loading text-based GConfig....
F:/Workspace/ue5/unrealcv-5.2/Plugins/UnrealCV/HostProject/Plugins/UnrealCV/Source/UnrealCV/Public/Sensor/CameraSensor/FusionCamSensor.h(102) : Error: Cannot find class '', to resolve delegate 'Type'
Took 15.8253906s to run UnrealBuildTool.exe, ExitCode=6
UnrealBuildTool failed. See log for more details. (C:\Users\23905\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Program+Files+Epic+Games+UE_4.27\UBT-UE4Editor-Win64-Development.txt)
AutomationTool exiting with ExitCode=6 (6)
BUILD FAILED

@zfw1226
Copy link
Member

zfw1226 commented Dec 12, 2024

@flashal1 According to your log, it seems that you use UE 4.27 to compile Unrealcv 5.2. If you want to use UnrealCV in UE 4.27, please use UnrealCV 4.27 branch. If you want to use build.py to compile UnrealCV 5.2, please specify the path of the Unreal Engine 5 when running build.py, such as build.py --UE4 D:\Program Files\Epic Games\UE_5.2

@flashal1
Copy link

@flashal1 According to your log, it seems that you use UE 4.27 to compile Unrealcv 5.2. If you want to use UnrealCV in UE 4.27, please use UnrealCV 4.27 branch. If you want to use build.py to compile UnrealCV 5.2, please specify the path of the Unreal Engine 5 when running build.py, such as build.py --UE4 D:\Program Files\Epic Games\UE_5.2

I compiled it successfully. Thanks!!!

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

3 participants