blender build error:XF86XK_AudioForward was not declared

User-contributed CVS development builds. Please test and give feedback!

Moderators: jesterKing, stiv

Post Reply
Posts: 0
Joined: Sat Apr 16, 2011 2:32 am
Location: Canada

blender build error:XF86XK_AudioForward was not declared

Post by darkvc9 » Sat Apr 16, 2011 2:37 am

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?]

Posts: 0
Joined: Tue Aug 05, 2003 7:58 am
Location: 45N 86W

Post by stiv » Sat Apr 16, 2011 5:32 am

The symbol XF86XK_AudioForward seems to come from
#include <X11/XF86keysym.h>

Does XF86kysym.h not have it on Debian Lenny?

Posts: 0
Joined: Mon May 30, 2011 3:56 am

Post by ventura57 » Mon May 30, 2011 3:59 am

Did you solve this problem ???

Posts: 0
Joined: Tue Jun 07, 2011 12:22 pm

Post by gmagneville » Tue Jun 07, 2011 12:42 pm

Same problem on a CentOS 5.6.
I commented the lines :

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);

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.

Post Reply