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
原文地址:https://www.cnblogs.com/never--more/p/7266978.html