Code Monkey home page Code Monkey logo

Comments (10)

cpyarger avatar cpyarger commented on May 12, 2024

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.

from socketioclient-unreal.

cpyarger avatar cpyarger commented on May 12, 2024

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

from socketioclient-unreal.

cpyarger avatar cpyarger commented on May 12, 2024

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


from socketioclient-unreal.

marianne-butaye avatar marianne-butaye commented on May 12, 2024

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)

from socketioclient-unreal.

getnamo avatar getnamo commented on May 12, 2024

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.

from socketioclient-unreal.

chuan9 avatar chuan9 commented on May 12, 2024

@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

from socketioclient-unreal.

getnamo avatar getnamo commented on May 12, 2024

@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.

from socketioclient-unreal.

chuan9 avatar chuan9 commented on May 12, 2024

@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

from socketioclient-unreal.

getnamo avatar getnamo commented on May 12, 2024

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

from socketioclient-unreal.

getnamo avatar getnamo commented on May 12, 2024

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

from socketioclient-unreal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.