This is shown a number times:
- Code: Select all
CMake Error at CMakeLists.txt:62 (_add_library):
_add_library cannot create ALIAS target "DBus" because target
"PkgConfig::DBUS" is IMPORTED.
Call Stack (most recent call first):
CMakeModules/FindDBus.cmake:33 (add_library)
CMakeLists.txt:312 (find_package)
I have no idea what it means.
I have tried a clean build (remove 'build' directory). I have removed the flightgear sources to force them being refreshed from git, but none of that worked.
Simgear is compiling fine, without errors.
I am on linux (Ubuntu 18.04) and am using the latest download_and_compile.sh script and had it update the packages on my system (i.e. I called it without the '-p n' flag).
What am I doing wrong?