#include <stdio.h>
#include <X11/extensions/Xrandr.h>
int main(){
printf("\n%ix%i\n", XRRScreenSize.width, XRRScreenSize.height);
}
bash-2.05b# g++ ./1.cpp
In file included from 1.cpp:2:
/usr/include/X11/extensions/Xrandr.h:49: error: 'Bool' is used as a type, but
is not defined as a type.
/usr/include/X11/extensions/Xrandr.h:50: error: syntax error before `*' token
/usr/include/X11/extensions/Xrandr.h:51: error: 'Window' is used as a type, but
...
/usr/include/X11/extensions/Xrandr.h:93: error: `Display' was not declared in
this scope
/usr/include/X11/extensions/Xrandr.h:93: error: `dpy' was not declared in this
scope
/usr/include/X11/extensions/Xrandr.h:94: error: parse error before `*' token
/usr/include/X11/extensions/Xrandr.h:104: error: parse error before `*' token
/usr/include/X11/extensions/Xrandr.h:115: error: `Display' was not declared in
this scope
/usr/include/X11/extensions/Xrandr.h:115: error: `dpy' was not declared in this
scope
/usr/include/X11/extensions/Xrandr.h:115: error: `Window' was not declared in
this scope
/usr/include/X11/extensions/Xrandr.h:115: error: parse error before `)' token
/usr/include/X11/extensions/Xrandr.h:126: error: `Display' was not declared in
this scope
/usr/include/X11/extensions/Xrandr.h:126: error: `dpy' was not declared in this
scope
/usr/include/X11/extensions/Xrandr.h:126: error: parse error before `)' token
/usr/include/X11/extensions/Xrandr.h:127: error: `Screen' was not declared in
this scope
/usr/include/X11/extensions/Xrandr.h:127: error: `screen' was not declared in
this scope
/usr/include/X11/extensions/Xrandr.h:128: error: `Display' was not declared in
this scope
/usr/include/X11/extensions/Xrandr.h:128: error: `dpy' was not declared in this
scope
/usr/include/X11/extensions/Xrandr.h:128: error: `Window' was not declared in
...
/usr/include/X11/extensions/Xrandr.h:147: error: `event' was not declared in
this scope
1.cpp: In function `int main()':
1.cpp:5: error: parse error before `.' token
bash-2.05b#
Ответ на:
комментарий
от ananas
Ответ на:
комментарий
от Ty3uK
Ответ на:
комментарий
от sdio
Ответ на:
комментарий
от Ty3uK
Ответ на:
комментарий
от Dead
Ответ на:
комментарий
от Ty3uK
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.
Похожие темы
- Форум Установка VirtualBox (2008)
- Форум ZoneMinder ошибка при компиляции в zm_ffmpeg_camera.cpp (2012)
- Форум wchar.h errors (2009)
- Форум SSL и QCA-2.0 (2007)
- Форум Не собирается программа (2007)
- Форум не удается скомпилировать файл (2011)
- Форум C++ шаблон булевой функции (2014)
- Форум Линковка библиотеки libjson (2014)
- Форум Ошибки компиляции (2005)
- Форум Чнго не хватает? (2004)