Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ISSUE #196][INSTALLATION] Installation updates #197

Merged
merged 1 commit into from
Apr 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading