You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setting up cosys-airsim in Ubuntu 20.04 can be quite challenging. I spent a lot of time trying to make the necessary changes for this setup work. The issue arises because libc++-12-dev, libc++abi-12-dev, and libstdc++-12-dev are not installable in Ubuntu 20.04. As a result, the build.sh script may either not run at all or complete its job, but when you try to import the plugin into an Unreal project, Mavlink won't work and the project won't start.
To resolve this, I changed the clang version from 12 to 9 and installed g++-9 and gcc-9, which solved my problem. However, using GCC as the compiler (running ./build.sh --gcc) did not work.
If you are using Ubuntu 20.04, make the following changes:
In the setup.sh file, change line 52 from: sudo apt-get install -y clang-12 clang++-12 libc++-12-dev libc++abi-12-dev libstdc++-12-dev
to: sudo apt-get install -y clang-9 clang++-9 libc++-9-dev libc++abi-9-dev libstdc++-9-dev
In the build.sh file, change lines 70 and 71 from: export CC="clang-9" and export CXX="clang++-9"
to: export CC="clang-9" and export CXX="clang++-9"
The text was updated successfully, but these errors were encountered:
Hi,
Setting up cosys-airsim in Ubuntu 20.04 can be quite challenging. I spent a lot of time trying to make the necessary changes for this setup work. The issue arises because
libc++-12-dev
,libc++abi-12-dev
, andlibstdc++-12-dev
are not installable in Ubuntu 20.04. As a result, thebuild.sh
script may either not run at all or complete its job, but when you try to import the plugin into an Unreal project, Mavlink won't work and the project won't start.To resolve this, I changed the clang version from 12 to 9 and installed
g++-9
andgcc-9
, which solved my problem. However, using GCC as the compiler (running./build.sh --gcc
) did not work.If you are using Ubuntu 20.04, make the following changes:
In the
setup.sh
file, change line 52 from:sudo apt-get install -y clang-12 clang++-12 libc++-12-dev libc++abi-12-dev libstdc++-12-dev
to:
sudo apt-get install -y clang-9 clang++-9 libc++-9-dev libc++abi-9-dev libstdc++-9-dev
In the
build.sh
file, change lines 70 and 71 from:export CC="clang-9"
andexport CXX="clang++-9"
to:
export CC="clang-9"
andexport CXX="clang++-9"
The text was updated successfully, but these errors were encountered: