Qbasicnews.com

Full Version: Linux Newbie ld: can´t find -lX11
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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:
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.
Thanks, Angelo!
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?