-
Notifications
You must be signed in to change notification settings - Fork 245
Open
Labels
Description
I use Unreal Engine 5.4 and SocketIO 2.8 for 5.4 version but when I try to build project I get:
[2/37] Compile CUBlueprintLibrary.cpp
In file included from /run/media/tomsk/Data/Projects/Unreal/socketio/Plugins/SocketIOClient/Source/CoreUtility/Private/CUBlueprintLibrary.cpp:23:
/run/media/tomsk/Data/Projects/Unreal/socketio/Plugins/SocketIOClient/Source/CoreUtility/Public/CUOpusCoder.h:7:9: error: 'WITH_OPUS' macro redefined [-Werror,-Wmacro-redefined]
#define WITH_OPUS (PLATFORM_WINDOWS || PLATFORM_UNIX || PLATFORM_ANDROID)
^
/run/media/tomsk/Data/Projects/Unreal/socketio/Plugins/SocketIOClient/Intermediate/Build/Linux/x64/UnrealEditor/Development/CoreUtility/Definitions.CoreUtility.h:19:9: note: previous definition is here
#define WITH_OPUS 1
^
1 error generated.
@progress 'Compiling C++ source code...' 8%
@progress 'Compiling C++ source code...' 11%
[3/37] Compile CUFileSubsystem.cpp
@progress 'Compiling C++ source code...' 14%
[4/37] Compile CUFileComponent.cpp
@progress 'Compiling C++ source code...' 16%
[5/37] Compile CUMeasureTimer.cpp
@progress 'Compiling C++ source code...' 19%
[6/37] Compile SharedPCH.Engine.Project.RTTI.ValApi.Cpp20.h
[7/37] Compile CUOpusCoder.cpp
In file included from /run/media/tomsk/Data/Projects/Unreal/socketio/Plugins/SocketIOClient/Source/CoreUtility/Private/CUOpusCoder.cpp:1:
/run/media/tomsk/Data/Projects/Unreal/socketio/Plugins/SocketIOClient/Source/CoreUtility/Public/CUOpusCoder.h:7:9: error: 'WITH_OPUS' macro redefined [-Werror,-Wmacro-redefined]
#define WITH_OPUS (PLATFORM_WINDOWS || PLATFORM_UNIX || PLATFORM_ANDROID)
^
/run/media/tomsk/Data/Projects/Unreal/socketio/Plugins/SocketIOClient/Intermediate/Build/Linux/x64/UnrealEditor/Development/CoreUtility/Definitions.CoreUtility.h:19:9: note: previous definition is here
#define WITH_OPUS 1
^
1 error generat