Skip to content

Commit

Permalink
Merge pull request #197 from svlad-90/dev/vladyslav-goncharuk/ISSUE-196
Browse files Browse the repository at this point in the history
[ISSUE #196][INSTALLATION] Installation updates
  • Loading branch information
svlad-90 authored Apr 28, 2024
2 parents e899f75 + 135d1b2 commit 6089e4a
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 7 deletions.
1 change: 1 addition & 0 deletions dltmessageanalyzerplugin/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ DMA_sync_g_test_framework()
DMA_sync_plantuml()
DMA_sync_framework()
DMA_sync_q_custom_plot()
install(TARGETS qcustomplot LIBRARY DESTINATION ${DLT_LIBRARY_INSTALLATION_PATH} )
################### DEPENDENCIES ( END )###################

################### COMPATIBILITY #########################
Expand Down
30 changes: 23 additions & 7 deletions md/installation_guide/installation_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,31 @@ Your target path to the plugin should look like **"./dlt-viewer/plugin/DLT-Messa

- Open console in the "./dlt-viewer" folder:

![Screenshot of console](./installation_guide_console.png)
![Screenshot of console](./installation_guide_console.png)

- Run the following set of commands in it:

<pre>mkdir build
cd build
cmake ..
make -j4
</pre>
<pre># Install the 'libqt5svg5-dev' or 'libqt6svg6-dev' dependency
sudo DEBIAN_FRONTEND=noninteractive apt-get -yq install libqt5svg5-dev
# create build directory
mkdir build
# Enter the build directory
cd build
# Run cmake
cmake ..
# Build the project
make -j4
# Install dlt-viewer into the system
sudo make install .
# update the cache for the linker
sudo ldconfig
</pre>

- Then you can run the dlt-viewer from the following location:

```
/usr/local/DLTViewer/usr/bin/dlt-viewer
```

----

Expand Down Expand Up @@ -144,7 +160,7 @@ As of now, they are Linux and Windows.

## Run dlt-viewer and enable the plugin

- Proceed to the build's artifacts folder and run the dlt-viewer. It should already include and load the dynamic library of the DLT-Message-Analyzer plugin
- Run the dlt-viewer. It should already include and load the dynamic library of the DLT-Message-Analyzer plugin
- Enable and show the DLT-Message-Analyzer plugin:

![Screenshot of enabling the plugin](./installation_guide_enable_plugin.png)
Expand Down

0 comments on commit 6089e4a

Please sign in to comment.