on-internet
← Community

SDL3 Camera API unable to Access Window shows Green Screen on Linux

Stack Overflow ·

I have a C+SDL3 Camera Window Project which accesses the built in webcam of your laptop and displays it in a small window. This was originally made in Windows (https://github.com/N00rAhmed/Camera-Window) but right now I'm trying to run this project in Linux Mint using CLion but even after installing dependencies and configuring CMakeLists.txt I'm not able to access the web cam on my linux laptop. Instead what happens is that an empty window is displayed which is completely green. I'm a beginner in C so any help would be appreciated. Here is my code from Clion: // main.c #ifdef _MSC_VER #define

Comments

Sign in or sign up to comment and upvote.

No comments yet.