Announcement

Collapse
No announcement yet.

I can't compile my game for Android (cannot find -lwebsockets)

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    I can't compile my game for Android (cannot find -lwebsockets)

    Hi!
    I have a question. I am trying to compile my game for android but this error always appears.


    LogPlayLevel: D:/NVPACK/android-ndk-r14b/toolchains/aarch64-linux-android-4.9/prebuilt/windows-x86_64/lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin\ld: cannot find -lwebsockets
    LogPlayLevel: Error: clang++.exe: error: linker command failed with exit code 1 (use -v to see invocation)
    LogPlayLevel: Took 18,1375029s to run UnrealBuildTool.exe, ExitCode=5
    LogPlayLevel: Error: ERROR: UnrealBuildTool failed. See log for more details. (C:\Users\Andrea\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Epic+Games+UE_4.22\UBT-MyGame-Android-Development.txt)
    With iOS is working nice and I have tried in different computers. It appears if I try to compile the apk and if I just launch the game in my mobile phone. Last week was working, but suddenly this error started. I have been researching at the internet but I can't find anything.

    I'll be grateful by any advice. Thank you!!
Working...
X