I'm trying to create an a new "source" plugin/extension for OBS Studio. I have read the documentation on writing plugins, and have also found an example of an OBS source. Writing the plugin seemed pretty straight forward. However, I have had a lot of trouble running the build operation for that plugin.
I found documentation on how to build OBS (and I'm guessing by extension build a plugin) here:
https://obsproject.com/wiki/install-instructions#windows-build-directions
And alto here:
https://github.com/obsproject/obs-studio/wiki/Install-Instructions
However, after doing everything (all steps referenced) in the documentation, I still can't run a complete build operation.
I do understand that a current build of CMake has to be properly installed, and that has to be used to build the code. (This is new to me. I have always used IDEs.)
I also downloaded and created library source folders for the following in an attempt to get the code to build:
- the entire OBS project source code from the GitHub repository
- QT5, which was downloaded from here
- FFMpeg (latest source)
- X264 (latest source)
- CURL (latest source)
After doing all of this, I have still been encountering the following errors (among others) during the build process:
- Unable to locate "FindLibobs.cmake"
- Unable to locate "FindQt5.cmake"
- The package name passed to `find_package_handle_standard_args` (Libobs) does not match the name of the calling package (LibObs)
- OBS_FRONTEND_LIB NOTFOUND
- Package QtCore was not found in the pkg-config search path
- No package 'QtCore' found
It would be very helpful if someone would create a document that details all steps needed to create an OBS plugin and run the build operation, or at least go through the existing doc (listed above) and updated it so it includes ALL needed steps.
I found documentation on how to build OBS (and I'm guessing by extension build a plugin) here:
https://obsproject.com/wiki/install-instructions#windows-build-directions
And alto here:
https://github.com/obsproject/obs-studio/wiki/Install-Instructions
However, after doing everything (all steps referenced) in the documentation, I still can't run a complete build operation.
I do understand that a current build of CMake has to be properly installed, and that has to be used to build the code. (This is new to me. I have always used IDEs.)
I also downloaded and created library source folders for the following in an attempt to get the code to build:
- the entire OBS project source code from the GitHub repository
- QT5, which was downloaded from here
- FFMpeg (latest source)
- X264 (latest source)
- CURL (latest source)
After doing all of this, I have still been encountering the following errors (among others) during the build process:
- Unable to locate "FindLibobs.cmake"
- Unable to locate "FindQt5.cmake"
- The package name passed to `find_package_handle_standard_args` (Libobs) does not match the name of the calling package (LibObs)
- OBS_FRONTEND_LIB NOTFOUND
- Package QtCore was not found in the pkg-config search path
- No package 'QtCore' found
It would be very helpful if someone would create a document that details all steps needed to create an OBS plugin and run the build operation, or at least go through the existing doc (listed above) and updated it so it includes ALL needed steps.
Last edited: