Subsystem OPENGL gives linker error

Linux specific forum
walker
Enthusiast
Enthusiast
Posts: 634
Joined: Wed May 05, 2004 4:04 pm
Location: Germany

Subsystem OPENGL gives linker error

Post 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 ...
Last edited by walker on Fri Apr 06, 2007 6:56 pm, edited 2 times in total.
walker
Enthusiast
Enthusiast
Posts: 634
Joined: Wed May 05, 2004 4:04 pm
Location: Germany

Post 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...
dell_jockey
Enthusiast
Enthusiast
Posts: 767
Joined: Sat Jan 24, 2004 6:56 pm

Post 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!
cheers,
dell_jockey
________
http://blog.forex-trading-ideas.com
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

install libxxf86vm-dev:

Code: Select all

sudo apt-get install libxxf86vm-dev
dell_jockey
Enthusiast
Enthusiast
Posts: 767
Joined: Sat Jan 24, 2004 6:56 pm

Post 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!
cheers,
dell_jockey
________
http://blog.forex-trading-ideas.com
Post Reply