Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AlmaLinux: CMake can't find X11 #1340

Open
enrac5 opened this issue Sep 3, 2024 · 0 comments
Open

AlmaLinux: CMake can't find X11 #1340

enrac5 opened this issue Sep 3, 2024 · 0 comments

Comments

@enrac5
Copy link

enrac5 commented Sep 3, 2024

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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant