Compiling 2.58 r38011
on
Linux 2.6.26 SMP x86_64 GNU/Linux
Debian "lenny"
terminated with
[ 75%] Building CXX object intern/ghost/CMakeFiles/bf_intern_ghost.dir/intern/GHOST_SystemX11.cpp.o
/opt/blender-orig/intern/ghost/intern/GHOST_SystemX11.cpp: In member function ‘GHOST_TKey GHOST_SystemX11::convertXKey(KeySym)’:
/opt/blender-orig/intern/ghost/intern/GHOST_SystemX11.cpp:1178: 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
The problem is that there's no "XF86XK_AudioForward" define in /usr/include/X11/XF86keysym.h.
Thus, I propose changing intern/ghost/intern/GHOST_SystemX11.cpp line 1178
GXMAP(type,XF86XK_AudioForward, GHOST_kKeyMediaLast);
to
#ifdef XF86XK_AudioForward /* Debian lenny's XF86keysym.h has no XF86XK_AudioForward define */
GXMAP(type,XF86XK_AudioForward, GHOST_kKeyMediaLast);
#endif
#endif
Respective patch file is attached.
Regards,
D.
Description
Description