linux 下安装opengl相关库

来源:互联网 发布:ctr数据特点 编辑:程序博客网 时间:2024/05/21 14:05
yum install mesa-libGL-devel.x86_64yum install  mesa-libGLU-devel.x86_64

error: X11/extensions/Xrandr.h: No such file or directory

yum install libXrandr-devel.x86_64yum install libXinerama-devel.x86_64yum install libXcursor-devel.x86_64

解决/usr/bin/ld: cannot find -lXi

ln -s /usr/lib64/libXi.so.6 /usr/lib64/libXi.so

pkg-config –cflags portaudio-2.0
Package portaudio-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `portaudio-2.0.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘portaudio-2.0’ found
pkg-config: exit status 1

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/
0 0