Livius compile on Linux

Discussion of chess software programming and technical issues.

Moderator: Ras

User avatar
Ras
Posts: 2725
Joined: Tue Aug 30, 2016 8:19 pm
Full name: Rasmus Althoff

Livius compile on Linux

Post by Ras »

Does anyone know how to compile Livius under Linux? The readme on Github (see https://github.com/kmar/livius) is not helpful and just says to run make and that Qt5 is required. However, make aborts with:

Code: Select all

Project ERROR: Unknown module(s) in QT: core gui widgets
In my package manager, I see that these packages are installed:
  • libqt5core5a (Qt 5 core module)
  • libqt5gui5 (Qt 5 GUI module)
  • libqt5widgets5 (Qt 5 widgets module)
Rasmus Althoff
https://www.ct800.net
mar
Posts: 2671
Joined: Fri Nov 26, 2010 2:00 pm
Location: Czech Republic
Full name: Martin Sedlak

Re: Livius compile on Linux

Post by mar »

Sorry, I haven't tried in years, IIRC back then someone sent me a PR with a new makefile so I simply merged it into master
User avatar
Ras
Posts: 2725
Joined: Tue Aug 30, 2016 8:19 pm
Full name: Rasmus Althoff

Re: Livius compile on Linux

Post by Ras »

Turned out I needed to install also the following (plus lots of dependences suggested by the package manager):
  • qtdeclarative5-dev (Qt 5 declarative development files)
  • qtdeclarative5-dev-tools (Qt 5 declarative development programs)
  • libqt5svg5-dev (Qt 5 SVG module development files)
The required packages could be described more in detail in the readme.
Rasmus Althoff
https://www.ct800.net
mar
Posts: 2671
Joined: Fri Nov 26, 2010 2:00 pm
Location: Czech Republic
Full name: Martin Sedlak

Re: Livius compile on Linux

Post by mar »

well I accept PRs :)