On Thu, Aug 26, 2021 at 7:25 AM Peter Humphrey <
[email protected]>
wrote:
On Thursday, 26 August 2021 10:49:38 BST tastytea wrote:
You need to run cmake in the directory that has the top-level CMakeLists.txt. Use cmake -S . -B build from the top-level directory.
This whill use . as source directory and build as build directory.
You will need kde-frameworks/extra-cmake-modules.¹
Okay, I did that. It ran for much longer, and threw no errors, and once
again
it ended with 'Build files have been written to:
/usr/local/src/kdfm-code/src'.
Then:
wstn /usr/local/src/kdfm-code # cmake ./src
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-
root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-
root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-
root'
-- Could not set up the appstream test. appstreamcli is missing.
[...]
-- Configuring done
[...]
-- Generating done
-- Build files have been written to: /usr/local/src/kdfm-code/src
Google hasn't helped with appstreamcli being missing.
Have the build files been written or not? What do I do with them?
¹ <https://sourceforge.net/p/kdfm/code/ci/master/tree/CMakeLists.txt#l8>
I don't see the relevance of that.
Sorry to be thick, but my coding days are >30 years behind me, and that
was in a different area entirely.
--
Regards,
Peter.
Peter,
I'm no expert at this but a year ago I wanted to try fixing a few bugs
in the KDE solitaire game and was faced with understanding and building the code. After numerous problems like yours above I ended up deciding I needed
a development environment and chose KDevelop. Once I did that, with a
little more study, I was able to build the program and run it. You might
give something like that a try.
On the downside, KDevelop is pretty big and heavy. I don't know how the updates run on that program but building it would likely be a bit of a time sink if you don't already have it installed and then keeping it updated
could possibly be more time. On Ubuntu it's a non-issue.
Good luck,
Mark
<div dir="ltr"><br><br>On Thu, Aug 26, 2021 at 7:25 AM Peter Humphrey <<a href="mailto:
[email protected]">
[email protected]</a>> wrote:<br>><br>> On Thursday, 26 August 2021 10:49:38 BST tastytea wrote:<br>><br>> > You need
to run cmake in the directory that has the top-level<br>> > CMakeLists.txt. Use cmake -S . -B build from the top-level directory.<br>> > This whill use . as source directory and build as build directory.<br>> > You will need kde-
frameworks/extra-cmake-modules.¹<br>><br>> Okay, I did that. It ran for much longer, and threw no errors, and once again<br>> it ended with 'Build files have been written to: /usr/local/src/kdfm-code/src'.<br>> Then:<br>><br>>
wstn /usr/local/src/kdfm-code # cmake ./src<br>> QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-<br>> root'<br>> QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-<br>> root'<br>>
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-<br>> root'<br>> -- Could not set up the appstream test. appstreamcli is missing.<br>> [...]<br>> -- Configuring done<br>> [...]<br>> -- Generating done<br>>
-- Build files have been written to: /usr/local/src/kdfm-code/src<br>><br>> Google hasn't helped with appstreamcli being missing.<br>><br>> Have the build files been written or not? What do I do with them?<br>><br>> > ¹ <<a
href="
https://sourceforge.net/p/kdfm/code/ci/master/tree/CMakeLists.txt#l8">https://sourceforge.net/p/kdfm/code/ci/master/tree/CMakeLists.txt#l8</a>><br>><br>> I don't see the relevance of that.<br>><br>> Sorry to be thick, but my
coding days are >30 years behind me, and that<br>> was in a different area entirely.<br>><br>> --<br>> Regards,<br>> Peter.<br><br><div>Peter,</div><div> I'm no expert at this but a year ago I wanted to try fixing a few bugs in
the KDE solitaire game and was faced with understanding and building the code. After numerous problems like yours above I ended up deciding I needed a development environment and chose KDevelop. Once I did that, with a little more study, I was able to
build the program and run it. You might give something like that a try.</div><div><br></div><div> On the downside, KDevelop is pretty big and heavy. I don't know how the updates run on that program but building it would likely be a bit of a time
sink if you don't already have it installed and then keeping it updated could possibly be more time. On Ubuntu it's a non-issue.</div><div><br></div><div>Good luck,</div><div>Mark </div></div>
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)