61
SFML projects / SF Video Player
« on: September 23, 2010, 02:28:13 pm »
what errors are you getting?
you should include files,
movie_clip.cpp/h
movie_player.cpp/h
and
OpenAL_AudioInterface.cpp/h
in your project,
then link
OpenAL32.lib
libtheoraplayer_static.lib
in your project,
the 'main.cpp' is just a simplistic example of how to use the lib, you can include that if you want to build the sample program yourself
remember to set your project so it can find the Dependencies' 'include' and 'lib' folders
this is for Visual Studios 2010, you would need a version of libtheoraplayer_static.lib that is compiled on 2008 or what have you compiler to work, (Hate that a lib compiled on 2008 doesn't work in 2010, and vise versa, crazy bull right there.)
shouldn't be any harder than that. Let me know if you have any other issues
you should include files,
movie_clip.cpp/h
movie_player.cpp/h
and
OpenAL_AudioInterface.cpp/h
in your project,
then link
OpenAL32.lib
libtheoraplayer_static.lib
in your project,
the 'main.cpp' is just a simplistic example of how to use the lib, you can include that if you want to build the sample program yourself
remember to set your project so it can find the Dependencies' 'include' and 'lib' folders
this is for Visual Studios 2010, you would need a version of libtheoraplayer_static.lib that is compiled on 2008 or what have you compiler to work, (Hate that a lib compiled on 2008 doesn't work in 2010, and vise versa, crazy bull right there.)
shouldn't be any harder than that. Let me know if you have any other issues