I am trying to compile OpenCV with gstreamer on Windows, following this tutorial:
The cmake portion works and the project is generated, but then when I build the solution in Visual Studio, I get the following linker error:
71> Creating library C:/dev/opencvbuild/lib/Release/opencv_videoio455.lib and object C:/dev/opencvbuild/lib/Release/opencv_videoio455.exp
71>cap_gstreamer.obj : error LNK2019: unresolved external symbol __imp_gst_audio_info_from_caps referenced in function “public: bool __cdecl cv::GStreamerCapture::grabAudioFrame(void)” (?grabAudioFrame@GStreamerCapture@cv@@QEAA_NXZ)
71>C:\dev\opencvbuild\bin\Release\opencv_videoio455.dll : fatal error LNK1120: 1 unresolved externals
Any help is greatly appreciated, thanks!