遇到的编译报错提示

编译报错

Could NOT find PythonMako

pip3 install mako

wayland-client

sudo apt install libwayland-dev

wayland-protocols >= 1.24

下载DEB包直接安装

glslangValidator required by vulkan tests not found

sudo apt install glslang-tools

Ninja

首先安装:sudo apt install ninja-build

cmake . -G Ninja

cmake --build .

Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)

sudo apt install -y pkg-config

No package 'wayland-client' found

sudo apt install qtbase5-private-dev qtwayland5-provate-dev

glfw3

sudo apt install libglfw3-dev

找不到:lglut

sudo apt install freeglut3 freeglut3-dev

openssl/ssl.h

sudo apt install libssl-dev

找不到:lXext

sudo apt install libxext-dev

X11

sudo apt install libx11-dev

libavformat/avformat.h

sudo apt install libavformat-dev

EGL/egl.h

sudo apt-get install libegl1-mesa-dev

GLES2/gl2.h

sudo apt-get install libgles2-mesa-dev

xcb-dri2

sudo apt install libxcb-dri2-0-dev

"OpenCL_INCLUDE_DIR-NOTFOUND"

sudo apt install ocl-icd-opencl-dev

posted @ 2024-06-24 12:26  Tarzen  阅读(35)  评论(0编辑  收藏  举报