|
From: Scott G. <sc...@gm...> - 2021-12-26 16:40:59
|
I think this may help (worked for me)... James added a new configuration (USE_OPENALSOFT). You will need to manually enable that for SimGear. Within CMakeCache.txt... USE_OPENALSOFT:BOOL=ON Scott On 12/26/21 8:05 AM, Portree Kid wrote: > Sadly it doesn't compile for me. > > portreekid@fg-build:~/flightgear/dnc-managed/build$ cmake simgear > -- CMAKE Build type: RelWithDebInfo > -- version is 2020 dot 4 dot 0 > -- Library installation directory: lib > -- SimGear mode: NORMAL > -- OpenAL: /usr/lib/x86_64-linux-gnu/libopenal.so > -- Sound support: OpenAL (from system) > -- Using built-in expat code > > portreekid@fg-build:~/flightgear/dnc-managed/build$ cmake flightgear > CMAKE Build type: RelWithDebInfo > -- System is: Linux > -- Linux distro is: Ubuntu > -- Web browser launcher command is: xdg-open > -- Using explicit data directory for base package: > /home/portreekid/flightgear/dnc-managed/install/flightgear/fgdata > -- libudev stable: 1 > -- Found UDev: /usr/lib/x86_64-linux-gnu/libudev.so > -- include: /usr/include > CMake Warning at CMakeLists.txt:155 (find_package): > By not providing "FindosgXR.cmake" in CMAKE_MODULE_PATH this project > has > asked CMake to find a package configuration file provided by > "osgXR", but > CMake did not find one. > > Could not find a package configuration file provided by "osgXR" > (requested > version 0.3.3) with any of the following names: > > osgXRConfig.cmake > osgxr-config.cmake > > Add the installation prefix of "osgXR" to CMAKE_PREFIX_PATH or set > "osgXR_DIR" to a directory containing one of the above files. If > "osgXR" > provides a separate development package or SDK, be sure it has been > installed. > > > -- event-based input enabled. Using /usr/lib/x86_64-linux-gnu/libudev.so > -- Enabling HID-API input > -- SWIFT support enabled > -- Using explicitly defined translations from: > /home/portreekid/flightgear/dnc-managed/install/flightgear/fgdata/Translations > -- Detected language files: ca;de;en_US;es;fr;it;nl;pl;pt;ru;sk;zh_CN > -- Wibble > -- Qt GUI enabled, found Qt at: /usr/lib/x86_64-linux-gnu/qt5 > -- QtGui private headers not available. > -- Min Simgear version is 2020.4.0 > -- Data Distribution Service support: DISBLED > -- SSE/SSE2 support: ENABLED > -- libudev stable: 1 > -- Found UDev: /usr/lib/x86_64-linux-gnu/libudev.so > -- include: /usr/include > -- Enabling legacy joystick code (from PLIB) > -- CppUnit: Building the FlightGear supplied CppUnit library > -- Configuring done > -- Generating done > -- Build files have been written to: > /home/portreekid/flightgear/dnc-managed/build/flightgear > > [ 55%] Building C object > 3rdparty/iaxclient/lib/CMakeFiles/iaxclient_lib.dir/audio_openal.c.o > /home/portreekid/flightgear/dnc-managed/flightgear/3rdparty/iaxclient/lib/audio_openal.c:7:10: > fatal error: al.h: No such file or directory > 7 | #include <al.h> > | ^~~~~~ > > On Ubuntu 20.04 and it built fine prior to the CMake change. Am I > doing something wrong again? > > Keith > > > > > _______________________________________________ > Flightgear-devel mailing list > Fli...@li... > https://lists.sourceforge.net/lists/listinfo/flightgear-devel |