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

Packaging for Android on UE 5.4.1 fails #422

Open
D3valon opened this issue May 24, 2024 · 2 comments
Open

Packaging for Android on UE 5.4.1 fails #422

D3valon opened this issue May 24, 2024 · 2 comments
Labels

Comments

@D3valon
Copy link

D3valon commented May 24, 2024

Hey all,

Packaging (Android (ASTC)): G:/eeVReeUEMobile/eevree_unrealmobileapplication/Projects/eeVRee/Plugins/SocketIO/Source/CoreUtility/Public/CUOpusCoder.h(7,9): error: 'WITH_OPUS' macro redefined [-Werror,-Wmacro-redefined]
UATHelper: Packaging (Android (ASTC)): 1 error generated.

PackagingResults: Error: 'WITH_OPUS' macro redefined [-Werror,-Wmacro-redefined]
PackagingResults: Error: Unknown Error

For temporary solution I commented out the line
#define WITH_OPUS (PLATFORM_WINDOWS || PLATFORM_UNIX || PLATFORM_ANDROID)

After this the project compiles successfully.

@getnamo getnamo added the bug label May 25, 2024
@getnamo
Copy link
Owner

getnamo commented May 25, 2024

Valid workaround if you're not using the opus coder.

Note to self: check opus include for 5.4 version

@R1ftwarr
Copy link

R1ftwarr commented Jul 8, 2024

Have tried to comment out the below line in CUOpusCoder.h on a Linux build but the Linux build still fails.
#define WITH_OPUS (PLATFORM_WINDOWS || PLATFORM_UNIX || PLATFORM_ANDROID)

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

No branches or pull requests

3 participants