-
Notifications
You must be signed in to change notification settings - Fork 38
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
Compile under gcc #2
Comments
Hi sgame, I tried pretty hard to compile some really simple DirectShow video capture programs under MinGW, but I completely failed to get it working. It was like banging my head against a wall and I just ran out of steam and gave up. To be honest, it's messy enough compiling DirectShow programs using cl.exe (the compiler behind Visual Studio). I have no idea why this stuff is so complicated. The Video For Windows API was far from perfect, but at least it was fairly easy to get up and running with it. DirectShow is just horrible. If all programming was like this, I would never have got into it at all. Anyway, if anyone can get CommandCam to compile under MinGW, I'll be interested to see how they did it. Ted |
CommandCAM with MINGW Changes on Source: *Included: #define INTERFACE ISampleGrabberCB *Deleted: |
Thank you dude, does this hack really work with mingw compilation, can you share the file.. |
Hello
Nice work. I am trying to compile CommandCam.cpp with MinGW. The knowns troubles with Direct Show appears again. It seem that Mingw community careless a lot about direct show because it is still doesn't fully work in recent Mingw releases. I haven't tried Cygwin if it work for you then tell me to try it.
Anyway, I did apply the patch of Mingw + direct show but I still get three errors :
IPropertyBag does not name a type
ICaptureGraphBuilder2 does not name a type
DexterLib does not name a type
I searched so many but haven't seen any workaround regarding direct show for Mingw. I which if you personally have encountered those problems because I think that it is important to know how to use direct show.
The text was updated successfully, but these errors were encountered: