Link libraries Vosk and PortAudio to UE5 project

Hello, everyone! I have a project in C++ and I want to link the Vosk and PortAudio libraries to it. On 75% I get the following error: “The game module ‘SmartCompanion’ could not be loaded. There may be an operating system error, the module may not be properly set up, or a plugin which has been included into the build has not been turned on”. I tried deleting the folders “Binaries”, “Intermediate”, “Saved” and rebuilding the solution. That didn’t help either.

Here are the links to the code:
SmartCompanion.Build.cs: SmartCompanion/SmartCompanion.Build.cs at main · LeonSysprog/SmartCompanion · GitHub
SmartCompanion.h: SmartCompanion/SmartCompanion.h at main · LeonSysprog/SmartCompanion · GitHub
SmartCompanion.cpp: SmartCompanion/SmartCompanion.cpp at main · LeonSysprog/SmartCompanion · GitHub

I was guided by these manuals:
https://web.archive.org/web/20140824192306/https://wiki.unrealengine.com/Linking_Static_Libraries_Using_The_Build_System

Log output: SmartCompanion/SmartCompanion.log at main · LeonSysprog/SmartCompanion · GitHub

Problem solved. This post helped me: Unresolved external symbol for custom third party plugin (integrating Vosk)