Skip to content

Instantly share code, notes, and snippets.

@udnaan
Last active January 13, 2021 04:00
Show Gist options
  • Save udnaan/101006c410ccbbd04772d37dd43fe002 to your computer and use it in GitHub Desktop.
Save udnaan/101006c410ccbbd04772d37dd43fe002 to your computer and use it in GitHub Desktop.
Unreal 4.22 compile
This is what worked for me on 4.22 on Linux (ubuntu 18.04)
Engine/Saved/UnrealBuildTool/BuildConfiguration.xml
<?xml version="1.0" encoding="utf-8" ?>
<Configuration xmlns="https://www.unrealengine.com/BuildConfiguration">
<LocalExecutor>
<MaxProcessorCount>8</MaxProcessorCount>
</LocalExecutor>
</Configuration>
#unset EMSDK as Unreal ships with a version
set -e EMSDK
#set houdini Root
set -gx HFS /opt/hfs17.5.211
compile command:
env CC=/home/nan/p/UnrealEngine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v13_clang-7.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang CXX=/home/nan/p/UnrealEngine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v13_clang-7.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang++ CPPFLAGS="-fPIC" ./configure --enable-shared --enable-unicode=ucs2 --prefix=(pwd)/install
copy libpython2.7.so.* in Engine/Binaries/Linux
190: PythonIncludePath = Path.Combine(PythonRoot, "include", "python2.7");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment