Linker problem


#1

i’ve compiled juce correctly, but if i try to compile and link the demo application i get this linker error:

Linking JuceDemo /usr/bin/ld: cannot find -lGL collect2: ld returned 1 exit status make[1]: *** [build/jucedemo] Error 1 make: *** [JuceDemo] Error 2

what is that GL supposed to be ? X11 libs ? mmmh i’ve apt-getted the x11 devel libs so those should be there…
anyway i’m on Ubuntu.


#2

I can’t remember the exact package you need, but it’s probably mesa or libmesa or mesagl or something like that.

Or if you’re not actually using openGL, just get rid of the library from the juce_premake.lua file.


#3

yay! finally the demo runs again on tux !
thanx :wink:


#4