Записи с меткой «scope»

PostHeaderIcon x11keyfaker.cpp error

Возникновение такой ошибки
[cc lang=»bash»]
x11keyfaker.cpp:48:34: error: X11/extensions/XTest.h: No such file or directory
x11keyfaker.cpp: In member function ‘void X11KeyFaker::sendKeyEvent(int, bool)’:
x11keyfaker.cpp:449: error: ‘XTestFakeKeyEvent’ was not declared in this scope
x11keyfaker.cpp:452: error: ‘XTestFakeKeyEvent’ was not declared in this scope
x11keyfaker.cpp:456: error: ‘XTestFakeKeyEvent’ was not declared in this scope
x11keyfaker.cpp:459: error: ‘XTestFakeKeyEvent’ was not declared in this scope
x11keyfaker.cpp:464: error: ‘XTestFakeKeyEvent’ was not declared in this scope
x11keyfaker.cpp: In member function ‘void X11KeyFaker::connect()’:
x11keyfaker.cpp:550: error: ‘XTestQueryExtension’ was not declared in this scope
make: *** [.obj/release-shared/x11keyfaker.o] Ошибка 1[/cc]
при сборке qt4 говорит нам о том, что не установлена библиотека x11/libXtst.
Ну и устраняется ошибка, конечно же, простыми действиями
[cc lang=»bash»]cd /usr/ports/x11/libXtst && make install clean[/cc]

PR-CY.ru