I use chessx in linux, and this does not seem to be a problem for me.
I can try to help; but I'd need some more information to begin to understand the problem.
So far I think it could be related to missing dependencies at runtime; try identifying where the program is in your computer, ie
which chessx
If it says something like there is not chessx, then it is possibly not correctly installed, let us know.
Let's say it responds /usr/bin/chessx (this is very common, but not the only possible answer)
Then knowing the path as per the answer of the command, try
ldd /usr/bin/chessx
Changing /usr/bin/chessx for the correct reply of the which command
Then if the ldd output tells that something is not found then you have missing dependencies that are needed at runtime to use the software, and those must be installed.
A good way to list anything needed, so you can post here is
ldd /usr/bin/chessx | grep not
Last edit: IAHM-COL 2021-09-04
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I ran lupdate chessx.pro, then qmake, then make. Then I tried to run chess x by typing ./chessx in the release directory. These are the errors I rcvd:
(chessx:1590): GLib-GObject-WARNING **: 08:55:09.890: cannot register existing type 'GdkDisplayManager'
When I do the same procedure on another computer using Debian Linux on wsl 2 I get this error when trying to compile:
collect2: error: ld returned 1 exit status
make: *** [Makefile:1054: release/chessx] Error 1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi @xyndrirth,
I use chessx in linux, and this does not seem to be a problem for me.
I can try to help; but I'd need some more information to begin to understand the problem.
So far I think it could be related to missing dependencies at runtime; try identifying where the program is in your computer, ie
If it says something like there is not chessx, then it is possibly not correctly installed, let us know.
Let's say it responds
/usr/bin/chessx
(this is very common, but not the only possible answer)Then knowing the path as per the answer of the command, try
Changing
/usr/bin/chessx
for the correct reply of the which commandThen if the ldd output tells that something is not found then you have missing dependencies that are needed at runtime to use the software, and those must be installed.
A good way to list anything needed, so you can post here is
Last edit: IAHM-COL 2021-09-04
Thank you, sirs. I downloaded the latest version and oila it worked. Thank you.
version 1.5.6
I ran lupdate chessx.pro, then qmake, then make. Then I tried to run chess x by typing ./chessx in the release directory. These are the errors I rcvd:
(chessx:1590): GLib-GObject-WARNING **: 08:55:09.890: cannot register existing type 'GdkDisplayManager'
(chessx:1590): GLib-CRITICAL **: 08:55:09.890: g_once_init_leave: assertion 'result != 0' failed
(chessx:1590): GLib-GObject-CRITICAL **: 08:55:09.890: g_object_new_with_properties: assertion 'G_TYPE_IS_OBJECT (object_type)' failed
(chessx:1590): GLib-GObject-WARNING **: 08:55:09.890: invalid (NULL) pointer instance
(chessx:1590): GLib-GObject-CRITICAL **: 08:55:09.890: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(chessx:1590): GLib-GObject-WARNING **: 08:55:09.890: invalid (NULL) pointer instance
(chessx:1590): GLib-GObject-CRITICAL **: 08:55:09.890: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(chessx:1590): GLib-GObject-WARNING **: 08:55:09.897: cannot register existing type 'GdkDisplay'
(chessx:1590): GLib-CRITICAL **: 08:55:09.897: g_once_init_leave: assertion 'result != 0' failed
(chessx:1590): GLib-GObject-CRITICAL **: 08:55:09.897: g_type_register_static: assertion 'parent_type > 0' failed
(chessx:1590): GLib-CRITICAL **: 08:55:09.897: g_once_init_leave: assertion 'result != 0' failed
(chessx:1590): GLib-GObject-CRITICAL **: 08:55:09.897: g_object_new_with_properties: assertion 'G_TYPE_IS_OBJECT (object_type)' failed
Segmentation fault
I have no idea what this means.
Please assist.
I have commented out sound and speech in chessx.pro.
When I do the same procedure on another computer using Debian Linux on wsl 2 I get this error when trying to compile:
collect2: error: ld returned 1 exit status
make: *** [Makefile:1054: release/chessx] Error 1
Disregard this, see #305.
Last edit: Luigi Baldoni 2021-11-20