On Mon, Jan 7, 2013 at 9:14 AM, Arvind R <arvin...@gmail.com> wrote: > Hi all, > > After getting xine backend working in emotion, tried generic (vlc) > backend. Nope - doesn't work -:( > > Problem 1: Using the example source, now need to add: > emotion_object_module_option_set(em, "player", "vlc"); > > It does not fall-back to the default generic player. > > Problem 2: > em_player_vlc cannot be found, because generic_module_init() fails to > set the prefixes proper. > > So put printf() and recompiled. (Is there is a small howto on the eina > logging system?) Output: > > evas engine: <auto> > emotion backend: generic > vis: 0 > geometry: 0 0 960x540 > generic_module_init: initing libdir to /usr/lib/x86_64-linux-gnu >
this seems wrong already, is it PACKAGE_LIB_DIR? why does it contain x86_64-linux-gnu? in Makefile.am it's just $(libdir), did you specify something with --libdir? > generic_module_init: got libdir /usr/lib/lib > yet another very weird result. double "lib" in the path? Where are you installing these things? eina_prefix_new() will use the given symbol (emotion_object_add) and dladdr to know which file it came from. Should be the libemotion.so. Then it gets the directory where libemotion.so is contained, should be /usr/lib if it's /usr/lib/libemotion.so. Then it will remove the "lib" part to get the prefix, later adding this again (this is what it should do, did not test to see if it's correct). > ERR<3392>:emotion-generic emotion_generic.c:105 _get_player() Trying > generic player '/usr/lib/lib/emotion/utils/em_generic_vlc' > likely the double "lib" is the problem? Also, please see your eina/config.h if HAVE_DLADDR is defined, it will impact eina_prefix work. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -------------------------------------- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 _______________________________________________ enlightenment-users mailing list enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users