-
Notifications
You must be signed in to change notification settings - Fork 22
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
How to use this in vs 2017 and win10 64bit #4
Comments
Recently I'm doing this thing, but VS2019 instead of 2017. Basically you need to follow this tutorial. After successfully installation, you should be able to run samples in If you can run samples successfully, you can compile this library. You need to create a new project with #ifdef _MSC_VER
//not #if defined(_WIN32) || defined(_WIN64) because we have strncasecmp in mingw
#define strncasecmp _strnicmp
#define strcasecmp _stricmp
#define uint unsigned int
#define __intptr_t intptr_t
#endif You need to add these codes in the right head files to ensure all the codes could be compiled correctly. Then, as MSVC can't compile C array with variable length, you must change some C arrays to Also, you need to open Then, I guess you can compile it successfully. Enjoy! |
can you share it with us? Following your suggestion, I can compile it. But I can't get the right result, i get a blank image. |
That is strange. I used this package's |
No description provided.
The text was updated successfully, but these errors were encountered: