Last active
November 2, 2024 06:09
-
-
Save udnaan/101006c410ccbbd04772d37dd43fe002 to your computer and use it in GitHub Desktop.
Unreal 4.22 compile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#unset EMSDK as Unreal ships with a version | |
set -e EMSDK | |
#set houdini Root | |
set -gx HFS /opt/hfs17.5.211 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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