Previous Thread  Next Thread

chat icon blender build error:XF86XK_AudioForward was not declared

darkvc9

Posted: Sat Apr 16, 2011 1:37 am
Joined: 16 Apr 2011
Posts: 1
I'm trying to build blender-2.57 on debian lenny and built and installed my own python-3.2. But I'm getting the following error.



    [ 77%] Built target bf_intern_audaspace
    [ 77%] Built target bf_intern_string
    [ 77%] Building CXX object intern/ghost/CMakeFiles/bf_intern_ghost.dir/intern/GHOST_SystemX11.cpp.o
    /home/ad/dloads/blender/blender-svn/blender/intern/ghost/intern/GHOST_SystemX11.cpp: In member function ‘GHOST_TKey GHOST_SystemX11::convertXKey(KeySym)’:
    /home/ad/dloads/blender/blender-svn/blender/intern/ghost/intern/GHOST_SystemX11.cpp:1172: error: ‘XF86XK_AudioForward’ was not declared in this scope
    make[2]: *** [intern/ghost/CMakeFiles/bf_intern_ghost.dir/intern/GHOST_SystemX11.cpp.o] Error 1
    make[1]: *** [intern/ghost/CMakeFiles/bf_intern_ghost.dir/all] Error 2
    make: *** [all] Error 2


Is it possible to disable this option or something? How can I stop this error message from coming back?]
Reply with quote


stiv

Posted: Sat Apr 16, 2011 4:32 am
Joined: 05 Aug 2003
Posts: 3489
The symbol XF86XK_AudioForward seems to come from
here:
#ifdef WITH_XF86KEYSYM
#include <X11/XF86keysym.h>
#endif

Does XF86kysym.h not have it on Debian Lenny?
Reply with quote


ventura57

Posted: Mon May 30, 2011 2:59 am
Joined: 30 May 2011
Posts: 1
Did you solve this problem ???
Reply with quote


gmagneville

Posted: Tue Jun 07, 2011 11:42 am
Joined: 07 Jun 2011
Posts: 1
Same problem on a CentOS 5.6.
I commented the lines :

/*
#ifdef WITH_XF86KEYSYM
GXMAP(type,XF86XK_AudioPlay, GHOST_kKeyMediaPlay);
GXMAP(type,XF86XK_AudioStop, GHOST_kKeyMediaStop);
GXMAP(type,XF86XK_AudioPrev, GHOST_kKeyMediaFirst);
GXMAP(type,XF86XK_AudioRewind, GHOST_kKeyMediaFirst);
GXMAP(type,XF86XK_AudioNext, GHOST_kKeyMediaLast);
GXMAP(type,XF86XK_AudioForward, GHOST_kKeyMediaLast);
#end
*/

I think (my own opinion only) that this is used only to be able to use keyboard sound keys and I really don't need it.
That's the only solution I found.
Reply with quote


 
Jump to:  
Powered by phpBB © 2001, 2005 phpBB Group