Problem in compiling chessx

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

User avatar
Look
Posts: 382
Joined: Thu Jun 05, 2014 2:14 pm
Location: Iran
Full name: Mehdi Amini

Problem in compiling chessx

Post by Look »

Hi,

I try to compile chessx . I tried :

Code: Select all

qmake-qt5
make
Here are the errors I get:

Code: Select all

/usr/bin/ld: obj_rel/mainwindowactions.o: in function `MainWindow::slotDatabaseEditTag()':
mainwindowactions.cpp:(.text+0x16d49): undefined reference to `DatabaseTagDialog::DatabaseTagDialog(QWidget*)'
/usr/bin/ld: mainwindowactions.cpp:(.text+0x16d64): undefined reference to `DatabaseTagDialog::setTagNames(QStringList)'
/usr/bin/ld: mainwindowactions.cpp:(.text+0x16d81): undefined reference to `DatabaseTagDialog::~DatabaseTagDialog()'
/usr/bin/ld: mainwindowactions.cpp:(.text+0x16db1): undefined reference to `DatabaseTagDialog::currentTag() const'
/usr/bin/ld: mainwindowactions.cpp:(.text+0x16dc6): undefined reference to `DatabaseTagDialog::current() const'
/usr/bin/ld: mainwindowactions.cpp:(.text+0x16ddb): undefined reference to `DatabaseTagDialog::replacement() const'
/usr/bin/ld: obj_rel/mainwindowactions.o: in function `MainWindow::slotDatabaseEditTag() [clone .cold]':
mainwindowactions.cpp:(.text.unlikely+0x1fd2): undefined reference to `DatabaseTagDialog::~DatabaseTagDialog()'
collect2: error: ld returned 1 exit status
make: *** [Makefile:1112: release/chessx] Error 1

What can I do ?
Farewell.
Guenther
Posts: 4718
Joined: Wed Oct 01, 2008 6:33 am
Location: Regensburg, Germany
Full name: Guenther Simon

Re: Problem in compiling chessx

Post by Guenther »

Look wrote: Wed Jun 29, 2022 12:56 pm Hi,

I try to compile chessx . I tried :

Code: Select all

qmake-qt5
make
Here are the errors I get:

Code: Select all

/usr/bin/ld: obj_rel/mainwindowactions.o: in function `MainWindow::slotDatabaseEditTag()':
mainwindowactions.cpp:(.text+0x16d49): undefined reference to `DatabaseTagDialog::DatabaseTagDialog(QWidget*)'
/usr/bin/ld: mainwindowactions.cpp:(.text+0x16d64): undefined reference to `DatabaseTagDialog::setTagNames(QStringList)'
/usr/bin/ld: mainwindowactions.cpp:(.text+0x16d81): undefined reference to `DatabaseTagDialog::~DatabaseTagDialog()'
/usr/bin/ld: mainwindowactions.cpp:(.text+0x16db1): undefined reference to `DatabaseTagDialog::currentTag() const'
/usr/bin/ld: mainwindowactions.cpp:(.text+0x16dc6): undefined reference to `DatabaseTagDialog::current() const'
/usr/bin/ld: mainwindowactions.cpp:(.text+0x16ddb): undefined reference to `DatabaseTagDialog::replacement() const'
/usr/bin/ld: obj_rel/mainwindowactions.o: in function `MainWindow::slotDatabaseEditTag() [clone .cold]':
mainwindowactions.cpp:(.text.unlikely+0x1fd2): undefined reference to `DatabaseTagDialog::~DatabaseTagDialog()'
collect2: error: ld returned 1 exit status
make: *** [Makefile:1112: release/chessx] Error 1

What can I do ?
Doesn't the commit history suggest it needs Qt6 now?
https://rwbc-chess.de

[Trolls n'existent pas...]
thewhip
Posts: 32
Joined: Thu Sep 20, 2018 10:50 pm
Full name: Juan Garcia

Re: Problem in compiling chessx

Post by thewhip »

Here it is for the download:

https://sourceforge.net/projects/chessx/
User avatar
Look
Posts: 382
Joined: Thu Jun 05, 2014 2:14 pm
Location: Iran
Full name: Mehdi Amini

Re: Problem in compiling chessx

Post by Look »

Actually it was easy to install chessx in Fedora 36:

Code: Select all

sudo dnf install chessx
Now version 1.5.6.0 is installed.
Farewell.