blender build error:XF86XK_AudioForward was not declared

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

Moderators: jesterKing, stiv

darkvc9
Posts: 1
Joined: Sat Apr 16, 2011 2:32 am
Location: Canada

blender build error:XF86XK_AudioForward was not declared

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

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

Postby stiv » Sat Apr 16, 2011 5:32 am

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?

ventura57
Posts: 1
Joined: Mon May 30, 2011 3:56 am

Postby ventura57 » Mon May 30, 2011 3:59 am

Did you solve this problem ???

gmagneville
Posts: 1
Joined: Tue Jun 07, 2011 12:22 pm

Postby gmagneville » Tue Jun 07, 2011 12:42 pm

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.


Return to “Testing Builds”

Who is online

Users browsing this forum: No registered users and 0 guests