Ubuntu 12.04 /usr/bin/ld: error: cannot find -lGL

2019-08-16 14:28发布

问题:

I istalled the fglrx ATI/AMD proprietary driver and now when i try to launch my OpenGL/SDL project i receive this message: /usr/bin/ld: error: cannot find -lGL

I run Ubuntu 12.04 desktop, 64-bit. HD6870 [ATI Radeon HD 6800 Series]

回答1:

Installing fglrx-glx should help you, those are libGL's for proprietary AMD/ATI drivers.