-
Notifications
You must be signed in to change notification settings - Fork 58
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
MinGW support #51
MinGW support #51
Conversation
@@ -84,6 +86,7 @@ IF (WIN32) | |||
# add files for WIN32 | |||
target_sources(openpnp-capture PRIVATE win/platformcontext.cpp | |||
win/platformstream.cpp) | |||
target_link_libraries(openpnp-capture strmiids) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have no idea why current master can be built without strmiids library.
@@ -27,7 +27,7 @@ | |||
#define win_platformdeviceinfo_h | |||
|
|||
#include <windows.h> | |||
#include <Dshow.h> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Windows doesn't distinguish "Dshow.h" and "dshow.h" but Linux does.
@@ -31,8 +31,7 @@ | |||
|
|||
#include <windows.h> | |||
#include <dshow.h> | |||
#include <Vidcap.h> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Vidcap.h" seems not needed anymore now.
Looks good, thank you @sandman42292! Sorry for the long delay on getting this merged! |
This PR modifies some codes to enable openpnp-capture to be built with mingw.