Jump to content
  • Advertisement
Sign in to follow this  
knobby67

upgrade to xorg stops code working

This topic is 4354 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello. i've upgraded to etch which uses xorg rather than xfree86 (debian sarge to etch). I've finally got it work. However I've written some code on sarge, which I've ported across, based on the nehe glx examples. However when I've went to compile I get on error on #include "X11/extentions/xf86vmode.h" on exploration the file doesn't exist, presumable change to the xorg version. Can anyone advise what header this needs to be replaced by? thanks

Share this post


Link to post
Share on other sites
Advertisement
I'm using Xorg 7.0, and these things are working fine for me. Here is the top of my code:
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/extensions/xf86vmode.h>
Maybe you need some extra development package?

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
thanks yes someone has told me you need "apt-get install libxxf86vm-dev" with etch, this gets things working

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!