OpenSubdiv
OpenSubdiv copied to clipboard
AlmaLinux: CMake can't find X11
Hi there, I'm trying to build/install OpenSubdiv (eventually USD) on an AlmaLinux machine and it looks like CMake can't fine X11:
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find X11 (missing: X11_X11_INCLUDE_PATH X11_X11_LIB)
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake/Modules/FindX11.cmake:481 (find_package_handle_standard_args)
cmake/FindGLFW.cmake:155 (find_package)
CMakeLists.txt:376 (find_package)
I'm following the directions on the home page and the failure happens at this build step. I've tried various yum incantations to install X11 but no luck. What am I missing?
Edit: This is my build invocation
cmake -D NO_PTEX=1 -D NO_DOC=1 -D NO_OMP=1 -D NO_TBB=1 -D NO_CUDA=1 -D NO_OPENCL=1 -D NO_CLEW=1 -D GLFW_LOCATION="/usr/lib64"