Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows build #38

Closed
triggerfinger-debug opened this issue Jan 15, 2022 · 4 comments
Closed

Windows build #38

triggerfinger-debug opened this issue Jan 15, 2022 · 4 comments

Comments

@triggerfinger-debug
Copy link

Hey,
GStreamer fails to load this plugin.

(gst-inspect-1.0:19248): GStreamer-WARNING **: 13:31:43.321: Failed to load plugin 'C:\Users\trigg\Dev\gstreamer\gstcefsrc\build\Release\gstcef.dll': 'C:\Users\trigg\Dev\gstreamer\gstcefsrc\build\Release\gstcef.dll': The specified module could not be found.

(gst-inspect-1.0:19248): GStreamer-WARNING **: 13:31:43.330: Failed to load plugin 'C:\Users\trigg\Dev\gstreamer\gstcefsrc\build\Release\libcef.dll': 'C:\Users\trigg\Dev\gstreamer\gstcefsrc\build\Release\libcef.dll': The specified module could not be found.

I used this command:

cmake -DCMAKE_BUILD_TYPE=Release ..

followed by building solution with Visual Studio 19.

I set the GST_PLUGIN_PATH environment variable in system properties after.

GStreamer version 1.19.1 - MinGW 64-bit runtime and development installers.

Am I missing something?

@triggerfinger-debug
Copy link
Author

It works if gst-launch from the Release folder. However (unrelated) it hangs when Freeing pipeline ...

@MathieuDuponchelle
Copy link
Collaborator

Hrm, requiring the main executable to be in the Release folder used to be a thing, but I'm fairly sure it shouldn't be needed anymore since e2da7ea#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5 , we should try and figure out why that would still be needed on Windows :)

Please do open a separate issue for the hang if you don't mind :)

@triggerfinger-debug
Copy link
Author

Adding the Release folder to GST_PLUGIN_PATH and Path fixed the issue of GStreamer picking up the plugin.

@MathieuDuponchelle
Copy link
Collaborator

Oh! that's a typical Windows problem yes, nice catch. Feel free to document that in the README :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants