Compiling ParaView v4.1.0 Error: undefined reference to `_XGetRequest’


While compiling ParaView from the source files, I ran into the following error while running the ‘make’ command.

… undefined reference to `_XGetRequest'
make[2]: *** [bin/icetTests_mpi] Error 1
icetTests_mpi.dir/all] Error2


In my case, the X11 libraries were installed separately and were located in custom directory locations that differed from the default. I fixed this error by checking and correcting the paths for my X11 libraries and include directories within the ccmake configuration menu. The error was then fixed during the next ‘make.’