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

<GLFW>: CMake fails to find X11 required dependency #46

Open
BrandonPacewic opened this issue Jul 12, 2022 · 3 comments · May be fixed by #48
Open

<GLFW>: CMake fails to find X11 required dependency #46

BrandonPacewic opened this issue Jul 12, 2022 · 3 comments · May be fixed by #48
Assignees
Labels
bug Something isn't working confirmed Confirmed problem by a staff member difficult Hard issue, good luck!

Comments

@BrandonPacewic
Copy link
Member

BrandonPacewic commented Jul 12, 2022

On Unbuntu 20.0.1 glfw cmake errors.

[main] Building folder: Ionic 
[main] Configuring folder: Ionic 
[proc] Executing command: /usr/bin/cmake -DCMAKE_C_COMPILER=/usr/bin/gcc -DCMAKE_CXX_COMPILER=/usr/bin/gcc -S/home/brandon/documents/Ionic -B/home/brandon/documents/Ionic/build -G "Unix Makefiles"
[cmake] -- Including X11 support
[cmake] CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
[cmake]   Could NOT find X11 (missing: X11_X11_LIB)
[cmake] Call Stack (most recent call first):
[cmake]   /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
[cmake]   /usr/share/cmake-3.16/Modules/FindX11.cmake:366 (find_package_handle_standard_args)
[cmake]   glfw/src/CMakeLists.txt:187 (find_package)
[cmake] 
[cmake] 
[cmake] -- Configuring incomplete, errors occurred!
[cmake] See also "/home/brandon/documents/Ionic/build/CMakeFiles/CMakeOutput.log".

It is possible that this is os specific but all suggested solutions by #1957 so far have been unsuccessful. Please let me know if you have any ideas.

Problem code currently not on main branch see BrandonPacewic/Ionic/glfw-submodule.

@BrandonPacewic BrandonPacewic added bug Something isn't working confirmed Confirmed problem by a staff member difficult Hard issue, good luck! help wanted Extra attention is needed labels Jul 12, 2022
@BrandonPacewic BrandonPacewic self-assigned this Jul 12, 2022
@BrandonPacewic
Copy link
Member Author

BrandonPacewic commented Jul 12, 2022

At first I thought this might be related to what version of CMake we where running but that seems to have no effect on the problem.

Same result with 3.21.6

@BrandonPacewic BrandonPacewic pinned this issue Jul 17, 2022
@BrandonPacewic
Copy link
Member Author

Only going to use the binary instead of worrying about the library.

@BrandonPacewic BrandonPacewic linked a pull request Jul 27, 2022 that will close this issue
@BrandonPacewic
Copy link
Member Author

Major workaround by #48. Only using the binary instead of the github project.

@BrandonPacewic BrandonPacewic removed the help wanted Extra attention is needed label Jul 29, 2022
@BrandonPacewic BrandonPacewic unpinned this issue Nov 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working confirmed Confirmed problem by a staff member difficult Hard issue, good luck!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants