SRBeep
SRBeep copied to clipboard
How to build in windows
Hi,
Would you be kind enough to explain how I can build this in Windows? Thank you.
The dependencies are the same as for Linux/Mac (OBS, ffmpeg, SDL2). Add the necessary include PATHs for OBS, ffmpeg and SDL2 and link to the following libraries: obs-frontend-api.lib avutil.lib SDL2.lib swresample.lib avformat.lib avcodec.lib obs.lib
You should then be good to go.
Right thanks. But what is the tool used to process the makefile?
I don't know. I built it in Visual Studio 2015 so I've never actually used the makefile on windows.
I see. Do you start it as MFC DLL or...? I asked as there are no project files in this repo.
It's just a DLL, no MFC or ATL. You do not need the header files for MFC or ATL for it to work.
I have obs-frontend-api.lib in my linker's path but still face this... any help is greatly appreciated. Thank you.
error LNK2019: unresolved external symbol _obs_frontend_add_event_callback referenced in function _obs_module_load
error LNK2019: unresolved external symbol _obs_get_module_data_path referenced in function "void __cdecl start_stream_sound(void)" (?start_stream_sound@@YAXXZ)
I'm not sure. I'd guess it might be obs.lib missing but I don't know. Sorry.
Although if obs.lib is missing, I'd imagine there would me more missing externals...
It's been awhile since I've complied a plugin for OBS, so I can't remember.