Yalir / sfeMovie

sfeMovie is a simple C++ library that lets you play movies in SFML based applications. It relies on FFmpeg to read medias and remains consistent with SFML's naming conventions.
http://sfemovie.yalir.org/
GNU Lesser General Public License v2.1
114 stars 37 forks source link

Released sfeMovie depends on debug version of SFML #85

Closed segalaj closed 9 years ago

segalaj commented 9 years ago

Problem Released sfeMovie depends on debug version of SFML, so it can not be embedded in a project with a released version of SFML.

How to reproduce On Linux, download released version Linux 64 bits / Free decoders, in /usr/local/lib/, print shared library dependencies:

> ldd libsfeMovie.so
...
libsfml-graphics-d.so.2 => not found
libsfml-window-d.so.2 => not found
libsfml-system-d.so.2 => not found
libsfml-audio-d.so.2 => not found
...
Ceylo commented 9 years ago

Oh crap! I check this now. By the way I didn't know about the ldd command, thanks :)

Ceylo commented 9 years ago

It is weird for the available binaries to have this issue. I have the exact opposite locally: both debug and release build depends on release binaries of SFML >.>

Ceylo commented 9 years ago

Ok it looks like FindSFML will always use the same binaries if it can't find ones for both debug and release, whatever the current build mode, and I only had debug version installed on the Linux builder… :D

Ceylo commented 9 years ago

Just rebuilt SFML from latest sources (will be needed for upcoming seeking support anyway) in both debug/release mode on the Linux slave and installed.

It's building there: https://yalir.org:8080/job/sfeMovieRelease/26/ so as soon as you see that the dots are all blue you can try to download again from the website. I'll check when I can but the build will be finished before I'm able to do so :)

segalaj commented 9 years ago

Seems to be fixed ! Thanks a lot. And I'll wait for seeking support !

Ceylo commented 9 years ago

Great! I also checked on Windows and there are both debug and release binaries so there should be no problem :)