Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linux Newbie ld: can´t find -lX11
#1
I have been searching for 20 minutes now, and I give up Big Grin

Where are libX11 and all the rest to be found in Ubuntu 4.10? And the Opengl? I'm yet to compile my first graphics demo in Linux....
:oops:
Antoni
Reply
#2
Most linux distros just install the enduser versions of many system libraries. To do serious development, you first need to download the development packages for those libs... Open the Synaptic packages manager and look for "X11 devel"; some packages should pop up. Download and install them and you'll be able to compile FB gfxlib apps.

About OpenGL, things are a bit harder, and depend on which gfx card you have. Personally I have a Radeon 9700, and I had to install the fglrx driver package (still from Synaptic). Then I had to manually tweak my Xorg.config file to omit the DGA extension on X startup, otherwise the Xrandr extension didn't work, and I was unable to switch resolution on the fly while in X.
ngelo Mottola - EC++
Reply
#3
Thanks, Angelo!
Antoni
Reply
#4
It worked! OpenGL too

Well, TC-Ray displays a nice black screen. in Linux...Was'nt FB code supposed to be compilable in both Win & Lin without a change?
Antoni
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)