ubuntu16.04 +codeblocks+opengl+glfw 环境配置

linkoption选项中的otherlinkoption 加上 -ldl -lGLEW -lglfw3 -lGL -lX11 -lXi -lXrandr -lXxf86vm -lXinerama -lXcursor -lrt -lm -pthread

search directory中加上第三方库的include和lib路径就ok了

附上链接

https://askubuntu.com/questions/334884/while-compiling-truecrypt-i-get-undefined-reference-to-symbol-dlcloseglibc

http://www.developerq.com/article/1505241501
posted @ 2017-08-01 10:03  NeverMore!  阅读(1375)  评论(0编辑  收藏  举报