AprilAndFriends / theoraplayer

A multi-threaded C++ library that plays video files supporting multiple codecs across platforms. Easy to use, fast, responsive, abstract interface and minimal dependencies, you'll soon be wondering how you lived without it! ;) Audio and Video interfaces are completely abstracted so the library can be used anywhere, regardless of what you use to display video frames and play audio samples (eg. OpenGL / OpenAL, Direct3D / DirectSound?, SDL / SDL_mixer, X11 / alsa ...) The library can pre-cache video frames and decoded audio samples for maximum efficiency and smooth playback, even on single-cpu systems. Currently, the library supports Theora on Windows, Mac, iOS, Linux, Android, WinRT and Windows Phone. H.264 is supported on Mac and iOS.
BSD 3-Clause "New" or "Revised" License
84 stars 43 forks source link

CMake file for Windows #27

Open hsdk123 opened 7 years ago

hsdk123 commented 7 years ago

Hi, I'm having trouble building with the solution files provided (problems with target compiler changing, etc. that don't seem to be resolvable for some reason) and was hoping to use CMake to compile from my environment.

Would this perhaps be available?

borisblizzard commented 7 years ago

Hello.

The target SDK version is set for convenience reasons and should actually work fine if you install the newest update of VS2015 Express for Desktop (should be Update 3 at the moment of writing) and the Windows SDK. Let me know if that works out for you since there is an alternative solution if you can't get it running.

kundelstein commented 6 years ago

I can confirm, retargetting for some reason doesn't work. I have trouble changing SDK version in VS2015. Tried solution for 2013 and it worked up to point when I got this error: 'vsyasm' is not recognized as an internal or external command,

borisblizzard commented 6 years ago

vsyasm is only used for the clipwebm plugin so you should be able to just ignore it.

The fixed SDK version is 10.0.10586.0. Newer versions might not work right on older Windows 10 installations (yay, MS) which is why we decided to freeze it there.