SDK incompatible with msvc 2010
Trying to build project with msvc 2010 using VLC SDK, I get some errors.
C:\Program Files\VideoLAN\VLC\sdk\include\vlc\plugins\vlc_common.h:48: error: C1083: Cannot open include file: 'inttypes.h': No such file or directory
This can be fixed by using stdint.h instead of inttypes.h.
C:\Program Files\VideoLAN\VLC\sdk\include\vlc\plugins\vlc_configuration.h:108: error: C2146: syntax error : missing ';' before identifier 'config_GetIntChoices'
And several same errors from this file. This can be fixed by defining ssize_t:
#if defined(_MSC_VER)
# include <BaseTsd.h>
typedef SSIZE_T ssize_t;
#endif
C:\Program Files\VideoLAN\VLC\sdk\include\vlc\plugins\vlc_threads.h:407: error: C3861: 'poll': identifier not found
This requires some replacement for poll.h