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

Linux rebuild issue #20

Open
gaborpapp opened this issue Aug 30, 2019 · 0 comments
Open

Linux rebuild issue #20

gaborpapp opened this issue Aug 30, 2019 · 0 comments

Comments

@gaborpapp
Copy link

Trying to rebuild the plugin from github after receiving the different engine version error in Linux UE 4.22.3.

The parentheses error can be fixed, but I'm not sure how to get rid of the alsa include error, because alsa-dev libs are installed and /usr/include/alsa/asoundlib.h exists.

Any suggestions would be appreciated.

Creating makefile for ProceduralMIDITestEditor (ini files are newer than makefile)
@progress push 5%
Creating makefile for UnrealHeaderTool (ini files are newer than makefile)
@progress push 5%
@progress pop
------- Build details --------
Using toolchain located at '/UnrealEngine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v13_clang-7.0.1-centos7/x86_64-unknown-linux-gnu'.
Using clang (/UnrealEngine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v13_clang-7.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang++) version '7.0.1' (string), 7 (major), 0 (minor), 1 (patch)
Using bundled libc++ standard C++ library.
Using lld linker
Using llvm-ar : /UnrealEngine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v13_clang-7.0.1-centos7/x86_64-unknown-linux-gnu/bin/llvm-ar
Using fast way to relink  circularly dependent libraries (no FixDeps).
------------------------------
Parsing headers for ProceduralMIDITestEditor
  Running UnrealHeaderTool "/Documents/Unreal Projects/ProceduralMIDITest/ProceduralMIDITest.uproject" "/Documents/Unreal Projects/ProceduralMIDITest/Intermediate/Build/Linux/B4D820EA/ProceduralMIDITestEditor/Development/ProceduralMIDITestEditor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors
Reflection code generated for ProceduralMIDITestEditor in 4.3238604 seconds
@progress pop
------- Build details --------
Using toolchain located at '/UnrealEngine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v13_clang-7.0.1-centos7/x86_64-unknown-linux-gnu'.
Using clang (/UnrealEngine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v13_clang-7.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang++) version '7.0.1' (string), 7 (major), 0 (minor), 1 (patch)
Using bundled libc++ standard C++ library.
Using lld linker
Using llvm-ar : /UnrealEngine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v13_clang-7.0.1-centos7/x86_64-unknown-linux-gnu/bin/llvm-ar
Using fast way to relink  circularly dependent libraries (no FixDeps).
------------------------------
Performing 17 actions (10 in parallel)
[2/17] Compile MidiAsset.gen.cpp
[9/17] Compile Module.ProceduralAudio.cpp
[1/17] Compile MidiAssetModule.cpp
[3/17] Compile MidiAsset.init.gen.cpp
[6/17] Compile Module.MidiAssetEditor.cpp
[5/17] Compile Module.Midi.gen.cpp
[10/17] Compile Module.ProceduralAudio.gen.cpp
[8/17] Compile Module.MidiInterface.cpp
[4/17] Compile Module.Midi.cpp
[7/17] Compile Module.MidiAssetEditor.gen.cpp
In file included from /Documents/Unreal Projects/ProceduralMIDITest/Plugins/MidiAsset/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/Midi/Module.Midi.cpp:13:
/Documents/Unreal Projects/ProceduralMIDITest/Plugins/MidiAsset/Source/Midi/Classes/Event/Meta/MetaEvent.cpp:54:35: error: '&&' within '||' [-Werror,-Wlogical-op-parentheses]
        if (eventData.type >= TEXT_EVENT && eventData.type <= CUE_POINT ||
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~
/Documents/Unreal Projects/ProceduralMIDITest/Plugins/MidiAsset/Source/Midi/Classes/Event/Meta/MetaEvent.cpp:54:35: note: place parentheses around the '&&' expression to silence this warning
        if (eventData.type >= TEXT_EVENT && eventData.type <= CUE_POINT ||
                                         ^
            (                                                          )
In file included from /Documents/Unreal Projects/ProceduralMIDITest/Plugins/MidiAsset/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/MidiInterface/Module.MidiInterface.cpp:2:
/Documents/Unreal Projects/ProceduralMIDITest/Plugins/MidiAsset/Source/MidiInterface/Classes/RtMidi.cpp:1444:10: fatal error: 'alsa/asoundlib.h' file not found
#include <alsa/asoundlib.h>
         ^~~~~~~~~~~~~~~~~~
[11/17] Compile Module.MidiInterface.gen.cpp
1 error generated.
[12/17] Link (ld) libUE4Editor-MidiAsset.so
[13/17] Link (ld) libUE4Editor-MidiAssetEditor.so
1 error generated.
[14/17] Link (ld) libUE4Editor-ProceduralAudio.so
LogInit: Warning: Still incompatible or missing module: ProceduralMIDITest
LogInit: Warning: Still incompatible or missing module: Midi
LogInit: Warning: Still incompatible or missing module: MidiAsset
LogInit: Warning: Still incompatible or missing module: MidiAssetEditor
LogInit: Warning: Still incompatible or missing module: MidiInterface
LogInit: Warning: Still incompatible or missing module: ProceduralAudio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant