I am trying to make an application with OpenGL and GStreamer. I have a couple of files linking to GStreamer-libraries, but for now, they are not included to the main source file in any way. The program compiles just fine, but upon running, I get the error message
The application was unable to start correctly (0xc000007b).
I got no more information about the error.
But when excluding the GStreamer-related files from the project, while leaving the include- and library-directories in the property page untouched, the code compiles and runs without problems.
I am building for the Win32 platform and have checked that I link to the correct versions of the GStreamer libraries.
Furhermore, when trying to run a build for x64 (also linking properly, I believe), I get the exact same error, even when the files are excluded from the project.
Could anyone tell what's wrong from this sparse information, or at the very least explain why the application won't run when I add files that are not used?
I may give more information on demand, but right now, I really don't know what is relevant.