svlad-90 / DLT-Message-Analyzer

"Extended search" plugin for the DLT-viewer
GNU General Public License v3.0
77 stars 13 forks source link

Error message was displayed when executing dlt-viewer #202

Closed HappyRia closed 4 months ago

HappyRia commented 4 months ago

Describe the bug Error message was displayed when executing dlt-viewer

Screenshots image

Env [dlt-viewer] v2.25.0 Windows

image

[DLT-Message-Analyzer] v.1.0.27

HappyRia commented 4 months ago

After building the DLT-Message-Analyzer plugin and launching dlt-viewer, an error occurred. The error message is garbled and I don't know what the cause of the error is. Can anyone tell me what the possible causes are?

HappyRia commented 4 months ago

When I checked the error message in the Qt Creator debugger, I found out what the garbled characters were.

-------------The plugin D:/build/bin/plugins/DLT-Message-Analyzer.dllcannot be loaded. Error: Cannot load library D:\build\bin\plugins\DLT-Message-Analyzer.dll: Specified module not found.

svlad-90 commented 4 months ago

Hi @HappyRia, first of all, thank you for creating this issue!

Also, I am sorry for the delay in getting back to you. I'm on vacation right now. Due to this, I check my email box sparingly. ))

Please, give me some time. I'll set up a development environment on my Windows OS and will try to reproduce your issue.

As I understand, you have it with the following environment:

OS: Windows dlt-viewer: v2.25.0 DLT-Message-Analyzer: v.1.0.27 Qt version: 6.x.y

=> Could you please clarify whether you ran the dlt-viewer from the build folder or tried to install it ( build the install CMake target ) and run it from the installation folder?

HappyRia commented 4 months ago

Hi @svlad-90,

Thanks for the reply and your help in debugging.

It's the latter, I used the build_sdk_windows_qt5_MSVC_cmake_interactive.bat in https://github.com/COVESA/dlt-viewer.

Would it be possible for you to also release the Windows version of dlt-message-analyzer.dll that is compatible with dlt-viewer v2.25.0?

svlad-90 commented 4 months ago

Hi @HappyRia, here is a status update from my side.

I was able to reproduce this issue locally:

image

Now, it will be much easier for me to find a solution.

Please, give me several more days. I'll try to figure out how to deal with it.

HappyRia commented 4 months ago

Hi @svlad-90,

Thanks for taking your time during the vacation. That would be very helpful for me. I hope you would come up with a solution soon. Please keep me updated.

svlad-90 commented 4 months ago

Hi @HappyRia, I've prepared the following fix: https://github.com/svlad-90/DLT-Message-Analyzer/pull/206

Please verify whether it is functional for you. I've checked it on Windows OS and will also check it on Ubuntu. But I'll merge the fix only after your confirmation.

HappyRia commented 4 months ago

Hi @svlad-90,

Thanks, it works fine.