Skip to content

Error compiling Blocks.uproject on Ubuntu #1023

Closed
@nelsondmmg

Description

I am having some issues trying to open the Blocks project, to test the AirSim framework. I followed the instructions in unreal_blocks.md for linux just until 5. After the in-place conversion the UE4 prompt a window saying that it is impossible to compile the project due to the following error:

ERROR: UBT ERROR: Failed to produce item: /home/vedecom/simulation/AirSim/Unreal/Environments/Blocks/Plugins/AirSim/Binaries/Linux/libUE4Editor-AirSim.so

I know that this is a generic error, but it is the only error message that I found in the window. I followed all the steps in the setup instructions for Linux.

EDIT:

When I try to open again the UE4Editor ask me if I want to compile the libUE4Editor-Blocks.so and libUE4Editor-AirSim.so and if I accept the following error appears:

In file included from /home/vedecom/simulation/AirSim/Unreal/Environments/Blocks/Plugins/AirSim/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/AirSim/Module.AirSim.cpp:8:
In file included from /home/vedecom/simulation/AirSim/Unreal/Environments/Blocks/Plugins/AirSim/Source/AirLib/src/vehicles/car/api/CarRpcLibClient.cpp:10:
In file included from /home/vedecom/simulation/AirSim/Unreal/Environments/Blocks/Plugins/AirSim/Source/AirLib/include/vehicles/car/api/CarRpcLibClient.hpp:10:
/home/vedecom/simulation/AirSim/Unreal/Environments/Blocks/Plugins/AirSim/Source/AirLib/include/vehicles/car/api/CarApiBase.hpp:62:113: warning: field 'timestamp' will be initialized after field 'rpm' [-Wreorder]
: speed(speed_val), gear(gear_val), collision(collision_val), kinematics_true(kinematics_true_val), `timestamp(timestamp_val),

In file included from /home/vedecom/simulation/AirSim/Unreal/Environments/Blocks/Plugins/AirSim/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/AirSim/Module.AirSim.cpp:30:
/home/vedecom/simulation/AirSim/Unreal/Environments/Blocks/Plugins/AirSim/Source/SimHUD/SimHUD.cpp:87:23: error: moving a temporary object prevents copy elision [-Werror,-Wpessimizing-move]
api_server_ = std::move(simmode_->createApiServer());

/home/vedecom/simulation/AirSim/Unreal/Environments/Blocks/Plugins/AirSim/Source/SimHUD/SimHUD.cpp:87:23: note: remove std::move call here
api_server_ = std::move(simmode_->createApiServer());

In file included from /home/vedecom/simulation/AirSim/Unreal/Environments/Blocks/Plugins/AirSim/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/AirSim/Module.AirSim.cpp:33:
/home/vedecom/simulation/AirSim/Unreal/Environments/Blocks/Plugins/AirSim/Source/SimJoyStick/SimJoyStick.cpp:382:13: error: no member named 'setAutoCenter' in 'SimJoyStick::impl'
pimpl_->setAutoCenter(index, strength);

/home/vedecom/simulation/AirSim/Unreal/Environments/Blocks/Plugins/AirSim/Source/SimJoyStick/SimJoyStick.cpp:387:13: error: no member named 'setWheelRumble' in 'SimJoyStick::impl'
pimpl_->setWheelRumble(index, strength);

1 warning and 3 errors generated.
ERROR: UBT ERROR: Failed to produce item: /home/vedecom/simulation/AirSim/Unreal/Environments/Blocks/Plugins/AirSim/Binaries/Linux/libUE4Editor-AirSim.so
Total build time: 20.55 seconds (Local executor: 0.00 seconds)

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions