Page 1 of 1

Subsystem OPENGL gives linker error

Posted: Thu Apr 05, 2007 3:37 pm
by walker
calling OpenWindowedSreen on OpenScreen crashes the X-server... (no subsystem used i.e opengl)

Try terrain.pb or camera.pb

If trying with Subsytem opengl I get a linker error: cannot find -lXxf86vm ...

Posted: Fri Apr 06, 2007 6:55 pm
by walker
found the reason... it was the x installation itself... did a fresh install and no crash anymore... (weired..... ) BUT... the subsystem opengl still did not work...

Posted: Tue Jun 12, 2007 9:48 am
by dell_jockey
Running Ubuntu 7.04 on VMWare and using PureBasic 4.01, I get the exact same error message with the 'opengl' subsystem activated.

The sprite.pb demo file compiles & runs ok.
My code uses Sprite3D as well and produces the linker error message.

How does one reinstall X on Ubuntu? Is this possible with Synaptic or should I use apt-get?

Thanks!

Posted: Tue Jun 12, 2007 10:29 am
by Trond
install libxxf86vm-dev:

Code: Select all

sudo apt-get install libxxf86vm-dev

Posted: Thu Jun 14, 2007 10:04 am
by dell_jockey
Trond wrote:install libxxf86vm-dev:

Code: Select all

sudo apt-get install libxxf86vm-dev
Thanks Trond, installing this package indeed resolves the linking problem. I've got other problems now, but I have to delve into these before asking new questions here....

Thanks again!