Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux support #13

Open
PeterTor opened this issue Oct 10, 2017 · 1 comment
Open

Linux support #13

PeterTor opened this issue Oct 10, 2017 · 1 comment

Comments

@PeterTor
Copy link

Hi,

Hi ok, I know there is only windows support.
However are there any plans to make your plugin compatible to linux?

What needs to be done in order to make in compatible? So far I failed to compile
your fork of https://github.com/getnamo/UnrealEnginePython

thanks!

@getnamo
Copy link
Owner

getnamo commented Oct 10, 2017

The steps will largely be similar to #11 and #10.

Breaking it down we need to:

  • Compile socketio libraries (Linux Untested SocketIOClient-Unreal#22) for linux or take out SIOJson and embedd it directly into the tensorflow plugin
  • Compile UnrealEnginePython for linux. It looks like the main repository should compile for linux (last closed issue on this was Compilation error for Linux/UE-4.17/clang-3.8 20tab/UnrealEnginePython#223) so it's should be just debugging what is breaking on the fork.
  • Tensorflow plugin should be already platform agnostic, but we will need to white list it for linux (audio capture component won't be included, but it is currently not used).
  • Ideally include an embedded python 3.5/3.6 build for linux. The architecture of this plugin assumes embedding python, but there are ways around this to use your own python_home installation if you prefer.

Also need to update the pip pipeline to use platform agnostic commands vs windows cmd dependency (https://github.com/getnamo/UnrealEnginePython/blob/master/Content/Scripts/upycmd.py and https://github.com/getnamo/UnrealEnginePython/blob/master/Content/Scripts/upypip.py). We should be able to use the pip module directly in python which should be platform agnostic. I believe I used the cmd module originally to make it work completely in the background with feedback, but I believe the same result can be achieved with some careful work.

If you don't care about using pip however, you can use your own python installation and manually install python dependencies, then the rest should still work as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants