UnrealEnginePPC64: Difference between revisions
Backstrikes (talk | contribs) (Created page with "On Debian 10 PowerPC 64 unstable ( on T2080 RDB) * install mono and glang-8<br /> : apt install mono-complete: apt install clang-8 * clang symbolic links sudo ln -s /usr/bin/c...") |
Backstrikes (talk | contribs) No edit summary |
||
(21 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
On Debian | '''On Debian Sid PowerPC 64 unstable ( on T2080 RDB)''' | ||
:clone our fork of UnrealEngine branch that is a fork the huge work of Elvis that have ported UnrealEngine to PowerPC 64 Bit ( Little Endian) edowson/UnrealEngine | |||
: apt install mono-complete: apt install clang-8 | |||
git clone https://github.com/robyinno/UnrealEngine.git | |||
sudo ln -s /usr/bin/clang-8 /usr/bin/ | |||
;install mono and glang-8 | |||
:apt install mono-complete | |||
:apt install clang-8 | |||
;clang symbolic links | |||
:sudo ln -s /usr/bin/clang-8 /usr/bin/clang | |||
:sudo ln -s /usr/bin/clang++-8 /usr/bin/clang++<br> | |||
install libjemalloc-dev <code>apt install libjemalloc-dev</code> | |||
;jemalloc.h symbolic link on Unreal source | |||
<code>cd Engine/Source/Runtime/Core/Private/HAL<br> | |||
ln -s /usr/include/jemalloc/jemalloc.h . </code> | |||
'''Prerequisites'''<br> | |||
<code> | |||
apt-get install texinfo<br> | |||
apt install unzip<br> | |||
apt install help2man<br> | |||
apt install gawk<br> | |||
apt install libtool-bin<br> | |||
apt install swig libedit-dev<br> | |||
</code> | |||
;To Compile gcc and clang | |||
<code> | |||
cd UnrealEngine <br> | |||
./Engine/Build/BatchFiles/Linux/Toolchain/DockerOnWindows/build_linux_toolchain/build_linux_toolchain.sh <br></code> | |||
;to fix all the dependencies that BuildThirdParty.sh (started from setup.sh) will need - will download around 10GB | |||
<code> | |||
./GitDependencies.sh | |||
</code> | |||
;Setup | |||
<code> | |||
./Setup.sh <br> | |||
./GenerateProjectFiles.sh | |||
</code> | |||
'''Useful Info about Build UnReal on Linux''' | |||
https://wiki.unrealengine.com/Building_On_Linux | |||
'''Problems ''' | |||
:During <code>./GenerateProjectFiles.sh</code> in the output there is "Python SDK not found"<br> | |||
:Look like is needed package pythonnet installable via pip3 but it give the error:<br> | |||
<code>error: option --single-version-externally-managed not recognized</code> | |||
it seem a bug in mono that should be fixed from few days... waiting new version<br> | |||
Tryied different workaround like: | |||
<code>python3 -m pip install -U wheel </code> | |||
<code>pip3 install -U setuptools </code> | |||
:even installing from source <code>/usr/bin/python3 -m pip install -U git+https://github.com/pythonnet/pythonnet --user</code> | |||
:even compiling from git repo | |||
<code>git clone https://github.com/pythonnet/pythonnet <br> | |||
cd pythonnet/<br> | |||
python setup.py bdist_wheel</code> | |||
:give an error:<br> | |||
<code>Error: SecureChannelFailure (Authentication failed, see inner exception.) | |||
Authentication failed, see inner exception.<br> | |||
/usr/lib/../lib/libmono-btls-shared.so assembly:<unknown assembly> type:<unknown type> member:(null)</code><br> | |||
This libmono-btls-shared.so is not installed because for ppc64 is not compiled https://packages.debian.org/sid/libmono-btls-interface4.0-cil |
Latest revision as of 21:22, 6 April 2020
On Debian Sid PowerPC 64 unstable ( on T2080 RDB)
- clone our fork of UnrealEngine branch that is a fork the huge work of Elvis that have ported UnrealEngine to PowerPC 64 Bit ( Little Endian) edowson/UnrealEngine
git clone https://github.com/robyinno/UnrealEngine.git
- install mono and glang-8
- apt install mono-complete
- apt install clang-8
- clang symbolic links
- sudo ln -s /usr/bin/clang-8 /usr/bin/clang
- sudo ln -s /usr/bin/clang++-8 /usr/bin/clang++
install libjemalloc-dev apt install libjemalloc-dev
- jemalloc.h symbolic link on Unreal source
cd Engine/Source/Runtime/Core/Private/HAL
ln -s /usr/include/jemalloc/jemalloc.h .
Prerequisites
apt-get install texinfo
apt install unzip
apt install help2man
apt install gawk
apt install libtool-bin
apt install swig libedit-dev
- To Compile gcc and clang
cd UnrealEngine
./Engine/Build/BatchFiles/Linux/Toolchain/DockerOnWindows/build_linux_toolchain/build_linux_toolchain.sh
- to fix all the dependencies that BuildThirdParty.sh (started from setup.sh) will need - will download around 10GB
./GitDependencies.sh
- Setup
./Setup.sh
./GenerateProjectFiles.sh
Useful Info about Build UnReal on Linux https://wiki.unrealengine.com/Building_On_Linux
Problems
- During
./GenerateProjectFiles.sh
in the output there is "Python SDK not found" - Look like is needed package pythonnet installable via pip3 but it give the error:
error: option --single-version-externally-managed not recognized
it seem a bug in mono that should be fixed from few days... waiting new version
Tryied different workaround like:
python3 -m pip install -U wheel
pip3 install -U setuptools
- even installing from source
/usr/bin/python3 -m pip install -U git+https://github.com/pythonnet/pythonnet --user
- even compiling from git repo
git clone https://github.com/pythonnet/pythonnet
cd pythonnet/
python setup.py bdist_wheel
- give an error:
Error: SecureChannelFailure (Authentication failed, see inner exception.)
Authentication failed, see inner exception.
/usr/lib/../lib/libmono-btls-shared.so assembly:<unknown assembly> type:<unknown type> member:(null)
This libmono-btls-shared.so is not installed because for ppc64 is not compiled https://packages.debian.org/sid/libmono-btls-interface4.0-cil