Content-Type: multipart/alternative; boundary="_cd78ce5b-5ffe-4c6a-a8d2-5f597b9edf61_" --_cd78ce5b-5ffe-4c6a-a8d2-5f597b9edf61_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Building in Windows (XP and Vista) what a pain! I have at last sorted it ou= t after testing all day. 1. Update from svn (4685). Build Stellarium in Windows with all the static = modules inhibited=20 (bool =3D 0). When this works go to next stage. 2. Update all plugin modules from svn. Build each module to produce the xxx= .dll and xxx-static.a. They will be found in the builds\msys\src folder=20 In the builds\msys\src Rename the xxx-static.a file to xxx.a. This is e= asier than editing the Cmakecahe.txt. 3. If you only want to use the dynamic modules copy the xxx.dll=2C button i= cons and module.ini=20 into the respective module in the stellarium\modules folder. Create this= folder and the module sub folders if necessary=2C it is the best place for it.=20 4. If you want the static modules=2C re-compile Stellarium setting the stat= ic module generation to bool =3D1. You can then remove the xxx.dll's from the stellarium\module= s sub folders. =20 Note: 1. At present the ocular module only works as a static module. The dy= namic module=20 dll has a problem with memory. 2. The cmakelists in the Textuserinterface\src needs to be edited = to change the=20 windows section from VirGO to TextUserInterface. 3. The call for select.h in the telescope.hpp file is not necessar= y. and can be=20 commented out or the sys\select.h can be added to stellarium\s= rc\modules folder=20 instead of the .src\external\kdewin32 folder.=20 4. If libintl.h is not present add it to .src\external. I used the= one in Dev-Cpp\include. Easier than adding to the path. =20 I will attach two zip files 4685-exec.zip wihich contains the (static-modul= e compiled) execs to upgrade your 0.10.2 download and modules.zip which con= tains the modules folder to be placed in the stellarium folder. Add these t= o 0.10.2 and you can have a preview of build 4685 Read the readme.txt in each sub folder of the modules folder. =20 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 =20 =20 From: barrygastro@hotmail.com To: stellarium-pubdevel@lists.sourceforge.net Date: Wed=2C 27 May 2009 11:38:20 +1000 Subject: Re: [Stellarium-pubdevel] windows build Hi Matthew =20 I think the XP build will be the same as the Vista I will remove the refere= nce 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. =20 The other troubles I had building 4685 were caused by the build of the modu= les and I think something to do with the memory locations. I re-compiled al= l 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/libOcular= s.dll: Invalid access to memory location."=20 Plugin "Oculars" will not be loaded.=20 =20 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. I= f it doesn't work I will tell you otherwise catch you later. =20 =20 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 =20 =20 > Date: Tue=2C 26 May 2009 23:45:10 +0100 > From: matthewg42@gmail.com > To: stellarium-pubdevel@lists.sourceforge.net > Subject: Re: [Stellarium-pubdevel] windows build >=20 > OK=2C the error is introduced in r4644=2C when there is an >=20 > #include >=20 > 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=2C the build works OK. >=20 > Barry=2C do you have a win32 build environment on a different windows > version? If so=2C can you check is this solution works OK? If so=2C I'll > make this include conditional on the platform not being a win32 one. >=20 >=20 > Cheers > Matthew >=20 >=20 >=20 > 2009/5/26 Matthew Gates : > > The revision I found is not the culptit=2C 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=2C I fixed the missing header problem by adding > > src/externals/kdewin32 to the include directory list in the > > src/CMakeLists.txt file=2C but then there is a different problem in the > > header which was previously missing=2C 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 : > >> 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 no= t > >> being found in a clean build. > >> > > >=20 > -------------------------------------------------------------------------= ----- > Register Now for Creativity and Technology (CaT)=2C June 3rd=2C NYC. CaT= =20 > is a gathering of tech-side developers & brand creativity professionals. = Meet > the minds behind Google Creative Lab=2C Visual Complexity=2C Processing= =2C &=20 > iPhoneDevCamp as they present alongside digital heavyweights like Barbari= an=20 > Group=2C R/GA=2C & Big Spaceship. http://p.sf.net/sfu/creativitycat-com=20 > _______________________________________________ > 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? _________________________________________________________________ Looking for a fresh way to share your photos? Check out the new Windows Liv= e Messenger http://windowslive.ninemsn.com.au/article.aspx?id=3D792335= --_cd78ce5b-5ffe-4c6a-a8d2-5f597b9edf61_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi
Building in Windows (XP and Vista) what a pain! I have at last sorted it ou= t after testing all day.
1. Update from svn (4685). Build Stellarium in Windows with all the static = modules inhibited
 =3B =3B (bool =3D 0). =3B When this works go to next stage. 2. Update all plugin modules from svn. Build each module to produce the xxx= .dll and xxx-static.a.
 =3B =3B They will be found in the builds\msys\src folder =3B  =3B =3B =3B In the builds\msys\src Rename the xxx-static.a fil= e to xxx.a. This is easier than editing =3Bthe
 =3B =3B =3B Cmakecahe.txt.
