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 Untested #22

Closed
getnamo opened this issue Nov 28, 2016 · 10 comments
Closed

Linux Untested #22

getnamo opened this issue Nov 28, 2016 · 10 comments

Comments

@getnamo
Copy link
Owner

getnamo commented Nov 28, 2016

Linux build needs basic testing to confirm it works as intended.

@cpyarger
Copy link

cpyarger commented Aug 8, 2017

Checking with current 4.17 branch of unreal and latest Socket.IO pull from the master branch, I will let you know how it goes. 4.17 with latest is currently a no-go. I will retry with 4.16, and the 4.16 source code release of your code.

@cpyarger
Copy link

I was unable to compile as an Engine Plugin due to the plugin not following this standard for Engine Plugins.

I am currently compiling as a Game /Project Plugin

@cpyarger
Copy link

I have tried 4.15, 4.16, 4.17 and I am getting this same error in all of them. I have tried to recompile the socketio files using boost, and nothing changes. I am at a loss for the night. Any ideas?

[10/11] Link libUE4Editor-SocketIOClient.so
/usr/bin/ld: ~Documents/Unreal Projects/MyProject/Plugins/socketio-client-ue4-15/ThirdParty/SocketIO/Lib/Linux/libsioclient.a(sio_socket.cpp.o): relocation R_X86_64_32S against `.bss' can not be used when making a shared object; recompile with -fPIC
~/Documents/Unreal Projects/MyProject/Plugins/socketio-client-ue4-15/ThirdParty/SocketIO/Lib/Linux/libsioclient.a: error adding symbols: Bad value
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ERROR: UBT ERROR: Failed to produce item: ~/Documents/Unreal Projects/MyProject/Plugins/socketio-client-ue4-15/Binaries/Linux/libUE4Editor-SocketIOClient.so


@marianne-butaye
Copy link

Hello, I have the same problem and errors in logs than cpyarger. I tried your plugin with version 4.21.

[14/19] Link (ld) libUE4Editor-SocketIOClient.so
~/Documents/UnrealEngine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v12_clang-6.0.1-centos7/x86_64-unknown-linux-gnu/bin/x86_64-unknown-linux-gnu-ld: ~/Documents/Unreal Projects/MyProject/Plugins/SocketIOClient/Source/ThirdParty/SocketIO/Lib/Linux/libsioclient.a(sio_socket.cpp.o): relocation R_X86_64_32S against `.bss' can not be used when making a shared object; recompile with -fPIC
~/Documents/Unreal Projects/MyProject/Plugins/SocketIOClient/Source/ThirdParty/SocketIO/Lib/Linux/libsioclient.a: error adding symbols: Bad value
clang++: error: linker command failed with exit code 1 (use -v to see invocation)

@getnamo
Copy link
Owner Author

getnamo commented Feb 15, 2019

re-pull master (v0.12.7), it should now compile using your own linux toolchain and thus avoid these linking errors. Let me know if new issues arise.

@chuan9
Copy link

chuan9 commented Mar 26, 2019

@getnamo Hi, Failed to cross-compile project, the root cause is: getnamo/TensorFlow-Unreal#11. No prebuild binary for linux, Do you have any suggestions? thx

@getnamo
Copy link
Owner Author

getnamo commented Mar 26, 2019

@getnamo Hi, Failed to cross-compile project, the root cause is: getnamo/tensorflow-ue4#11. No prebuild binary for linux, Do you have any suggestions? thx

What version of socket.io plugin are you using?

Tensorflow-ue4 has other issues for compiling on linux that are not related to this plugin.

@chuan9
Copy link

chuan9 commented Mar 27, 2019

@getnamo Unreal 4.21.2, and it gives me tips no prebuild binary.
and I use source code instead of market plugin, cross-compile can be successful! Thanks, just FYI

@getnamo
Copy link
Owner Author

getnamo commented Apr 2, 2019

New binary release: https://github.com/getnamo/socketio-client-ue4/releases/tag/1.0.0 now includes linux support. Ensure you have followed basic cross compile setup for linux https://docs.unrealengine.com/en-us/Platforms/Linux/GettingStarted

@getnamo
Copy link
Owner Author

getnamo commented Apr 4, 2019

Working in release, closing issue. Open new issue if something crops up with linux.

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

4 participants