When I try to compile the first example on this page using:
cc -o abgr abgr.c -lglut -lGLU -lGL -lXmu -lXext -lX11 -lm
I get an error message saying:
/usr/bin/ld: cannot find -lXmu
collect2: ld returned 1 exit status
What is "lXmu
"? How do I get this to compile?
So to install this library, perform the following steps: Head on to the GLAD web service. Set the language to C++ and choose the specification as OpenGL. In the API section, select gl version of at least 3.3, make sure the profile is set to Core, and that the Generate a loader option is ticked.
Try installing libxmu-dev.
sudo apt-get install libxmu-dev
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With