3. If you only want to use the dynamic modules copy the xxx.dll=2C button i= cons and module.ini
 =3B =3B into the respective module in the stellarium\modules folde= r. Create this folder and the module
 =3B  =3Bsub folders if necessary=2C it is the best place for it.&n= bsp=3B
4. If you want the static modules=2C re-compile Stellarium setting the stat= ic module generation to
 =3B =3B  =3Bbool =3D1. You can then remove the =3Bxxx.dll'= s from the =3Bstellarium\modules sub folders.
 =3B
Note: 1. At present the ocular module only works as a static module. The dy= namic module
 =3B =3B =3B =3B =3B =3B =3B =3B =3B&nb= sp=3B =3B dll has a problem with memory.
 =3B =3B =3B =3B =3B =3B =3B =3B 2. The cma= kelists in the Textuserinterface\src needs to be edited to change the
 =3B =3B =3B =3B =3B =3B =3B =3B =3B&nb= sp=3B =3B =3B windows section from VirGO to TextUserInterface.
 =3B =3B =3B =3B =3B =3B =3B =3B 3. The cal= l for select.h in the telescope.hpp file is not necessary. and can be
 =3B =3B =3B =3B =3B =3B =3B =3B =3B&nb= sp=3B =3B =3B commented out or the sys\select.h can be added to ste= llarium\src\modules folder
 =3B =3B =3B =3B =3B =3B =3B =3B =3B&nb= sp=3B =3B =3B instead of the .src\external\kdewin32 folder.
 =3B =3B =3B =3B =3B =3B =3B =3B 4. If libi= ntl.h is not present add it to .src\external. I used the one in Dev-Cpp\inc= lude.
 =3B =3B =3B =3B =3B =3B =3B =3B =3B&nb= sp=3B =3B =3B Easier than adding to the path.
 =3B
I will attach two zip files 4685-exec.zip wihich contains the (static-modul= e compiled) execs to upgrade your 0.10.2 download and modules.zip which con= tains the modules folder to be placed in the stellarium folder. =3BAdd = these to 0.10.2 and you can have a preview of build 4685
Read the readme.txt in each sub folder of the modules =3Bfolder.
&nb= sp=3B
Barry Gerdes
Beaumont Hills Observatory
S 33' 41' 44" =3B =3B =3B E 150' 56' 32"
12" F10 GPS Polar mounted
 =3B



 =3B

From: barrygastro@hotmail.com
To: stellarium-pubdevel@lists.sourceforge.= net
Date: Wed=2C 27 May 2009 11:38:20 +1000
Subject: Re: [Stellarium-= pubdevel] windows build

Hi Matthew
 =3B
I think the XP build will be the same as the Vist= a I will remove the reference to select.h like you and see what happens. Th= e 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.
 =3B
The other troubles I had building 4685 w= ere 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/hom= e/Barry/Stellarium/modules/Oculars/libOculars.dll: Invalid access to memory= location."
Plugin "Oculars" will not be loaded.
 =3B
Furthe= r to above XP/Vista build I just recompiled Stellarium on the laptop with t= he reference to select.h deleted and the file removed and it compiled witho= ut bother in XP. I will try the same in Vista and see what happens. If it d= oesn't work I will tell you otherwise catch you later.
 =3B
 = =3B
Barry Gerdes
Beaumont Hills Observatory
S 33' 41' 44" =3B =3B =3B E 150' 56' 32"
12" F10 GPS Polar mounted
 =3B



 =3B
&g= t=3B Date: Tue=2C 26 May 2009 23:45:10 +0100
>=3B From: matthewg42@gma= il.com
>=3B To: stellarium-pubdevel@lists.sourceforge.net
>=3B Su= bject: Re: [Stellarium-pubdevel] windows build
>=3B
>=3B OK=2C t= he error is introduced in r4644=2C when there is an
>=3B
>=3B #i= nclude <=3Bsys/select.h>=3B
>=3B
>=3B introduced in Telescop= e.hpp. It seems this header is not needed for
>=3B the Vista build env= ironment (I assume it was added for OSX). When I
>=3B remove this line= =2C the build works OK.
>=3B
>=3B Barry=2C do you have a win32 b= uild environment on a different windows
>=3B version? If so=2C can you= check is this solution works OK? If so=2C I'll
>=3B make this include= conditional on the platform not being a win32 one.
>=3B
>=3B >=3B Cheers
>=3B Matthew
>=3B
>=3B
>=3B
>= =3B 2009/5/26 Matthew Gates <=3Bmatthewg42@gmail.com>=3B:
>=3B >= =3B The revision I found is not the culptit=2C it turns out - it's possible=
>=3B >=3B to build later revisions (fabien comitted a fix for that = specific
>=3B >=3B revision in 4633).
>=3B >=3B
>=3B >= =3B I'm still trying to find out where the problem starts.
>=3B >=3B=
>=3B >=3B With the latest build=2C I fixed the missing header probl= em by adding
>=3B >=3B src/externals/kdewin32 to the include directo= ry list in the
>=3B >=3B src/CMakeLists.txt file=2C but then there i= s a different problem in the
>=3B >=3B header which was previously m= issing=2C and I can't work out what it
>=3B >=3B means.
>=3B &g= t=3B
>=3B >=3B I'm working towards finding the first revision which = exhibits the
>=3B >=3B problem so I can see what changes to the code= there were which might
>=3B >=3B help me to understand the problem.=  =3BIt's slow going - I'm battling
>=3B >=3B vista every step o= f the way.  =3BIt really is as awful as people say!
>=3B >=3B>=3B >=3B Matthew
>=3B >=3B
>=3B >=3B
>=3B >=3B 2= 009/5/26 Barry Gerdes <=3Bbarrygastro@hotmail.com>=3B:
>=3B >=3B= >=3B hi Matthew
>=3B >=3B>=3B I am having no trouble with the wi= ndows build (until ten minutes ago.
>=3B >=3B>=3B rebuilding again= now). There was a problem with a couple of headers not
>=3B >=3B>= =3B being found in a clean build.
>=3B >=3B>=3B
>=3B >=3B>=3B
>=3B -------------------------------------------------------= -----------------------
>=3B Register Now for Creativity and Technolog= y (CaT)=2C June 3rd=2C NYC. CaT
>=3B is a gathering of tech-side deve= lopers &=3B brand creativity professionals. Meet
>=3B the minds beh= ind Google Creative Lab=2C Visual Complexity=2C Processing=2C &=3B
&= gt=3B iPhoneDevCamp as they present alongside digital heavyweights like Bar= barian
>=3B Group=2C R/GA=2C &=3B Big Spaceship. http://p.sf.net/s= fu/creativitycat-com
>=3B ___________________________________________= ____
>=3B Stellarium-pubdevel mailing list
>=3B Stellarium-pubdev= el@lists.sourceforge.net
>=3B https://lists.sourceforge.net/lists/list= info/stellarium-pubdevel


Let ninemsn property help Looking to move so= mewhere new this winter?

Check out the new Windows Live Mess= enger Looking for a fresh way to share your photos? = --_cd78ce5b-5ffe-4c6a-a8d2-5f597b9edf61_--