ls -l /usr/share/texmf-dist/fonts/truetype/public/dejavu/
-rw-r--r-- 1 root root 632168 Apr 17 2022 DejaVuSans-BoldOblique.ttf
-rw-r--r-- 1 root root 693876 Apr 17 2022 DejaVuSans-Bold.ttf
-rw-r--r-- 1 root root 600936 Apr 17 2022 DejaVuSansCondensed-BoldOblique.ttf
-rw-r--r-- 1 root root 653336 Apr 17 2022 DejaVuSansCondensed-Bold.ttf
-rw-r--r-- 1 root root 596596 Apr 17 2022 DejaVuSansCondensed-Oblique.ttf
-rw-r--r-- 1 root root 664972 Apr 17 2022 DejaVuSansCondensed.ttf
-rw-r--r-- 1 root root 352492 Apr 17 2022 DejaVuSans-ExtraLight.ttf
-rw-r--r-- 1 root root 239876 Apr 17 2022 DejaVuSansMono-BoldOblique.ttf
-rw-r--r-- 1 root root 318392 Apr 17 2022 DejaVuSansMono-Bold.ttf
-rw-r--r-- 1 root root 245948 Apr 17 2022 DejaVuSansMono-Oblique.ttf
-rw-r--r-- 1 root root 335068 Apr 17 2022 DejaVuSansMono.ttf
-rw-r--r-- 1 root root 632416 Apr 17 2022 DejaVuSans-Oblique.ttf
-rw-r--r-- 1 root root 741536 Apr 17 2022 DejaVuSans.ttf
-rw-r--r-- 1 root root 336884 Apr 17 2022 DejaVuSerif-BoldItalic.ttf
-rw-r--r-- 1 root root 345364 Apr 17 2022 DejaVuSerif-Bold.ttf
-rw-r--r-- 1 root root 335940 Apr 17 2022 DejaVuSerifCondensed-BoldItalic.ttf
-rw-r--r-- 1 root root 320720 Apr 17 2022 DejaVuSerifCondensed-Bold.ttf
-rw-r--r-- 1 root root 342736 Apr 17 2022 DejaVuSerifCondensed-Italic.ttf
-rw-r--r-- 1 root root 334040 Apr 17 2022 DejaVuSerifCondensed.ttf
-rw-r--r-- 1 root root 343388 Apr 17 2022 DejaVuSerif-Italic.ttf
-rw-r--r-- 1 root root 367260 Apr 17 2022 DejaVuSerif.ttf
16:13:19: Выполняются этапы для проекта testing...
16:13:19: Запускается: «/usr/bin/cmake» --build /home/thesr/QtProjects/build-testing-Desktop-Debug --target all
Consolidate compiler generated dependencies of target test
[ 50%] Linking CXX executable test
/usr/bin/ld: CMakeFiles/test.dir/main.cpp.o: warning: relocation against `glad_glViewport' in read-only section `.text'
/usr/bin/ld: CMakeFiles/test.dir/main.cpp.o: in function `main':
/home/thesr/QtProjects/testing/main.cpp:23: undefined reference to `gladLoadGLLoader'
/usr/bin/ld: /home/thesr/QtProjects/testing/main.cpp:30: undefined reference to `glad_glViewport'
/usr/bin/ld: warning: creating DT_TEXTREL in a PIE
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/test.dir/build.make:99: test] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/test.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
16:13:19: Процесс «/usr/bin/cmake» завершился с кодом 2.
Ошибка при сборке/развёртывании проекта testing (комплект: Desktop)
Во время выполнения этапа «Сборка»
16:13:19: Прошло времени: 00:00.
cmake_minimum_required(VERSION 3.21)
project(testing LANGUAGES CXX)
add_executable(test main.cpp glad.c)
find_package(glfw3 3.3 REQUIRED)
find_package(OpenGL REQUIRED)
target_include_directories(test PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/include>
$<INSTALL_INTERFACE:include>)
target_link_libraries(test PUBLIC glfw OpenGL::GL ${CMAKE_DL_LIBS})
CMakeFiles/test.dir/main.cpp.o: warning: relocation against `glad_glViewport' in read-only section `.text'
CMakeFiles/test.dir/main.cpp.o: in function `main':
/home/thesr/QtProjects/testing/main.cpp:21: ошибка: undefined reference to `gladLoadGLLoader'
/home/thesr/QtProjects/testing/main.cpp:28: undefined reference to `glad_glViewport'
find_package(PkgConfig REQUIRED)
pkg_check_modules(GLFW REQUIRED glfw3)
target_link_libraries(testing ${GLFW_LIBRARIES})
target_include_directories(testing PUBLIC ${GLFW_INCLUDE_DIRS})
target_compile_options(testing PUBLIC ${GLFW_CFLAGS_OTHER})
Тогда, видимо, нет. lsmod | grep virtio ничего не выводит.
А вы сталкивались с такой проблемой? Подключение virtio помогло?