From aab83a2066b5e8c2172a43b0b1674b21e903d991 Mon Sep 17 00:00:00 2001 From: ConfuSomu Date: Sun, 7 Jan 2024 11:33:40 +0100 Subject: Improve build instructions in readme Specify git clone command in readme. This should make it less confusing on how to clone the repository. --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 7570bc1..38e8276 100644 --- a/README.md +++ b/README.md @@ -18,12 +18,13 @@ Furthermore, support for viewing replies to your posts will be added. I also wan To build, please have CMake and the Qt library installed. You will also need [mastodonpp](https://schlomp.space/tastytea/mastodonpp/) installed in your environment and findable by CMake. Then use: ``` +git clone https://git.twilightsparkle.space/ActorViewer && cd ActorViewer cmake -B build -DCMAKE_BUILD_TYPE=Debug # Initially cmake --build build -j$(nproc --all) --target all # All; after modifying ui files cmake --build build -j$(nproc --all) --target clean # To clean ``` -When running, you might get an error about a shared object due to mastodonpp. If you, make sure to set the `LD_PRELOAD` environment variable in a similar manner: +When running, you might get an error about a shared object due to mastodonpp not being in the linker's path. If you do, make sure to set the `LD_PRELOAD` environment variable in the following manner: ``` LD_PRELOAD=~/Devel/mastodonpp/build/src/libmastodonpp.so.0 ./build/ActorViewer -- cgit v1.2.3-54-g00ecf