# upgrade to xorg stops code working

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

## 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 on other sites
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 on other sites
thanks yes someone has told me you need "apt-get install libxxf86vm-dev" with etch, this gets things working