Hi Matthew
I think the XP build will be the same as the Vista I will remove the reference to select.h like you and see what happens. The select.h file is present OK but not in the path that was called so as an expedient I just moved it to the path that was called so I don't know if it was really needed.
The other troubles I had building 4685 were caused by the build of the modules and I think something to do with the memory locations. I re-compiled all the modules (even though there were no updates) and it fixed the problem except for Tim's ocular module. it comes up with this error.

Cannot load library J:/msys/home/Barry/Stellarium/modules/Oculars/libOculars.dll: Invalid access to memory location."
Plugin "Oculars" will not be loaded.
Further to above XP/Vista build I just recompiled Stellarium on the laptop with the reference to select.h deleted and the file removed and it compiled without bother in XP. I will try the same in Vista and see what happens. If it doesn't work I will tell you otherwise catch you later.
Barry Gerdes
Beaumont Hills Observatory
S 33' 41' 44"    E 150' 56' 32"
12" F10 GPS Polar mounted
Home Page  http://www.geocities.com/barrykgerdes

> Date: Tue, 26 May 2009 23:45:10 +0100
> From: matthewg42@gmail.com
> To: stellarium-pubdevel@lists.sourceforge.net
> Subject: Re: [Stellarium-pubdevel] windows build
> OK, the error is introduced in r4644, when there is an
> #include <sys/select.h>
> introduced in Telescope.hpp. It seems this header is not needed for
> the Vista build environment (I assume it was added for OSX). When I
> remove this line, the build works OK.
> Barry, do you have a win32 build environment on a different windows
> version? If so, can you check is this solution works OK? If so, I'll
> make this include conditional on the platform not being a win32 one.
> Cheers
> Matthew
> 2009/5/26 Matthew Gates <matthewg42@gmail.com>:
> > The revision I found is not the culptit, it turns out - it's possible
> > to build later revisions (fabien comitted a fix for that specific
> > revision in 4633).
> >
> > I'm still trying to find out where the problem starts.
> >
> > With the latest build, I fixed the missing header problem by adding
> > src/externals/kdewin32 to the include directory list in the
> > src/CMakeLists.txt file, but then there is a different problem in the
> > header which was previously missing, and I can't work out what it
> > means.
> >
> > I'm working towards finding the first revision which exhibits the
> > problem so I can see what changes to the code there were which might
> > help me to understand the problem.  It's slow going - I'm battling
> > vista every step of the way.  It really is as awful as people say!
> >
> > Matthew
> >
> >
> > 2009/5/26 Barry Gerdes <barrygastro@hotmail.com>:
> >> hi Matthew
> >> I am having no trouble with the windows build (until ten minutes ago.
> >> rebuilding again now). There was a problem with a couple of headers not
> >> being found in a clean build.
> >>
> >
> ------------------------------------------------------------------------------
> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
> is a gathering of tech-side developers & brand creativity professionals. Meet
> the minds behind Google Creative Lab, Visual Complexity, Processing, &
> iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
> Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
> _______________________________________________
> Stellarium-pubdevel mailing list
> Stellarium-pubdevel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel

Let ninemsn property help Looking to move somewhere new this winter?