zabykrinich
New Member
I try to build frontend plugin for Windows in Visual Studio. I added my plugin files to OBS source directory to obs-studio\UI\frontend-plugins\MyPlugin.
Then inside MyPlugin directory I created CMakeLists.txt with all dependencies and includes I need.
CMake correctly creates me solution file with MyPlugin in projects. Build it as well without any problems.
Now the most interesting part: when I run debug from VisualStudio plugin appears in tools menu and works perfectly.
But when I try to put it to my installed obs-studio to obs-plugins\64bit\MyPlugin.dll I get following error in the log:
10:46:57.297: LoadLibrary failed for '../../obs-plugins/64bit/MyPlugin.dll': The specified procedure could not be found.
10:46:57.297: (127)
10:46:57.297: Module '../../obs-plugins/64bit/MyPlugin.dll' not found
I tried to build debug, RelWithDebInfo, Release, MinSizeRel variants. Nothing happens.
The same problem if I build frontend-tools or advanced-scene-switcher this way. It seems I make some mistake in building but can't find how to fix it.
Could you help me please? I can't even debug the problem since it is working in debugging.
Can it be some version of obs studio inconsistence? I use 19.0.3 latest and try to build from master sources.
Then inside MyPlugin directory I created CMakeLists.txt with all dependencies and includes I need.
CMake correctly creates me solution file with MyPlugin in projects. Build it as well without any problems.
Now the most interesting part: when I run debug from VisualStudio plugin appears in tools menu and works perfectly.
But when I try to put it to my installed obs-studio to obs-plugins\64bit\MyPlugin.dll I get following error in the log:
10:46:57.297: LoadLibrary failed for '../../obs-plugins/64bit/MyPlugin.dll': The specified procedure could not be found.
10:46:57.297: (127)
10:46:57.297: Module '../../obs-plugins/64bit/MyPlugin.dll' not found
I tried to build debug, RelWithDebInfo, Release, MinSizeRel variants. Nothing happens.
The same problem if I build frontend-tools or advanced-scene-switcher this way. It seems I make some mistake in building but can't find how to fix it.
Could you help me please? I can't even debug the problem since it is working in debugging.
Can it be some version of obs studio inconsistence? I use 19.0.3 latest and try to build from master sources.