Hearts Card Game for Linux.
I thought I found a Hearts card game for Linux here {I'm using Mint). After following the instructions to the letter on how to build this from source code, during the compilation no errors appeared on the terminal after several minutes of activity. Each step under instruction 3 was carried out. However when finished, 2 issues arose. 1) There are no instructions saying how to start this game. 2) Nothing is showing in 'usr/share/applications', which is a good clue that it hasn't installed properly, if at all. Nothing is showing in 'dpkg -l' either with a reference to 'Hearts'.
All I seem to have new is within my home folder, ie a sub-folder named 'Hearts' with a lot of files with object/source code extensions .o and .h. etc and a few folders with image files. Then I noticed under instruction 2 it mentions in brackets, files for Ubuntu 16.04 (which I did install first). But I have Mint 20.3. So I'm more confused. Was this installation meant to be used for Mint, anyway? Would appreciate some help. |
Did you try a whereis search for *hearts*?
There's not much here to go on, but if errors appeared while you were attempting to build the application from sources, it is likely the build failed, even if you followed the succeeding steps. Among other things, to build from sources, kernel headers must be installed, and, to the best of my knowledge, Mint does not install kernel headers by default. (Most distros do not install kernel headers by default so as to reduce the size of the install *.iso.) If you re-attempt the build and post the error messages, we may be able to help you. A web search for "cards hearts linux" tells me that there is a snap package. You might take a look at that. Here's a good tutorial on building from sources: https://www.maketecheasier.com/build...-source-linux/ |
What did you do after make? Did you install it in any way? If not, its just sitting there and you can probably run it from right where it is. Or you can try
Code:
sudo make install |
Quote:
|
Quote:
Here's the first part of the Makefile you mentioned. Any idea how I proceed from here? Code:
############################################################################# |
Generally, in installing from sources, make is followed by make install.
The former creates the installation package. The latter actually does the install. |
The executable is built right in the repo's root directory and is called - surprise - Hearts.
So, doubleclick it, or, in a terminal opened in that folder, execute Code:
./Hearts |
Thanks. Only works on command line though.
|
That source has a .../Hearts-master/Hearts.pro file.
Did you run qmake in that directory? That will make you a Makefile. Quote:
|
Quote:
|
Just as an FYI, SourceForge has a version of Blackjack available. SourceForge Blackjack link. It was last updated on June 27, 2014.
Several years ago, I attempted to install. It failed. I have not revisited this failure. Whether this version works or not is an unknown. I have been very bewildered that Hearts is not easily available for Linux. |
What did you do following making?
|
You know, I can totally relate to your situation. My partner is all about card games and puzzles, but I was never really into them until we stumbled upon Dominoes during the whole COVID mess. At first, I wasn't too excited about it, but I gotta say, it's grown on me big time. We even made up our own set of rules to keep things interesting.
But let me tell you about this other game I've been getting into lately: solitaire. Yeah, I know, it sounds kinda old-school, but bear with me. I stumbled upon this online version recently, and man, it's been a game-changer. |
All times are GMT -5. The time now is 10:48 AM. |