Open MuhammedKartal1 opened 2 years ago
Hey there! It doesn't look like you had any build issues actually. Those are just outputs from CMake which are not fatal errors.
Let me know if you face any issues after this.
Hi, First thank you for replying. I copied these errors because of the thought it's the reason of building error that i faced, but not. I run ./build_static_libs.sh, error is coming after I start up Unreal Editor, and saying convert in place. I have seen a message that saying "_The project could not be compiled Would you like to open it in Null Source Code Access". You can find it's screenshot below.
Issue I mentioned :
It looks like there should be more output in that compile error from UE. Would you mind copying and pasting all the error text, and surrounding it in a code block? I.e., like this:
Running Mono...
etc.
You can use three backtick characters to surround text in a code block: ```
Sure, here is the output of the error on from UE. I think, I understand the error, and it's about #include "Eigen/Dense".
Running Mono...
Fixing inconsistent case in filenames.
Setting up Mono
~/unreal/UnrealEngine/Engine ~/unreal/UnrealEngine/Engine/Binaries/Linux
Using 'git status' to determine working set for adaptive non-unity build (/home/muhammed/unreal/UnrealEngine).
Creating makefile for BlocksEditor (no existing makefile)
/home/muhammed/AIRSIM/Blocks/Plugins/vtol-AirSim/Source/AirSim.Build.cs: warning: Referenced directory '/home/muhammed/AIRSIM/Blocks/Plugins/vtol-AirSim/Source/AirLib/deps/eigen3' does not exist.
/home/muhammed/AIRSIM/Blocks/Plugins/vtol-AirSim/Source/AirSim.Build.cs: warning: Referenced directory '/home/muhammed/AIRSIM/Blocks/Plugins/vtol-AirSim/Source/AirLib/deps/MavLinkCom/include' does not exist.
/home/muhammed/AIRSIM/Blocks/Plugins/vtol-AirSim/Source/AirSim.Build.cs: warning: Referenced directory '/home/muhammed/AIRSIM/Blocks/Plugins/vtol-AirSim/Source/AirLib/deps/rpclib/include' does not exist.
WARNING: Library 'stdc++' was not resolvable to a file when used in Module 'AirSim', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning.
WARNING: Library 'supc++' was not resolvable to a file when used in Module 'AirSim', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning.
WARNING: Library '/home/muhammed/AIRSIM/Blocks/Plugins/vtol-AirSim/Source/AirLib/deps/MavLinkCom/lib/libMavLinkCom.a' was not resolvable to a file when used in Module 'AirSim', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning.
WARNING: Library '/home/muhammed/AIRSIM/Blocks/Plugins/vtol-AirSim/Source/AirLib/lib/libAirLib.a' was not resolvable to a file when used in Module 'AirSim', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning.
WARNING: Library '/home/muhammed/AIRSIM/Blocks/Plugins/vtol-AirSim/Source/AirLib/deps/rpclib/lib/librpc.a' was not resolvable to a file when used in Module 'AirSim', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning.
@progress push 5%
Creating makefile for UnrealHeaderTool (no existing makefile)
@progress push 5%
@progress pop
------- Build details --------
Using toolchain located at '/home/muhammed/unreal/UnrealEngine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v16_clang-9.0.1-centos7/x86_64-unknown-linux-gnu'.
Using clang (/home/muhammed/unreal/UnrealEngine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v16_clang-9.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang++) version '9.0.1' (string), 9 (major), 0 (minor), 1 (patch)
Using bundled libc++ standard C++ library.
Using lld linker
Using llvm-ar : /home/muhammed/unreal/UnrealEngine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v16_clang-9.0.1-centos7/x86_64-unknown-linux-gnu/bin/llvm-ar
Using fast way to relink circularly dependent libraries (no FixDeps).
------------------------------
mono_w32file_find_next: Bad encoding for '/home/muhammed/unreal/UnrealEngine/Engine/Binaries/Linux/UE4Editor?'
Consider using MONO_EXTERNAL_ENCODINGS
Parsing headers for BlocksEditor
Running UnrealHeaderTool "/home/muhammed/AIRSIM/Blocks/Blocks.uproject" "/home/muhammed/AIRSIM/Blocks/Intermediate/Build/Linux/B4D820EA/BlocksEditor/Development/BlocksEditor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -abslog="/home/muhammed/unreal/UnrealEngine/Engine/Programs/UnrealBuildTool/Log_UHT.txt"
Reflection code generated for BlocksEditor in 4.6633212 seconds
@progress pop
------- Build details --------
Using toolchain located at '/home/muhammed/unreal/UnrealEngine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v16_clang-9.0.1-centos7/x86_64-unknown-linux-gnu'.
Using clang (/home/muhammed/unreal/UnrealEngine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v16_clang-9.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang++) version '9.0.1' (string), 9 (major), 0 (minor), 1 (patch)
Using bundled libc++ standard C++ library.
Using lld linker
Using llvm-ar : /home/muhammed/unreal/UnrealEngine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v16_clang-9.0.1-centos7/x86_64-unknown-linux-gnu/bin/llvm-ar
Using fast way to relink circularly dependent libraries (no FixDeps).
------------------------------
mono_w32file_find_next: Bad encoding for '/home/muhammed/unreal/UnrealEngine/Engine/Binaries/Linux/UE4Editor?'
Consider using MONO_EXTERNAL_ENCODINGS
Building BlocksEditor...
Performing 6 actions (8 in parallel)
[1/6] Compile Module.AirSim.cpp
[3/6] Compile Blocks.cpp
[2/6] Compile Module.AirSim.gen.cpp
In file included from /home/muhammed/AIRSIM/Blocks/Plugins/vtol-AirSim/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/AirSim/Module.AirSim.cpp:2:
In file included from /home/muhammed/AIRSIM/Blocks/Plugins/vtol-AirSim/Source/AirBlueprintLib.cpp:4:
In file included from /home/muhammed/AIRSIM/Blocks/Plugins/vtol-AirSim/Source/AirBlueprintLib.h:24:
In file included from /home/muhammed/AIRSIM/Blocks/Plugins/vtol-AirSim/Source/AirLib/include/common/AirSimSettings.hpp:7:
In file included from /home/muhammed/AIRSIM/Blocks/Plugins/vtol-AirSim/Source/AirLib/include/common/CommonStructs.hpp:7:
In file included from /home/muhammed/AIRSIM/Blocks/Plugins/vtol-AirSim/Source/AirLib/include/common/Common.hpp:16:
[**1m/home/muhammed/AIRSIM/Blocks/Plugins/vtol-AirSim/Source/AirLib/include/common/VectorMath.hpp:14:10: [0m[0;1;31mfatal error: [0m[1m'Eigen/Dense' file not found[0m
#include "Eigen/Dense"
[0;1;32m ^~~~~~~~~~~~~**
In file included from /home/muhammed/AIRSIM/Blocks/Plugins/vtol-AirSim/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/AirSim/Module.AirSim.gen.cpp:2:
In file included from /home/muhammed/AIRSIM/Blocks/Plugins/vtol-AirSim/Intermediate/Build/Linux/B4D820EA/UE4Editor/Inc/AirSim/AirBlueprintLib.gen.cpp:8:
In file included from /home/muhammed/AIRSIM/Blocks/Plugins/vtol-AirSim/Source/AirBlueprintLib.h:24:
In file included from /home/muhammed/AIRSIM/Blocks/Plugins/vtol-AirSim/Source/AirLib/include/common/AirSimSettings.hpp:7:
In file included from /home/muhammed/AIRSIM/Blocks/Plugins/vtol-AirSim/Source/AirLib/include/common/CommonStructs.hpp:7:
In file included from /home/muhammed/AIRSIM/Blocks/Plugins/vtol-AirSim/Source/AirLib/include/common/Common.hpp:16:
**[1m/home/muhammed/AIRSIM/Blocks/Plugins/vtol-AirSim/Source/AirLib/include/common/VectorMath.hpp:14:10: [0m[0;1;31mfatal error: [0m[1m'Eigen/Dense' file not found[0m
#include "Eigen/Dense"
[0;1;32m ^~~~~~~~~~~~~**
[0m1 error generated.
[0m1 error generated.
Hi I am trying to build the vtol-Airsim library on my computer and I faced a issues but, couldn't find a way to solve it on myself. Can you please help me to figure out the problem.
I am using "Ubuntu 20.04" and The issues are coming when i call
./build_static_libs.sh
:Here is the output:
Creating backup of AirLib at airlib_backup/
AirLib setup completed successfully Begin build
cmake ../cmake -DCMAKE_BUILD_TYPE=Release --- inside build_release
-- The C compiler identification is Clang 10.0.0 -- The CXX compiler identification is Clang 10.0.0 -- Check for working C compiler: /usr/bin/clang -- Check for working C compiler: /usr/bin/clang -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/clang++ -- Check for working CXX compiler: /usr/bin/clang++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE
-- Performing Test UNUSED_LAMBDA_CAPTURE_WARN_SUPPORTED -- Performing Test UNUSED_LAMBDA_CAPTURE_WARN_SUPPORTED - Failed -- Performing Test ZERO_AS_NULL_POINTER_CONSTANT_WARN_SUPPORTED -- Performing Test ZERO_AS_NULL_POINTER_CONSTANT_WARN_SUPPORTED - Failed -- Configuring done -- Generating done -- Build files have been written to: /home/muhammed/AirSim/build_release ... ... ... ... ... ...