How to distrbute a C++ program that used SDL2/FFMPEG?
I have a C++ program that uses SDL2. Failing to find static linking for SDL2, I decided to change the architecture such that I no longer need SDL2 but now it used FFMPEG.
I’m confused as to how I can allow a user to download and run my program. Building from source would require them to install SDL2/FFMPEG on their system. If I distribute the binary with static linking, they wont have the libraries on their system. and I cannot seem to find any way to get either of the aforementioned libraries to statically link with my binary.
I tried distributing a copy of the required libraries with my program. But these dynamic libraries seem to use other dynamic libraries and have dependencies. I can’t seem to just copy them out of my system and add them to a lib folder on my github repo.
Read more here: Source link
