I do not want to start installing xorg header devel pac until I get a hit so,
Code:
main.cpp:(.text+0x25): undefined reference to `XOpenDisplay'
main.cpp:(.text+0x35b): undefined reference to `XCloseDisplay'
collect2: error: ld returned 1 exit status
I am running Linux MINT, I've already installed, libx11-dev and xorg-dev, and that didn't work.