Skip to content

Cannot compile Blocks project on Ubuntu #1259

@martijn-vinotion

Description

@martijn-vinotion

Hello everyone,

I am trying to open the Blocks project on Ubuntu 16.04 but am running into difficulties.

After compiling AirSim, I try to open the Blocks project in the Unreal Editor.
First, it gives the following message

This project was made with a different version of the Unreal Engine. Converting to this version will rebuild your code projects.

New features and improvements sometimes cause API changes, which may require you to modify your code before it compiles. Content saved with newer versions of the editor will not open in older versions.

We recommend you open a copy of your project to avoid damaging the original.

After selecting 'open a copy', it first creates a copy, generates project files and then tries to recompile the project and gives the following error:

The project could not be compiled. Would you like to open it in Null Source Code Access?

Running ~/UnrealEngine/Engine/Binaries/DotNET/UnrealBuildTool.exe Blocks Development Linux -project="~/AirSim/AirSim/Unreal/Environments/Blocks 4.19 - 3/Blocks.uproject" -editorrecompile -progress -NoHotReloadFromIDE
Scale at X=65.000000, Y=24.000000: 1.000000 (monitor=#0, HDPI=96.000000 (horz scale: 1.000000), VDPI=96.000000 (vert scale: 1.000000))
Scale at X=960.000000, Y=600.000000: 1.000000 (monitor=#0, HDPI=96.000000 (horz scale: 1.000000), VDPI=96.000000 (vert scale: 1.000000))
Scale at X=960.000000, Y=600.000000: 1.000000 (monitor=#0, HDPI=96.000000 (horz scale: 1.000000), VDPI=96.000000 (vert scale: 1.000000))
Setting swap interval to 'Immediate'

Running Mono...

~/UnrealEngine/Engine ~/UnrealEngine/Engine/Binaries/Linux
Using 'git status' to determine working set for adaptive non-unity build.
Creating makefile for Blocks (no existing makefile)
Performing full C++ include scan (no include cache file)
@progress push 5%
Building UnrealHeaderTool...
Using 'git status' to determine working set for adaptive non-unity build.
Creating makefile for UnrealHeaderTool (no existing makefile)
------- Build details --------
Using clang (/usr/bin/clang++) version '5.0.0' (string), 5 (major), 0 (minor), 0 (patch)
Using bundled libc++ standard C++ library.
Using lld linker
Using llvm-ar : /usr/bin/llvm-ar
Using fast way to relink  circularly dependent libraries (no FixDeps).
------------------------------
Performing 1 actions (8 in parallel)
[1/1] Link (lld) UnrealHeaderTool
Total build time: 1.85 seconds (Local executor: 0.11 seconds)
Error: UnrealHeaderTool failed for target 'BlocksEditor' (platform: Linux, module info: ~/AirSim/AirSim/Unreal/Environments/Blocks 4.19 - 3/Intermediate/Build/Linux/B4D820EA/BlocksEditor/Development/BlocksEditor.uhtmanifest, exit code: OtherCompilationError (5)).

I then choose to open it with Null Code Access, but then nothing happens.
When I then try to open the created copy, it asks to rebuild libraries (blocks and the airsim plugin), when I choose to do so it fails because blocks could not be compiled.
It then suggests to build manually.
I figured out how to build the airsim plugin manually but I cannot find a way to build the project manually on Ubuntu.

Can anyone help with this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions