getnamo / SocketIOClient-Unreal

Socket.IO client plugin for the Unreal Engine.
Other
896 stars 240 forks source link

Linux compilation issue #2 (UE5.0) #364

Closed t0msk closed 1 year ago

t0msk commented 1 year ago

Hello, I was writing you on UE marketplace, topic: "Download plugin for Linux" :)

So I added SocketIO into project plugin folder and after launch I get this message, so I press "yes". Screenshot from 2023-01-09 23-16-57

This is log from compilation:

LogInit: Display: Running engine for game: BritishVsPirates
LogCsvProfiler: Display: Metadata set : platform="Linux"
LogCsvProfiler: Display: Metadata set : config="Development"
LogCsvProfiler: Display: Metadata set : buildversion="++UE5+Release-5.0-CL-20979098"
LogCsvProfiler: Display: Metadata set : engineversion="5.0.3-20979098+++UE5+Release-5.0"
LogCsvProfiler: Display: Metadata set : commandline="" "/home/tomsk/Projects/Unreal/BritishVsPirates 5.0/BritishVsPirates.uproject" -opengl4""
LogCsvProfiler: Display: Metadata set : os="Arch Linux 6.0.8-arch1-1"
LogCsvProfiler: Display: Metadata set : cpu="GenuineIntel|Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz"
LogCsvProfiler: Display: Metadata set : pgoenabled="0"
LogCsvProfiler: Display: Metadata set : loginid="e83306ec6ec84dc490dd554e8781d965-000003e8"
LogCsvProfiler: Display: Metadata set : llm="0"
LogPlatformFile: Not using cached read wrapper
LogStats: Stats thread started at 0.272078
LogICUInternationalization: ICU TimeZone Detection - Raw Offset: +1:00, Platform Override: ''
LogInit: Session CrashGUID >====================================================
         Session CrashGUID >   UECC-Linux-5B9037227FA04CB7A7F2CF2B4D441FB2
         Session CrashGUID >====================================================
LogConfig: Display: Loading Linux ini files took 0.02 seconds
LogConfig: Display: Loading Mac ini files took 0.11 seconds
LogConfig: Display: Loading VulkanPC ini files took 0.01 seconds
LogConfig: Display: Loading Windows ini files took 0.12 seconds
LogConfig: Display: Loading Unix ini files took 0.02 seconds
LogPluginManager: Mounting Engine plugin FastBuildController
LogPluginManager: Mounting Engine plugin MeshPainting
LogConfig: Display: Loading LinuxArm64 ini files took 0.08 seconds
LogConfig: Display: Loading Android ini files took 0.05 seconds
LogPluginManager: Mounting Engine plugin XGEController
LogPluginManager: Mounting Engine plugin AssetTags
LogPluginManager: Mounting Engine plugin AndroidDeviceProfileSelector
LogConfig: Display: Loading HoloLens ini files took 0.06 seconds
LogPluginManager: Mounting Engine plugin AudioSynesthesia
LogConfig: Display: Loading IOS ini files took 0.03 seconds
LogConfig: Display: Loading TVOS ini files took 0.10 seconds
LogPluginManager: Mounting Engine plugin RuntimePhysXCooking
LogPluginManager: Mounting Engine plugin MobilePatchingUtils
LogPluginManager: Mounting Engine plugin CableComponent
LogPluginManager: Mounting Engine plugin MatineeToLevelSequence
LogPluginManager: Mounting Engine plugin CustomMeshComponent
LogPluginManager: Mounting Engine plugin ProceduralMeshComponent
LogPluginManager: Mounting Engine plugin WindowsDeviceProfileSelector
LogPluginManager: Mounting Engine plugin LevelSequenceEditor
LogPluginManager: Mounting Engine plugin ActorSequence
LogPluginManager: Mounting Engine plugin TemplateSequence
LogPluginManager: Mounting Engine plugin SequencerScripting
LogPluginManager: Mounting Engine plugin ArchVisCharacter
LogPluginManager: Mounting Engine plugin ChunkDownloader
LogPluginManager: Mounting Engine plugin PropertyAccessEditor
LogPluginManager: Mounting Engine plugin SoundFields
LogPluginManager: Mounting Engine plugin LocationServicesBPLibrary
LogPluginManager: Mounting Engine plugin MeshModelingToolset
LogPluginManager: Mounting Engine plugin SignificanceManager
LogPluginManager: Mounting Engine plugin WebMMoviePlayer
LogPluginManager: Mounting Engine plugin DatasmithContent
LogPluginManager: Mounting Engine plugin AppleMoviePlayer
LogPluginManager: Mounting Engine plugin HairStrands
LogPluginManager: Mounting Engine plugin ChaosClothEditor
LogPluginManager: Mounting Engine plugin PythonScriptPlugin
LogPluginManager: Mounting Engine plugin GeometryCollectionPlugin
LogPluginManager: Mounting Engine plugin ResonanceAudio
LogPluginManager: Mounting Engine plugin VariantManagerContent
LogPluginManager: Mounting Engine plugin GoogleCloudMessaging
LogPluginManager: Mounting Engine plugin ChaosEditor
LogPluginManager: Mounting Engine plugin ExampleDeviceProfileSelector
LogPluginManager: Mounting Engine plugin ChaosSolverPlugin
LogPluginManager: Mounting Engine plugin BackChannel
LogPluginManager: Mounting Engine plugin LinuxDeviceProfileSelector
LogPluginManager: Mounting Engine plugin ChaosCloth
LogPluginManager: Mounting Engine plugin GeometryCache
LogPluginManager: Mounting Engine plugin AndroidFileServer
LogPluginManager: Mounting Engine plugin AppleImageUtils
LogPluginManager: Mounting Engine plugin AudioCapture
LogPluginManager: Mounting Engine plugin GooglePAD
LogPluginManager: Mounting Engine plugin AndroidMoviePlayer
LogPluginManager: Mounting Engine plugin GeometryProcessing
LogPluginManager: Mounting Engine plugin CurveEditorTools
LogPluginManager: Mounting Engine plugin AndroidPermission
LogPluginManager: Mounting Engine plugin DataValidation
LogPluginManager: Mounting Engine plugin SequencerAnimTools
LogPluginManager: Mounting Engine plugin GameplayTagsEditor
LogPluginManager: Mounting Engine plugin ActorLayerUtilities
LogPluginManager: Mounting Engine plugin MobileLauncherProfileWizard
LogPluginManager: Mounting Engine plugin EditorScriptingUtilities
LogPluginManager: Mounting Engine plugin MaterialAnalyzer
LogPluginManager: Mounting Engine plugin WorldPartitionHLODUtilities
LogPluginManager: Mounting Engine plugin FacialAnimation
LogPluginManager: Mounting Engine plugin Synthesis
LogPluginManager: Mounting Engine plugin PlatformCrypto
LogPluginManager: Mounting Engine plugin EditorDebugTools
LogPluginManager: Mounting Engine plugin IOSDeviceProfileSelector
LogPluginManager: Mounting Engine plugin GeometryMode
LogPluginManager: Mounting Engine plugin ChaosNiagara
LogPluginManager: Mounting Engine plugin SpeedTreeImporter
LogPluginManager: Mounting Engine plugin WindowsMoviePlayer
LogPluginManager: Mounting Engine plugin MacGraphicsSwitching
LogPluginManager: Mounting Engine plugin PluginBrowser
LogPluginManager: Mounting Engine plugin MeshModelingToolsetExp
LogPluginManager: Mounting Engine plugin CryptoKeys
LogPluginManager: Mounting Engine plugin AutomationUtils
LogPluginManager: Mounting Engine plugin AssetManagerEditor
LogPluginManager: Mounting Engine plugin AISupport
LogPluginManager: Mounting Engine plugin EnvironmentQueryEditor
LogPluginManager: Mounting Engine plugin OpenImageDenoise
LogPluginManager: Mounting Engine plugin GameplayCameras
LogPluginManager: Mounting Engine plugin ProxyLODPlugin
LogPluginManager: Mounting Engine plugin CameraShakePreviewer
LogPluginManager: Mounting Engine plugin FullBodyIK
LogPluginManager: Mounting Engine plugin PlanarCut
LogPluginManager: Mounting Engine plugin CharacterAI
LogPluginManager: Mounting Engine plugin SkeletalReduction
LogPluginManager: Mounting Engine plugin ControlRig
LogPluginManager: Mounting Engine plugin IKRig
LogPluginManager: Mounting Engine plugin Niagara
LogPluginManager: Mounting Engine plugin AnimationModifierLibrary
LogPluginManager: Mounting Engine plugin ControlRigSpline
LogPluginManager: Mounting Engine plugin BlendSpaceMotionAnalysis
LogPluginManager: Mounting Engine plugin OodleNetwork
LogPluginManager: Mounting Engine plugin Paper2D
LogPluginManager: Mounting Engine plugin UdpMessaging
LogPluginManager: Mounting Engine plugin OnlineBase
LogPluginManager: Mounting Engine plugin CLionSourceCodeAccess
LogPluginManager: Mounting Engine plugin TcpMessaging
LogPluginManager: Mounting Engine plugin OnlineSubsystemUtils
LogPluginManager: Mounting Engine plugin CodeLiteSourceCodeAccess
LogPluginManager: Mounting Engine plugin OnlineSubsystemNull
LogPluginManager: Mounting Engine plugin PixWinPlugin
LogPluginManager: Mounting Engine plugin VisualStudioSourceCodeAccess
LogPluginManager: Mounting Engine plugin RiderSourceCodeAccess
LogPluginManager: Mounting Engine plugin AnimationSharing
LogPluginManager: Mounting Engine plugin TextureFormatOodle
LogPluginManager: Mounting Engine plugin KDevelopSourceCodeAccess
LogPluginManager: Mounting Engine plugin UObjectPlugin
LogPluginManager: Mounting Engine plugin GitSourceControl
LogPluginManager: Mounting Engine plugin XCodeSourceCodeAccess
LogPluginManager: Mounting Engine plugin OnlineSubsystem
LogPluginManager: Mounting Engine plugin NullSourceCodeAccess
LogPluginManager: Mounting Engine plugin PluginUtils
LogPluginManager: Mounting Engine plugin SubversionSourceControl
LogPluginManager: Mounting Engine plugin TraceDataFilters
LogPluginManager: Mounting Engine plugin PerforceSourceControl
LogPluginManager: Mounting Engine plugin PropertyAccessNode
LogPluginManager: Mounting Engine plugin PlasticSourceControl
LogPluginManager: Mounting Engine plugin VisualStudioCodeSourceCodeAccess
LogPluginManager: Mounting Engine plugin AlembicImporter
LogPluginManager: Mounting Engine plugin MediaCompositing
LogPluginManager: Mounting Engine plugin WmfMedia
LogPluginManager: Mounting Engine plugin MediaPlayerEditor
LogPluginManager: Mounting Engine plugin AvfMedia
LogPluginManager: Mounting Engine plugin ImgMedia
LogPluginManager: Mounting Engine plugin LauncherChunkInstaller
LogPluginManager: Mounting Engine plugin AndroidMedia
LogPluginManager: Mounting Engine plugin WebMMedia
LogPluginManager: Mounting Engine plugin ContentBrowserAssetDataSource
LogPluginManager: Mounting Engine plugin ContentBrowserFileDataSource
LogPluginManager: Mounting Engine plugin ContentBrowserClassDataSource
LogPluginManager: Mounting Engine plugin Interchange
LogPluginManager: Mounting Engine plugin InterchangeEditor
LogPluginManager: Mounting Engine plugin OnlineServices
LogPluginManager: Mounting Engine plugin OnlineSubsystemGooglePlay
LogPluginManager: Mounting Engine plugin OnlineSubsystemIOS
LogPluginManager: Mounting Project plugin SocketIOClient
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Runtime/AudioSynesthesia/Content/' mounted to '/AudioSynesthesia/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/MovieScene/SequencerScripting/Content/' mounted to '/SequencerScripting/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Runtime/MeshModelingToolset/Content/' mounted to '/MeshModelingToolset/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Enterprise/DatasmithContent/Content/' mounted to '/DatasmithContent/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Runtime/HairStrands/Content/' mounted to '/HairStrands/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Experimental/ChaosClothEditor/Content/' mounted to '/ChaosClothEditor/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Experimental/PythonScriptPlugin/Content/' mounted to '/PythonScriptPlugin/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Experimental/GeometryCollectionPlugin/Content/' mounted to '/GeometryCollectionPlugin/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Runtime/ResonanceAudio/Content/' mounted to '/ResonanceAudio/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Experimental/ChaosSolverPlugin/Content/' mounted to '/ChaosSolverPlugin/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Runtime/GeometryProcessing/Content/' mounted to '/GeometryProcessing/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Runtime/Synthesis/Content/' mounted to '/Synthesis/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Editor/GeometryMode/Content/' mounted to '/GeometryMode/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Experimental/ChaosNiagara/Content/' mounted to '/ChaosNiagara/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Editor/SpeedTreeImporter/Content/' mounted to '/SpeedTreeImporter/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Experimental/MeshModelingToolsetExp/Content/' mounted to '/MeshModelingToolsetExp/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Experimental/FullBodyIK/Content/' mounted to '/FullBodyIK/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Animation/ControlRig/Content/' mounted to '/ControlRig/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Animation/IKRig/Content/' mounted to '/IKRig/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/FX/Niagara/Content/' mounted to '/Niagara/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Animation/ControlRigSpline/Content/' mounted to '/ControlRigSpline/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/2D/Paper2D/Content/' mounted to '/Paper2D/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Developer/AnimationSharing/Content/' mounted to '/AnimationSharing/'
LogPackageName: Display: FPackageName: Mount point added: '../../Plugins/Media/MediaCompositing/Content/' mounted to '/MediaCompositing/'
SourceControl: Source control is disabled
SourceControl: Source control is disabled
LogInit: Warning: Incompatible or missing module: SocketIOClient
LogInit: Warning: Incompatible or missing module: SIOJson
LogInit: Warning: Incompatible or missing module: SocketIOLib
LogInit: Warning: Incompatible or missing module: CoreUtility
LogInit: Warning: Incompatible or missing module: SIOJEditorPlugin
LogInit: Initializing SDL.
LogInit: Initialized SDL 2.0.20 revision:  (compiled against 2.0.20)
LogInit: Using SDL video driver 'x11'
LogInit: Display metrics:
LogInit:   PrimaryDisplayWidth: 1920
LogInit:   PrimaryDisplayHeight: 1080
LogInit:   PrimaryDisplayWorkAreaRect:
LogInit:     Left=64, Top=32, Right=1920, Bottom=976
LogInit:   VirtualDisplayRect:
LogInit:     Left=64, Top=0, Right=3200, Bottom=1024
LogInit:   TitleSafePaddingSize: X=0.000 Y=0.000 Z=0.000 W=0.000
LogInit:   ActionSafePaddingSize: X=0.000 Y=0.000 Z=0.000 W=0.000
LogInit:   Number of monitors: 2
LogInit:     Monitor 0
LogInit:       Name: M2362D 23"
LogInit:       ID: display0
LogInit:       NativeWidth: 1920
LogInit:       NativeHeight: 1080
LogInit:       bIsPrimary: true
LogInit:     Monitor 1
LogInit:       Name: Philips 190B 19"
LogInit:       ID: display1
LogInit:       NativeWidth: 1280
LogInit:       NativeHeight: 1024
LogInit:       bIsPrimary: false
STUBBED: FDesktopPlatformLinux::GetNativeFeedbackContext at ./Developer/DesktopPlatform/Private/Linux/DesktopPlatformLinux.cpp:508 (GetNativeFeedbackContext)
Running /opt/unreal-engine/Engine/Build/BatchFiles/Linux/Build.sh Development Linux -Project="/home/tomsk/Projects/Unreal/BritishVsPirates 5.0/BritishVsPirates.uproject" -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
Setting up bundled DotNet SDK
Running command : dotnet Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.dll Development Linux -Project=/home/tomsk/Projects/Unreal/BritishVsPirates 5.0/BritishVsPirates.uproject -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
Log file: /home/tomsk/.config/Epic/UnrealBuildTool/Log.txt
Using 'git status' to determine working set for adaptive non-unity build (/home/tomsk/Projects/Unreal/BritishVsPirates 5.0).
Invalidating makefile for BritishVsPiratesEditor (Definitions.SocketIOClient.h deleted)
@progress push 5%
Parsing headers for BritishVsPiratesEditor
  Running UnrealHeaderTool "/home/tomsk/Projects/Unreal/BritishVsPirates 5.0/BritishVsPirates.uproject" "/home/tomsk/Projects/Unreal/BritishVsPirates 5.0/Intermediate/Build/Linux/B4D820EA/BritishVsPiratesEditor/Development/BritishVsPiratesEditor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -abslog="/home/tomsk/.config/Epic/UnrealBuildTool/Log_UHT.txt" -installed
Reflection code generated for BritishVsPiratesEditor in 115.2856278 seconds
@progress pop
Building BritishVsPiratesEditor...
[Adaptive Build] Excluded from SIOJson unity file: SIOJConvert.cpp, SIOJRequestJSON.cpp, SIOJsonObject.cpp, SIOJsonValue.cpp, SIOJLibrary.cpp
[Adaptive Build] Excluded from SocketIOLib unity file: sio_client_impl.cpp, sio_packet.cpp, sio_client.cpp, sio_socket.cpp
[Adaptive Build] Excluded from CoreUtility unity file: CUFileComponent.cpp, CUBlueprintLibrary.cpp, CUMeasureTimer.cpp, CUOpusCoder.cpp
[Adaptive Build] Excluded from SIOJEditorPlugin unity file: SIOJ_BreakJson.cpp
Determining max actions to execute in parallel (4 physical cores, 4 logical cores)
  Executing up to 4 processes, one per physical core
  Requested 1.5 GB free memory per action, 5.21 GB available: limiting max parallel actions to 3
Building 39 actions with 3 processes...
[1/39] Compile SharedPCH.UnrealEd.ShadowErrors.h
[2/39] Compile SharedPCH.Engine.RTTI.ShadowErrors.h
[3/39] Compile SharedPCH.Engine.ShadowErrors.h
[4/39] Compile CUOpusCoder.cpp
In file included from /home/tomsk/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient/Source/CoreUtility/Private/CUOpusCoder.cpp:1:
/run/media/tomsk/Data/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient/Source/CoreUtility/Public/CUOpusCoder.h:7:10: fatal error: 'ThirdParty/libOpus/opus-1.3.1-12/include/opus.h' file not found
#include "ThirdParty/libOpus/opus-1.3.1-12/include/opus.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[5/39] Compile Module.SIOJEditorPlugin.cpp
[6/39] Compile Module.SocketIOLib.cpp
[7/39] Compile CUMeasureTimer.cpp
[8/39] Compile CUBlueprintLibrary.cpp
In file included from /home/tomsk/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient/Source/CoreUtility/Private/CUBlueprintLibrary.cpp:19:
/run/media/tomsk/Data/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient/Source/CoreUtility/Public/CUOpusCoder.h:7:10: fatal error: 'ThirdParty/libOpus/opus-1.3.1-12/include/opus.h' file not found
#include "ThirdParty/libOpus/opus-1.3.1-12/include/opus.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[9/39] Compile CUFileComponent.cpp
[10/39] Compile Module.CoreUtility.cpp
[11/39] Compile SIOJRequestJSON.cpp
[12/39] Compile SIOJsonObject.cpp
[13/39] Compile SIOJConvert.cpp
[14/39] Compile SIOJsonValue.cpp
[15/39] Compile Module.SIOJson.cpp
[16/39] Compile SIOJLibrary.cpp
[17/39] Compile Module.SIOJson.gen.cpp
[18/39] Compile sio_packet.cpp
[19/39] Compile sio_client.cpp
[20/39] Compile sio_socket.cpp
[21/39] Compile Module.SocketIOClient.gen.cpp
[22/39] Compile CPP_BPL_General.gen.cpp
[23/39] Compile Test.gen.cpp
[24/39] Compile Module.SocketIOClient.cpp
[25/39] Compile BritishVsPirates.init.gen.cpp
[26/39] Compile BritishVsPirates.cpp
[27/39] Compile CPP_BPL_General.cpp
[28/39] Compile SIOJ_BreakJson.cpp
[29/39] Compile Test.cpp
[30/39] Compile Module.CoreUtility.gen.cpp
[31/39] Link (lld) libUnrealEditor-BritishVsPirates.so
[32/39] Compile Module.SIOJEditorPlugin.gen.cpp
[33/39] Compile sio_client_impl.cpp
[34/39] Link (lld) libUnrealEditor-SocketIOLib.so
LogInit: Warning: Still incompatible or missing module: SocketIOClient
LogInit: Warning: Still incompatible or missing module: SIOJson
LogInit: Warning: Still incompatible or missing module: SocketIOLib
LogInit: Warning: Still incompatible or missing module: CoreUtility
LogInit: Warning: Still incompatible or missing module: SIOJEditorPlugin
LogCore: Engine exit requested (reason: EngineExit() was called)
LogExit: Preparing to exit.
LogModuleManager: Shutting down and abandoning module DesktopPlatform (56)
LogModuleManager: Shutting down and abandoning module PerforceSourceControl (54)
LogModuleManager: Shutting down and abandoning module SourceControl (53)
LogModuleManager: Shutting down and abandoning module PlatformCryptoOpenSSL (50)
LogModuleManager: Shutting down and abandoning module PlatformCryptoTypes (48)
LogModuleManager: Shutting down and abandoning module PlatformCrypto (46)
LogModuleManager: Shutting down and abandoning module PythonScriptPluginPreload (44)
LogModuleManager: Shutting down and abandoning module FastBuildController (42)
LogModuleManager: Shutting down and abandoning module AnimationModifiers (40)
LogModuleManager: Shutting down and abandoning module AudioEditor (38)
LogModuleManager: Shutting down and abandoning module PropertyEditor (37)
LogModuleManager: Shutting down and abandoning module Virtualization (34)
LogModuleManager: Shutting down and abandoning module MessageLog (33)
LogModuleManager: Shutting down and abandoning module TextureCompressor (30)
LogModuleManager: Shutting down and abandoning module RenderCore (28)
LogModuleManager: Shutting down and abandoning module Landscape (26)
LogModuleManager: Shutting down and abandoning module SlateRHIRenderer (24)
LogModuleManager: Shutting down and abandoning module OpenGLDrv (22)
LogModuleManager: Shutting down and abandoning module AnimGraphRuntime (20)
LogModuleManager: Shutting down and abandoning module Renderer (18)
LogModuleManager: Shutting down and abandoning module Engine (16)
LogModuleManager: Shutting down and abandoning module CoreUObject (14)
LogModuleManager: Shutting down and abandoning module SandboxFile (12)
LogModuleManager: Shutting down and abandoning module PakFile (10)
LogModuleManager: Shutting down and abandoning module RSA (9)
LogModuleManager: Shutting down and abandoning module NetworkFile (6)
LogModuleManager: Shutting down and abandoning module StreamingFile (4)
LogModuleManager: Shutting down and abandoning module StorageServerClient (2)
LogExit: Exiting.
LogInit: Tearing down SDL.
Exiting abnormally (error code: 1)

and this is result message: Screenshot from 2023-01-09 23-22-39

getnamo commented 1 year ago

Looks like UE5.0 plugin has the wrong opus include for linux, try to use the latest master branch plugin and compile for UE5.0, specifically it contains this update: https://github.com/getnamo/SocketIOClient-Unreal/commit/65d7253aa3a225fbe58229995971fd474c641063

t0msk commented 1 year ago

So I just cloned and checkouted that commit like this:

[tomsk@tomsk-PC Plugins]$ git clone https://github.com/getnamo/SocketIOClient-Unreal.git --recurse-submodules
Cloning into 'SocketIOClient-Unreal'...
remote: Enumerating objects: 6018, done.
remote: Counting objects: 100% (554/554), done.
remote: Compressing objects: 100% (243/243), done.
remote: Total 6018 (delta 357), reused 471 (delta 311), pack-reused 5464
Receiving objects: 100% (6018/6018), 25.77 MiB | 20.63 MiB/s, done.
Resolving deltas: 100% (3634/3634), done.
Submodule 'Source/ThirdParty/asio' (https://github.com/getnamo/asio) registered for path 'Source/ThirdParty/asio'
Submodule 'Source/ThirdParty/rapidjson' (https://github.com/getnamo/rapidjson) registered for path 'Source/ThirdParty/rapidjson'
Submodule 'Source/ThirdParty/websocketpp' (https://github.com/getnamo/websocketpp) registered for path 'Source/ThirdParty/websocketpp'
Cloning into '/run/media/tomsk/Data/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Source/ThirdParty/asio'...
remote: Enumerating objects: 48261, done.        
remote: Total 48261 (delta 0), reused 0 (delta 0), pack-reused 48261        
Receiving objects: 100% (48261/48261), 14.92 MiB | 10.34 MiB/s, done.
Resolving deltas: 100% (33876/33876), done.
Cloning into '/run/media/tomsk/Data/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Source/ThirdParty/rapidjson'...
remote: Enumerating objects: 21012, done.        
remote: Counting objects: 100% (10/10), done.        
remote: Compressing objects: 100% (5/5), done.        
remote: Total 21012 (delta 3), reused 8 (delta 3), pack-reused 21002        
Receiving objects: 100% (21012/21012), 24.95 MiB | 20.46 MiB/s, done.
Resolving deltas: 100% (15795/15795), done.
Cloning into '/run/media/tomsk/Data/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Source/ThirdParty/websocketpp'...
remote: Enumerating objects: 12239, done.        
remote: Counting objects: 100% (2855/2855), done.        
remote: Compressing objects: 100% (394/394), done.        
remote: Total 12239 (delta 2745), reused 2461 (delta 2461), pack-reused 9384        
Receiving objects: 100% (12239/12239), 8.02 MiB | 10.07 MiB/s, done.
Resolving deltas: 100% (7692/7692), done.
Submodule path 'Source/ThirdParty/asio': checked out 'a59ab452265e3f9fdb77dd52aa1064f14eca0989'
Submodule path 'Source/ThirdParty/rapidjson': checked out 'deb1566fc59291e46044664d7510260f503c76b6'
Submodule 'thirdparty/gtest' (https://github.com/google/googletest.git) registered for path 'Source/ThirdParty/rapidjson/thirdparty/gtest'
Cloning into '/run/media/tomsk/Data/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Source/ThirdParty/rapidjson/thirdparty/gtest'...
remote: Enumerating objects: 25296, done.        
remote: Total 25296 (delta 0), reused 0 (delta 0), pack-reused 25296        
Receiving objects: 100% (25296/25296), 11.26 MiB | 12.27 MiB/s, done.
Resolving deltas: 100% (18679/18679), done.
Submodule path 'Source/ThirdParty/rapidjson/thirdparty/gtest': checked out 'ba96d0b1161f540656efdaed035b3c062b60e006'
Submodule path 'Source/ThirdParty/websocketpp': checked out '72e2760a4cceef2d270450746ce90efce9374eb8'
[tomsk@tomsk-PC Plugins]$ cd SocketIOClient-Unreal/
[tomsk@tomsk-PC SocketIOClient-Unreal]$ git checkout 65d7253aa3
Note: switching to '65d7253aa3'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 65d7253 change libopus include
[tomsk@tomsk-PC SocketIOClient-Unreal]$ git branch
* (HEAD detached at 65d7253)
  master

and tried to recompile and got another error:

Running /opt/unreal-engine/Engine/Build/BatchFiles/Linux/Build.sh Development Linux -Project="/home/tomsk/Projects/Unreal/BritishVsPirates 5.0/BritishVsPirates.uproject" -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
Setting up bundled DotNet SDK
Running command : dotnet Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.dll Development Linux -Project=/home/tomsk/Projects/Unreal/BritishVsPirates 5.0/BritishVsPirates.uproject -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
Log file: /home/tomsk/.config/Epic/UnrealBuildTool/Log.txt
Using 'git status' to determine working set for adaptive non-unity build (/home/tomsk/Projects/Unreal/BritishVsPirates 5.0).
Invalidating makefile for BritishVsPiratesEditor (source file removed)
@progress push 5%
Parsing headers for BritishVsPiratesEditor
  Running UnrealHeaderTool "/home/tomsk/Projects/Unreal/BritishVsPirates 5.0/BritishVsPirates.uproject" "/home/tomsk/Projects/Unreal/BritishVsPirates 5.0/Intermediate/Build/Linux/B4D820EA/BritishVsPiratesEditor/Development/BritishVsPiratesEditor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -abslog="/home/tomsk/.config/Epic/UnrealBuildTool/Log_UHT.txt" -installed
Reflection code generated for BritishVsPiratesEditor in 106.6688011 seconds
@progress pop
Building BritishVsPiratesEditor...
Determining max actions to execute in parallel (4 physical cores, 4 logical cores)
  Executing up to 4 processes, one per physical core
  Requested 1.5 GB free memory per action, 5.82 GB available: limiting max parallel actions to 3
Building 15 actions with 3 processes...
[1/15] Compile Module.CoreUtility.gen.cpp
[2/15] Compile Module.SIOJson.gen.cpp
[3/15] Compile Module.CoreUtility.cpp
[4/15] Compile Module.SIOJson.cpp
In file included from /home/tomsk/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Intermediate/Build/Linux/B4D820EA/UnrealEditor/Development/SIOJson/Module.SIOJson.cpp:2:
/run/media/tomsk/Data/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Source/SIOJson/Private/SIOJConvert.cpp:331:16: error: no member named 'ImportText_Direct' in 'FProperty'
                                        Property->ImportText_Direct(ImportTextPtr, OutValue, nullptr, PPF_None);
                                        ~~~~~~~~  ^
/run/media/tomsk/Data/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Source/SIOJson/Private/SIOJConvert.cpp:338:15: error: no member named 'ImportText_Direct' in 'FProperty'
                                Property->ImportText_Direct(ImportTextPtr, OutValue, nullptr, PPF_None);
                                ~~~~~~~~  ^
/run/media/tomsk/Data/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Source/SIOJson/Private/SIOJConvert.cpp:373:19: error: no member named 'ImportText_Direct' in 'FProperty'
                                if (Property->ImportText_Direct(*JsonValue->AsString(), OutValue, nullptr, PPF_None) == nullptr)
                                    ~~~~~~~~  ^
/run/media/tomsk/Data/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Source/SIOJson/Private/SIOJConvert.cpp:383:18: error: no member named 'ImportText_Direct' in 'FProperty'
                        if (Property->ImportText_Direct(*JsonValue->AsString(), OutValue, nullptr, PPF_None) == nullptr)
                            ~~~~~~~~  ^
4 errors generated.
[5/15] Compile Module.SocketIOClient.cpp
[6/15] Compile Module.SocketIOClient.gen.cpp
[7/15] Compile Module.SIOJEditorPlugin.gen.cpp
[8/15] Link (lld) libUnrealEditor-CoreUtility.so
[9/15] Compile Module.SIOJEditorPlugin.cpp
[10/15] Compile Module.SocketIOLib.cpp
[11/15] Link (lld) libUnrealEditor-SocketIOLib.so
LogInit: Warning: Still incompatible or missing module: SocketIOClient
LogInit: Warning: Still incompatible or missing module: SIOJson
LogInit: Warning: Still incompatible or missing module: SocketIOLib
LogInit: Warning: Still incompatible or missing module: CoreUtility
LogInit: Warning: Still incompatible or missing module: SIOJEditorPlugin
LogCore: Engine exit requested (reason: EngineExit() was called)
LogExit: Preparing to exit.
LogModuleManager: Shutting down and abandoning module DesktopPlatform (56)
LogModuleManager: Shutting down and abandoning module PerforceSourceControl (54)
LogModuleManager: Shutting down and abandoning module SourceControl (53)
LogModuleManager: Shutting down and abandoning module PlatformCryptoOpenSSL (50)
LogModuleManager: Shutting down and abandoning module PlatformCryptoTypes (48)
LogModuleManager: Shutting down and abandoning module PlatformCrypto (46)
LogModuleManager: Shutting down and abandoning module PythonScriptPluginPreload (44)
LogModuleManager: Shutting down and abandoning module FastBuildController (42)
LogModuleManager: Shutting down and abandoning module AnimationModifiers (40)
LogModuleManager: Shutting down and abandoning module AudioEditor (38)
LogModuleManager: Shutting down and abandoning module PropertyEditor (37)
LogModuleManager: Shutting down and abandoning module Virtualization (34)
LogModuleManager: Shutting down and abandoning module MessageLog (33)
LogModuleManager: Shutting down and abandoning module TextureCompressor (30)
LogModuleManager: Shutting down and abandoning module RenderCore (28)
LogModuleManager: Shutting down and abandoning module Landscape (26)
LogModuleManager: Shutting down and abandoning module SlateRHIRenderer (24)
LogModuleManager: Shutting down and abandoning module OpenGLDrv (22)
LogModuleManager: Shutting down and abandoning module AnimGraphRuntime (20)
LogModuleManager: Shutting down and abandoning module Renderer (18)
LogModuleManager: Shutting down and abandoning module Engine (16)
LogModuleManager: Shutting down and abandoning module CoreUObject (14)
LogModuleManager: Shutting down and abandoning module SandboxFile (12)
LogModuleManager: Shutting down and abandoning module PakFile (10)
LogModuleManager: Shutting down and abandoning module RSA (9)
LogModuleManager: Shutting down and abandoning module NetworkFile (6)
LogModuleManager: Shutting down and abandoning module StreamingFile (4)
LogModuleManager: Shutting down and abandoning module StorageServerClient (2)
LogExit: Exiting.
LogInit: Tearing down SDL.
Exiting abnormally (error code: 1)
getnamo commented 1 year ago

Looks like 5.1 isnt 5.0 backwards compatible, try checking out the newly pushed UE5.0 branch here: https://github.com/getnamo/SocketIOClient-Unreal/tree/UE5.0 I back ported the opus change but nothing else so it should compile.

t0msk commented 1 year ago

Another errors :(

Building BritishVsPiratesEditor...
Determining max actions to execute in parallel (4 physical cores, 4 logical cores)
  Executing up to 4 processes, one per physical core
  Requested 1.5 GB free memory per action, 5.36 GB available: limiting max parallel actions to 3
Building 15 actions with 3 processes...
[1/15] Compile Module.CoreUtility.gen.cpp
[2/15] Compile Module.SIOJson.gen.cpp
[3/15] Compile Module.CoreUtility.cpp
[4/15] Compile Module.SIOJson.cpp
[5/15] Compile Module.SocketIOClient.cpp
[6/15] Compile Module.SocketIOLib.cpp
In file included from /home/tomsk/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Intermediate/Build/Linux/B4D820EA/UnrealEditor/Development/SocketIOLib/Module.SocketIOLib.cpp:3:
/run/media/tomsk/Data/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Source/SocketIOLib/Private/internal/sio_packet.cpp:39:21: error: expected namespace name
    using namespace rapidjson;
                    ^
/run/media/tomsk/Data/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Source/SocketIOLib/Private/internal/sio_packet.cpp:41:45: error: unknown type name 'Value'; did you mean 'rapidjsonsocketio::Value'?
    void accept_message(message const& msg, Value& val, Document& doc, vector<shared_ptr<const string> >& buffers);
                                            ^~~~~
                                            rapidjsonsocketio::Value
/run/media/tomsk/Data/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Source/ThirdParty/rapidjson/include/rapidjson/document.h:2110:31: note: 'rapidjsonsocketio::Value' declared here
typedef GenericValue<UTF8<> > Value;
                              ^
In file included from /home/tomsk/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Intermediate/Build/Linux/B4D820EA/UnrealEditor/Development/SocketIOLib/Module.SocketIOLib.cpp:3:
/run/media/tomsk/Data/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Source/SocketIOLib/Private/internal/sio_packet.cpp:41:57: error: unknown type name 'Document'; did you mean 'rapidjsonsocketio::Document'?
    void accept_message(message const& msg, Value& val, Document& doc, vector<shared_ptr<const string> >& buffers);
                                                        ^~~~~~~~
                                                        rapidjsonsocketio::Document
/run/media/tomsk/Data/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Source/ThirdParty/rapidjson/include/rapidjson/document.h:2506:34: note: 'rapidjsonsocketio::Document' declared here
typedef GenericDocument<UTF8<> > Document;
                                 ^
In file included from /home/tomsk/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Intermediate/Build/Linux/B4D820EA/UnrealEditor/Development/SocketIOLib/Module.SocketIOLib.cpp:3:
/run/media/tomsk/Data/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Source/SocketIOLib/Private/internal/sio_packet.cpp:43:55: error: unknown type name 'Value'; did you mean 'rapidjsonsocketio::Value'?
    void accept_bool_message(bool_message const& msg, Value& val)
                                                      ^~~~~
                                                      rapidjsonsocketio::Value
/run/media/tomsk/Data/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Source/ThirdParty/rapidjson/include/rapidjson/document.h:2110:31: note: 'rapidjsonsocketio::Value' declared here
typedef GenericValue<UTF8<> > Value;
                              ^
In file included from /home/tomsk/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Intermediate/Build/Linux/B4D820EA/UnrealEditor/Development/SocketIOLib/Module.SocketIOLib.cpp:3:
/run/media/tomsk/Data/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Source/SocketIOLib/Private/internal/sio_packet.cpp:48:30: error: unknown type name 'Value'
    void accept_null_message(Value& val)
                             ^
/run/media/tomsk/Data/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Source/SocketIOLib/Private/internal/sio_packet.cpp:53:53: error: unknown type name 'Value'; did you mean 'rapidjsonsocketio::Value'?
    void accept_int_message(int_message const& msg, Value& val)
                                                    ^~~~~
                                                    rapidjsonsocketio::Value
/run/media/tomsk/Data/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Source/ThirdParty/rapidjson/include/rapidjson/document.h:2110:31: note: 'rapidjsonsocketio::Value' declared here
typedef GenericValue<UTF8<> > Value;
                              ^
In file included from /home/tomsk/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Intermediate/Build/Linux/B4D820EA/UnrealEditor/Development/SocketIOLib/Module.SocketIOLib.cpp:3:
/run/media/tomsk/Data/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Source/SocketIOLib/Private/internal/sio_packet.cpp:58:59: error: unknown type name 'Value'; did you mean 'rapidjsonsocketio::Value'?
    void accept_double_message(double_message const& msg, Value& val)
                                                          ^~~~~
                                                          rapidjsonsocketio::Value
/run/media/tomsk/Data/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Source/ThirdParty/rapidjson/include/rapidjson/document.h:2110:31: note: 'rapidjsonsocketio::Value' declared here
typedef GenericValue<UTF8<> > Value;
                              ^
In file included from /home/tomsk/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Intermediate/Build/Linux/B4D820EA/UnrealEditor/Development/SocketIOLib/Module.SocketIOLib.cpp:3:
/run/media/tomsk/Data/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Source/SocketIOLib/Private/internal/sio_packet.cpp:63:59: error: unknown type name 'Value'; did you mean 'rapidjsonsocketio::Value'?
    void accept_string_message(string_message const& msg, Value& val)
                                                          ^~~~~
                                                          rapidjsonsocketio::Value
/run/media/tomsk/Data/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Source/ThirdParty/rapidjson/include/rapidjson/document.h:2110:31: note: 'rapidjsonsocketio::Value' declared here
typedef GenericValue<UTF8<> > Value;
                              ^
In file included from /home/tomsk/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Intermediate/Build/Linux/B4D820EA/UnrealEditor/Development/SocketIOLib/Module.SocketIOLib.cpp:3:
/run/media/tomsk/Data/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Source/SocketIOLib/Private/internal/sio_packet.cpp:65:49: error: use of undeclared identifier 'SizeType'
        val.SetString(msg.get_string().data(), (SizeType)msg.get_string().length());
                                                ^
/run/media/tomsk/Data/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Source/SocketIOLib/Private/internal/sio_packet.cpp:69:59: error: unknown type name 'Value'; did you mean 'rapidjsonsocketio::Value'?
    void accept_binary_message(binary_message const& msg, Value& val, Document& doc, vector<shared_ptr<const string> >& buffers)
                                                          ^~~~~
                                                          rapidjsonsocketio::Value
/run/media/tomsk/Data/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Source/ThirdParty/rapidjson/include/rapidjson/document.h:2110:31: note: 'rapidjsonsocketio::Value' declared here
typedef GenericValue<UTF8<> > Value;
                              ^
In file included from /home/tomsk/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Intermediate/Build/Linux/B4D820EA/UnrealEditor/Development/SocketIOLib/Module.SocketIOLib.cpp:3:
/run/media/tomsk/Data/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Source/SocketIOLib/Private/internal/sio_packet.cpp:69:71: error: unknown type name 'Document'; did you mean 'rapidjsonsocketio::Document'?
    void accept_binary_message(binary_message const& msg, Value& val, Document& doc, vector<shared_ptr<const string> >& buffers)
                                                                      ^~~~~~~~
                                                                      rapidjsonsocketio::Document
/run/media/tomsk/Data/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Source/ThirdParty/rapidjson/include/rapidjson/document.h:2506:34: note: 'rapidjsonsocketio::Document' declared here
typedef GenericDocument<UTF8<> > Document;
                                 ^
In file included from /home/tomsk/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Intermediate/Build/Linux/B4D820EA/UnrealEditor/Development/SocketIOLib/Module.SocketIOLib.cpp:3:
/run/media/tomsk/Data/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Source/SocketIOLib/Private/internal/sio_packet.cpp:72:9: error: unknown type name 'Value'; did you mean 'rapidjsonsocketio::Value'?
        Value boolVal;
        ^~~~~
        rapidjsonsocketio::Value
/run/media/tomsk/Data/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Source/ThirdParty/rapidjson/include/rapidjson/document.h:2110:31: note: 'rapidjsonsocketio::Value' declared here
typedef GenericValue<UTF8<> > Value;
                              ^
In file included from /home/tomsk/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Intermediate/Build/Linux/B4D820EA/UnrealEditor/Development/SocketIOLib/Module.SocketIOLib.cpp:3:
/run/media/tomsk/Data/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Source/SocketIOLib/Private/internal/sio_packet.cpp:75:9: error: unknown type name 'Value'; did you mean 'rapidjsonsocketio::Value'?
        Value numVal;
        ^~~~~
        rapidjsonsocketio::Value
/run/media/tomsk/Data/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Source/ThirdParty/rapidjson/include/rapidjson/document.h:2110:31: note: 'rapidjsonsocketio::Value' declared here
typedef GenericValue<UTF8<> > Value;
                              ^
In file included from /home/tomsk/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Intermediate/Build/Linux/B4D820EA/UnrealEditor/Development/SocketIOLib/Module.SocketIOLib.cpp:3:
/run/media/tomsk/Data/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Source/SocketIOLib/Private/internal/sio_packet.cpp:81:57: error: unknown type name 'Value'; did you mean 'rapidjsonsocketio::Value'?
    void accept_array_message(array_message const& msg, Value& val, Document& doc, vector<shared_ptr<const string> >& buffers)
                                                        ^~~~~
                                                        rapidjsonsocketio::Value
/run/media/tomsk/Data/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Source/ThirdParty/rapidjson/include/rapidjson/document.h:2110:31: note: 'rapidjsonsocketio::Value' declared here
typedef GenericValue<UTF8<> > Value;
                              ^
In file included from /home/tomsk/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Intermediate/Build/Linux/B4D820EA/UnrealEditor/Development/SocketIOLib/Module.SocketIOLib.cpp:3:
/run/media/tomsk/Data/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Source/SocketIOLib/Private/internal/sio_packet.cpp:81:69: error: unknown type name 'Document'; did you mean 'rapidjsonsocketio::Document'?
    void accept_array_message(array_message const& msg, Value& val, Document& doc, vector<shared_ptr<const string> >& buffers)
                                                                    ^~~~~~~~
                                                                    rapidjsonsocketio::Document
/run/media/tomsk/Data/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Source/ThirdParty/rapidjson/include/rapidjson/document.h:2506:34: note: 'rapidjsonsocketio::Document' declared here
typedef GenericDocument<UTF8<> > Document;
                                 ^
In file included from /home/tomsk/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Intermediate/Build/Linux/B4D820EA/UnrealEditor/Development/SocketIOLib/Module.SocketIOLib.cpp:3:
/run/media/tomsk/Data/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Source/SocketIOLib/Private/internal/sio_packet.cpp:85:13: error: unknown type name 'Value'; did you mean 'rapidjsonsocketio::Value'?
            Value child;
            ^~~~~
            rapidjsonsocketio::Value
/run/media/tomsk/Data/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Source/ThirdParty/rapidjson/include/rapidjson/document.h:2110:31: note: 'rapidjsonsocketio::Value' declared here
typedef GenericValue<UTF8<> > Value;
                              ^
In file included from /home/tomsk/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Intermediate/Build/Linux/B4D820EA/UnrealEditor/Development/SocketIOLib/Module.SocketIOLib.cpp:3:
/run/media/tomsk/Data/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Source/SocketIOLib/Private/internal/sio_packet.cpp:91:59: error: unknown type name 'Value'; did you mean 'rapidjsonsocketio::Value'?
    void accept_object_message(object_message const& msg, Value& val, Document& doc, vector<shared_ptr<const string> >& buffers)
                                                          ^~~~~
                                                          rapidjsonsocketio::Value
/run/media/tomsk/Data/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Source/ThirdParty/rapidjson/include/rapidjson/document.h:2110:31: note: 'rapidjsonsocketio::Value' declared here
typedef GenericValue<UTF8<> > Value;
                              ^
In file included from /home/tomsk/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Intermediate/Build/Linux/B4D820EA/UnrealEditor/Development/SocketIOLib/Module.SocketIOLib.cpp:3:
/run/media/tomsk/Data/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Source/SocketIOLib/Private/internal/sio_packet.cpp:91:71: error: unknown type name 'Document'; did you mean 'rapidjsonsocketio::Document'?
    void accept_object_message(object_message const& msg, Value& val, Document& doc, vector<shared_ptr<const string> >& buffers)
                                                                      ^~~~~~~~
                                                                      rapidjsonsocketio::Document
/run/media/tomsk/Data/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Source/ThirdParty/rapidjson/include/rapidjson/document.h:2506:34: note: 'rapidjsonsocketio::Document' declared here
typedef GenericDocument<UTF8<> > Document;
                                 ^
In file included from /home/tomsk/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Intermediate/Build/Linux/B4D820EA/UnrealEditor/Development/SocketIOLib/Module.SocketIOLib.cpp:3:
/run/media/tomsk/Data/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Source/SocketIOLib/Private/internal/sio_packet.cpp:95:13: error: unknown type name 'Value'; did you mean 'rapidjsonsocketio::Value'?
            Value nameVal;
            ^~~~~
            rapidjsonsocketio::Value
/run/media/tomsk/Data/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient-Unreal/Source/ThirdParty/rapidjson/include/rapidjson/document.h:2110:31: note: 'rapidjsonsocketio::Value' declared here
typedef GenericValue<UTF8<> > Value;
                              ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[7/15] Compile Module.SIOJEditorPlugin.gen.cpp
[8/15] Link (lld) libUnrealEditor-CoreUtility.so
[9/15] Link (lld) libUnrealEditor-SIOJson.so
[10/15] Compile Module.SocketIOClient.gen.cpp
[11/15] Compile Module.SIOJEditorPlugin.cpp
[12/15] Link (lld) libUnrealEditor-SIOJEditorPlugin.so
LogInit: Warning: Still incompatible or missing module: SocketIOClient
LogInit: Warning: Still incompatible or missing module: SIOJson
LogInit: Warning: Still incompatible or missing module: SocketIOLib
LogInit: Warning: Still incompatible or missing module: CoreUtility
LogInit: Warning: Still incompatible or missing module: SIOJEditorPlugin
LogCore: Engine exit requested (reason: EngineExit() was called)
LogExit: Preparing to exit.
LogModuleManager: Shutting down and abandoning module DesktopPlatform (56)
LogModuleManager: Shutting down and abandoning module PerforceSourceControl (54)
LogModuleManager: Shutting down and abandoning module SourceControl (53)
LogModuleManager: Shutting down and abandoning module PlatformCryptoOpenSSL (50)
LogModuleManager: Shutting down and abandoning module PlatformCryptoTypes (48)
LogModuleManager: Shutting down and abandoning module PlatformCrypto (46)
LogModuleManager: Shutting down and abandoning module PythonScriptPluginPreload (44)
LogModuleManager: Shutting down and abandoning module FastBuildController (42)
LogModuleManager: Shutting down and abandoning module AnimationModifiers (40)
LogModuleManager: Shutting down and abandoning module AudioEditor (38)
LogModuleManager: Shutting down and abandoning module PropertyEditor (37)
LogModuleManager: Shutting down and abandoning module Virtualization (34)
LogModuleManager: Shutting down and abandoning module MessageLog (33)
LogModuleManager: Shutting down and abandoning module TextureCompressor (30)
LogModuleManager: Shutting down and abandoning module RenderCore (28)
LogModuleManager: Shutting down and abandoning module Landscape (26)
LogModuleManager: Shutting down and abandoning module SlateRHIRenderer (24)
LogModuleManager: Shutting down and abandoning module OpenGLDrv (22)
LogModuleManager: Shutting down and abandoning module AnimGraphRuntime (20)
LogModuleManager: Shutting down and abandoning module Renderer (18)
LogModuleManager: Shutting down and abandoning module Engine (16)
LogModuleManager: Shutting down and abandoning module CoreUObject (14)
LogModuleManager: Shutting down and abandoning module SandboxFile (12)
LogModuleManager: Shutting down and abandoning module PakFile (10)
LogModuleManager: Shutting down and abandoning module RSA (9)
LogModuleManager: Shutting down and abandoning module NetworkFile (6)
LogModuleManager: Shutting down and abandoning module StreamingFile (4)
LogModuleManager: Shutting down and abandoning module StorageServerClient (2)
LogExit: Exiting.
LogInit: Tearing down SDL.
Exiting abnormally (error code: 1)
t0msk commented 1 year ago

I just installed UE 5.1 and tried SocketIO client for version 5.1 and this is log:

LogInit: Warning: Incompatible or missing module: SocketIOClient
LogInit: Warning: Incompatible or missing module: SIOJson
LogInit: Warning: Incompatible or missing module: SocketIOLib
LogInit: Warning: Incompatible or missing module: CoreUtility
LogInit: Warning: Incompatible or missing module: SIOJEditorPlugin
LogInit: Initializing SDL.
LLVM Profile Error: Failed to write file "default.profraw": Permission denied
[tomsk@tomsk-PC Linux]$ LogInit: Initialized SDL 2.0.20 revision:  (compiled against 2.0.20)
LogInit: Using SDL video driver 'x11'
LogInit: Display metrics:
LogInit:   PrimaryDisplayWidth: 1920
LogInit:   PrimaryDisplayHeight: 1080
LogInit:   PrimaryDisplayWorkAreaRect:
LogInit:     Left=64, Top=32, Right=1920, Bottom=976
LogInit:   VirtualDisplayRect:
LogInit:     Left=64, Top=0, Right=3200, Bottom=1024
LogInit:   TitleSafePaddingSize: X=0.000 Y=0.000 Z=0.000 W=0.000
LogInit:   ActionSafePaddingSize: X=0.000 Y=0.000 Z=0.000 W=0.000
LogInit:   Number of monitors: 2
LogInit:     Monitor 0
LogInit:       Name: M2362D 23"
LogInit:       ID: display0
LogInit:       NativeWidth: 1920
LogInit:       NativeHeight: 1080
LogInit:       bIsPrimary: true
LogInit:     Monitor 1
LogInit:       Name: Philips 190B 19"
LogInit:       ID: display1
LogInit:       NativeWidth: 1280
LogInit:       NativeHeight: 1024
LogInit:       bIsPrimary: false
STUBBED: FDesktopPlatformLinux::GetNativeFeedbackContext at ./Developer/DesktopPlatform/Private/Linux/DesktopPlatformLinux.cpp:454 (GetNativeFeedbackContext)
Running /opt/unreal-engine/Engine/Build/BatchFiles/Linux/Build.sh Development Linux -Project="/home/tomsk/Projects/Unreal/BritishVsPirates 5.0/BritishVsPirates.uproject" -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
Setting up bundled DotNet SDK
chmod: changing permissions of '/opt/unreal-engine/Engine/Build/BatchFiles/Linux/../../../Binaries/ThirdParty/DotNet/6.0.302/linux/dotnet': Operation not permitted
LogInit: Warning: Still incompatible or missing module: SocketIOClient
LogInit: Warning: Still incompatible or missing module: SIOJson
LogInit: Warning: Still incompatible or missing module: SocketIOLib
LogInit: Warning: Still incompatible or missing module: CoreUtility
LogInit: Warning: Still incompatible or missing module: SIOJEditorPlugin
LogCore: Engine exit requested (reason: EngineExit() was called)
LogExit: Preparing to exit.
LogVirtualization: UE::Virtualization was shutdown
LogModuleManager: Shutting down and abandoning module DesktopPlatform (58)
LogModuleManager: Shutting down and abandoning module PerforceSourceControl (56)
LogModuleManager: Shutting down and abandoning module SourceControl (55)
LogModuleManager: Shutting down and abandoning module PlatformCryptoOpenSSL (52)
LogModuleManager: Shutting down and abandoning module PlatformCryptoTypes (50)
LogModuleManager: Shutting down and abandoning module PlatformCrypto (48)
LogModuleManager: Shutting down and abandoning module PythonScriptPluginPreload (46)
LogModuleManager: Shutting down and abandoning module FastBuildController (44)
LogModuleManager: Shutting down and abandoning module AnimationModifiers (42)
LogModuleManager: Shutting down and abandoning module AudioEditor (40)
LogModuleManager: Shutting down and abandoning module PropertyEditor (39)
LogModuleManager: Shutting down and abandoning module Virtualization (36)
LogModuleManager: Shutting down and abandoning module MessageLog (35)
LogModuleManager: Shutting down and abandoning module TextureCompressor (32)
LogModuleManager: Shutting down and abandoning module RenderCore (30)
LogModuleManager: Shutting down and abandoning module Landscape (28)
LogModuleManager: Shutting down and abandoning module SlateRHIRenderer (26)
LogModuleManager: Shutting down and abandoning module OpenGLDrv (24)
LogModuleManager: Shutting down and abandoning module AnimGraphRuntime (22)
LogModuleManager: Shutting down and abandoning module Renderer (20)
LogModuleManager: Shutting down and abandoning module Engine (18)
LogModuleManager: Shutting down and abandoning module CoreUObject (16)
LogModuleManager: Shutting down and abandoning module SandboxFile (14)
LogModuleManager: Shutting down and abandoning module PakFile (12)
LogModuleManager: Shutting down and abandoning module RSA (11)
LogModuleManager: Shutting down and abandoning module NetworkFile (8)
LogModuleManager: Shutting down and abandoning module StreamingFile (6)
LogModuleManager: Shutting down and abandoning module CookOnTheFly (4)
LogModuleManager: Shutting down and abandoning module StorageServerClient (2)
LogExit: Exiting.
LogInit: Tearing down SDL.
Exiting abnormally (error code: 1)
^C
[tomsk@tomsk-PC Linux]$ sudo /opt/unreal-engine/Engine/Build/BatchFiles/Linux/Build.sh Development Linux -Project="/home/tomsk/Projects/Unreal/BritishVsPirates 5.0/BritishVsPirates.uproject" -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
Setting up bundled DotNet SDK
Running command : dotnet Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.dll Development Linux -Project=/home/tomsk/Projects/Unreal/BritishVsPirates 5.0/BritishVsPirates.uproject -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
Log file: /root/.config/Epic/UnrealBuildTool/Log.txt
Using 'git status' to determine working set for adaptive non-unity build (/home/tomsk/Projects/Unreal/BritishVsPirates 5.0).
Invalidating makefile for BritishVsPiratesEditor (source file removed)
@progress push 5%
@progress 'Generating code...' 0%
@progress 'Generating code...' 33%
Parsing headers for BritishVsPiratesEditor
  Running Internal UnrealHeaderTool "/home/tomsk/Projects/Unreal/BritishVsPirates 5.0/BritishVsPirates.uproject" "/home/tomsk/Projects/Unreal/BritishVsPirates 5.0/Intermediate/Build/Linux/B4D820EA/BritishVsPiratesEditor/Development/BritishVsPiratesEditor.uhtmanifest" -WarningsAsErrors -installed
Total of 34 written
Reflection code generated for BritishVsPiratesEditor in 3.0998798 seconds
@progress 'Generating code...' 67%
@progress 'Generating code...' 100%
@progress pop
------- Build details --------
Using toolchain located at '/opt/unreal-engine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v20_clang-13.0.1-centos7/x86_64-unknown-linux-gnu'.
Using clang (/opt/unreal-engine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v20_clang-13.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang++) version 'clang version 13.0.1
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /opt/unreal-engine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v20_clang-13.0.1-centos7/x86_64-unknown-linux-gnu/bin' (string), 13 (major), 0 (minor), 1 (patch)
Using bundled libc++ standard C++ library.
Using lld linker
Using llvm-ar (/opt/unreal-engine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v20_clang-13.0.1-centos7/x86_64-unknown-linux-gnu/bin/llvm-ar) version 'LLVM (http://llvm.org/):
  LLVM version 13.0.1
  Optimized build.
  Default target: x86_64-unknown-linux-gnu
  Host CPU: haswell (string)'
Using fast way to relink  circularly dependent libraries (no FixDeps).
------------------------------
Building BritishVsPiratesEditor...
[Upgrade]
[Upgrade] Using backward-compatible include order. The latest version of UE has changed the order of includes, which may require code changes. The current setting is:
[Upgrade]     IncludeOrderVersion = EngineIncludeOrderVersion.Unreal5_0
[Upgrade] Suppress this message by setting 'IncludeOrderVersion = EngineIncludeOrderVersion.Unreal5_1;' in BritishVsPiratesEditor.Target.cs.
[Upgrade] Alternatively you can set this to 'EngineIncludeOrderVersion.Latest' to always use the latest include order. This will potentially cause compile errors when integrating new versions of the engine.
[Upgrade]
[Adaptive Build] Excluded from SIOJson unity file: SIOJConvert.cpp, SIOJRequestJSON.cpp, SIOJsonObject.cpp, SIOJsonValue.cpp, SIOJLibrary.cpp
[Adaptive Build] Excluded from SocketIOLib unity file: sio_client.cpp, sio_socket.cpp, sio_client_impl.cpp, sio_packet.cpp
[Adaptive Build] Excluded from CoreUtility unity file: CUFileComponent.cpp, CUBlueprintLibrary.cpp, CUMeasureTimer.cpp, CUOpusCoder.cpp
[Adaptive Build] Excluded from SIOJEditorPlugin unity file: SIOJ_BreakJson.cpp
Determining max actions to execute in parallel (4 physical cores, 4 logical cores)
  Executing up to 4 processes, one per physical core
@progress 'Compiling C++ source code...' 0%
Building 25 actions with 4 processes...
@progress 'Compiling C++ source code...' 4%
[1/25] Compile CUOpusCoder.cpp
In file included from /home/tomsk/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient/Source/CoreUtility/Private/CUOpusCoder.cpp:1:
/run/media/tomsk/Data/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient/Source/CoreUtility/Public/CUOpusCoder.h:7:10: fatal error: 'ThirdParty/libOpus/opus-1.3.1-12/include/opus.h' file not found
#include "ThirdParty/libOpus/opus-1.3.1-12/include/opus.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
@progress 'Compiling C++ source code...' 8%
[2/25] Compile CUBlueprintLibrary.cpp
In file included from /home/tomsk/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient/Source/CoreUtility/Private/CUBlueprintLibrary.cpp:19:
/run/media/tomsk/Data/Projects/Unreal/BritishVsPirates 5.0/Plugins/SocketIOClient/Source/CoreUtility/Public/CUOpusCoder.h:7:10: fatal error: 'ThirdParty/libOpus/opus-1.3.1-12/include/opus.h' file not found
#include "ThirdParty/libOpus/opus-1.3.1-12/include/opus.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
@progress 'Compiling C++ source code...' 12%
[3/25] Compile Module.SIOJson.cpp
@progress 'Compiling C++ source code...' 16%
[4/25] Compile SIOJRequestJSON.cpp
@progress 'Compiling C++ source code...' 20%
[5/25] Compile SIOJsonObject.cpp
@progress 'Compiling C++ source code...' 24%
[6/25] Compile SIOJConvert.cpp
@progress 'Compiling C++ source code...' 28%
[7/25] Compile CUFileComponent.cpp
@progress 'Compiling C++ source code...' 32%
[8/25] Compile CUMeasureTimer.cpp
@progress 'Compiling C++ source code...' 36%
[9/25] Compile Module.CoreUtility.cpp
@progress 'Compiling C++ source code...' 40%
[10/25] Link (lld) libUnrealEditor-CoreUtility.so cancelled
@progress 'Compiling C++ source code...' 44%
[11/25] Compile SIOJsonValue.cpp
@progress 'Compiling C++ source code...' 48%
[12/25] Compile Module.SocketIOLib.cpp
@progress 'Compiling C++ source code...' 52%
[13/25] Compile SIOJLibrary.cpp
@progress 'Compiling C++ source code...' 56%
[14/25] Link (lld) libUnrealEditor-SIOJson.so cancelled
@progress 'Compiling C++ source code...' 60%
[15/25] Compile sio_client.cpp
@progress 'Compiling C++ source code...' 64%
[16/25] Compile Module.SIOJEditorPlugin.cpp
@progress 'Compiling C++ source code...' 68%
[17/25] Compile sio_packet.cpp
@progress 'Compiling C++ source code...' 72%
[18/25] Compile sio_socket.cpp
@progress 'Compiling C++ source code...' 76%
[19/25] Compile SIOJ_BreakJson.cpp
@progress 'Compiling C++ source code...' 80%
[20/25] Link (lld) libUnrealEditor-SIOJEditorPlugin.so cancelled
@progress 'Compiling C++ source code...' 84%
[21/25] Compile Module.SocketIOClient.cpp
@progress 'Compiling C++ source code...' 88%
[22/25] Compile sio_client_impl.cpp
@progress 'Compiling C++ source code...' 92%
[23/25] Link (lld) libUnrealEditor-SocketIOLib.so
@progress 'Compiling C++ source code...' 96%
[24/25] WriteMetadata BritishVsPiratesEditor.target cancelled
@progress 'Compiling C++ source code...' 100%
[25/25] Link (lld) libUnrealEditor-SocketIOClient.so cancelled
getnamo commented 1 year ago

From the log we can see that your 5.1 compile is still missing this required change: https://github.com/getnamo/SocketIOClient-Unreal/commit/65d7253aa3a225fbe58229995971fd474c641063 (it's trying to include an invalid opus header). Pull latest master version of the plugin from git and try again, it should work.

t0msk commented 1 year ago

Ah thank you, it works now :)