Board index FlightGear Support Compiling

Can not build flightgear 2020.1.3 (translation_dir_list)

Building FlightGear from source, and in the need for help?

Can not build flightgear 2020.1.3 (translation_dir_list)

Postby Curtis » Sat Aug 29, 2020 4:16 am

Hello,

I use archlinux, which is a rolling release distro (like gentoo),

I have one error during the compilation of flightgear 2020.1.3 :

Code: Select all
-- Couldn't find translations data, will not include translated string in the executable
CMake Error at CMakeModules/Translations.cmake:38 (translation_dir_list):
  translation_dir_list Function invoked with incorrect arguments for function
  named: translation_dir_list
Call Stack (most recent call first):
  CMakeLists.txt:374 (include)


I managed to compile previous versions of flightgear (2019.1.1), I have installed all Qt5 packages (like Qt5LinguistTools),
Perhaps flightgear has some incorrect properties values in its cmake files ?

I use Qt5 5.15.

How can I fix this problem ?

Thanks
Curtis
 
Posts: 152
Joined: Wed Jun 17, 2009 4:09 pm
OS: archlinux 64 bits

Re: Can not build flightgear 2020.1.3 (translation_dir_list)

Postby Curtis » Sat Aug 29, 2020 5:07 am

I notice that if I put in comments lines 38 and 39 of file "CMakeModules/Translations.cmake" then all is Ok, flightgear can compile.

Code: Select all
#translation_dir_list(LANGUAGES ${TRANSLATIONS_SRC_DIR})
#message(STATUS "Detected language files: ${LANGUAGES}")
Curtis
 
Posts: 152
Joined: Wed Jun 17, 2009 4:09 pm
OS: archlinux 64 bits


Return to Compiling

Who is online

Users browsing this forum: No registered users and 3 guests