Score:1

I am getting error about X11 library

cn flag

when I run cmake build I get this error:

CMake Error at cmake/Macros.cmake:296 (message):
  Missing item in X11_X11_LIB;X11_Xrandr_LIB
Call Stack (most recent call first):
  src/SFML/Window/CMakeLists.txt:239 (sfml_find_package)

I have already installed x11 library and I have even added /usr/lib path to FindX11.cmake. Btw I am using Ubuntu 20.04, and this whole concept with cmake is still pretty new for me, so when possible give me as detailed instructions as possible.

Score:3
zw flag

You have to install related development packages by

sudo apt-get update
sudo apt-get install libx11-dev libxrandr-dev
N0rbert avatar
zw flag
Yes, right. Thanks.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.