You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
evanm@evan-ubuntu:~/repos/minecraft-weekend$ make libs
cd lib/cglm && cmake . -DCGLM_STATIC=ON && make
-- Configuring done
-- Generating done
-- Build files have been written to: /home/evanm/repos/minecraft-weekend/lib/cglm
make[1]: Entering directory '/home/evanm/repos/minecraft-weekend/lib/cglm'
make[2]: Entering directory '/home/evanm/repos/minecraft-weekend/lib/cglm'
make[3]: Entering directory '/home/evanm/repos/minecraft-weekend/lib/cglm'
make[3]: Leaving directory '/home/evanm/repos/minecraft-weekend/lib/cglm'
[100%] Built target cglm
make[2]: Leaving directory '/home/evanm/repos/minecraft-weekend/lib/cglm'
make[1]: Leaving directory '/home/evanm/repos/minecraft-weekend/lib/cglm'
cd lib/glad && clang -o src/glad.o -Iinclude -c src/glad.c
cd lib/glfw && cmake . && make
-- The C compiler identification is GNU 10.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Using X11 for window creation
CMake Error at /usr/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:165 (message):
Could NOT find X11 (missing: X11_X11_INCLUDE_PATH X11_X11_LIB)
Call Stack (most recent call first):
/usr/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:458 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.18/Modules/FindX11.cmake:414 (find_package_handle_standard_args)
CMakeLists.txt:154 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/evanm/repos/minecraft-weekend/lib/glfw/CMakeFiles/CMakeOutput.log".
See also "/home/evanm/repos/minecraft-weekend/lib/glfw/CMakeFiles/CMakeError.log".
make: *** [Makefile:30: libs] Error 1
Edit: Solution was to install libx11-dev, libxi-dev, libxcursor-dev, libxinerama-dev, libxrandr-dev, doxygen
The text was updated successfully, but these errors were encountered:
thatLeaflet
changed the title
Linux/Ubuntu 21.04: Build failure
Linux/Ubuntu 21.04: Build failure during 'make libs'
Jun 24, 2021
This is an error on your part, please don't create issues for this sort of thing and read the build output - you need to install some X11 libs (look for those that glfw requires), as the log says.
Log Files
CMakeError.log
CMakeOutput.log
Terminal Output
Edit: Solution was to install libx11-dev, libxi-dev, libxcursor-dev, libxinerama-dev, libxrandr-dev, doxygen
The text was updated successfully, but these errors were encountered: