I created a project which uses OpenCV and Gstreamer (receiving udp stream), It’s working perfectly fine if open with Visual Studio (Run button). But after compiling Release x64 MT and trying I not only need to throw a whole lot of GStreamer .dll files to open my app but even after it opens successfully when It comes to opening a stream I get a warning, because of which my program is not working (Capture return false)
[ WARN:0] global F:\Code\opencv_4.5.1\opencv-4.5.1\modules\videoio\src\cap_gstreamer.cpp (734) cv::GStreamerCapture::open OpenCV | GStreamer warning: Error opening bin: no element "udpsrc"
[ WARN:0] global F:\Code\opencv_4.5.1\opencv-4.5.1\modules\videoio\src\cap_gstreamer.cpp (501) cv::GStreamerCapture::isPipelinePlaying OpenCV | GStreamer warning: GStreamer: pipeline have not been created
It seems like it can’t find something. My question is :
How to compile my project so any other Windows computer could open it and find all needed files? (bonus points for hiding .dlls)
Thanks