Win32 Executable from SVN

The place to discuss creating, porting and modifying Celestia's source code.
chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 9 months
Location: Seattle, Washington, USA

Re: Win32 Executable from SVN

Post #81by chris » 31.10.2008, 21:44

I know that people have built 64-bit versions of Celestia for Linux. There were a couple bugs that needed to be fixed in order to make it work, but nothing too drastic needed to be done. It should be possible to build a 64-bit version of Celestia for Windows with little to no modification required. I haven't tried it yet because I'm still running 32-bit WinXP.

I know a few calculations that will run considerably faster with 64-bit code. But, Celestia spends most of its time doing floating point calculations, which I don't believe will be helped by a move to 64-bit.

--Chris

Avatar
Topic author
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 2 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Re: Win32 Executable from SVN

Post #82by cartrite » 31.10.2008, 22:18

chris wrote:I know that people have built 64-bit versions of Celestia for Linux. There were a couple bugs that needed to be fixed in order to make it work, but nothing too drastic needed to be done. It should be possible to build a 64-bit version of Celestia for Windows with little to no modification required. I haven't tried it yet because I'm still running 32-bit WinXP.

I know a few calculations that will run considerably faster with 64-bit code. But, Celestia spends most of its time doing floating point calculations, which I don't believe will be helped by a move to 64-bit.

--Chris
Chris,
So my linux system is actually generating 64 bit code? I thought that there would have to be 64 bit source code to do this. Code that is specifically written for 64 bit processors. But I guess this is wrong?
cartrite
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 9 months
Location: Seattle, Washington, USA

Re: Win32 Executable from SVN

Post #83by chris » 31.10.2008, 22:23

cartrite wrote:
chris wrote:I know that people have built 64-bit versions of Celestia for Linux. There were a couple bugs that needed to be fixed in order to make it work, but nothing too drastic needed to be done. It should be possible to build a 64-bit version of Celestia for Windows with little to no modification required. I haven't tried it yet because I'm still running 32-bit WinXP.

I know a few calculations that will run considerably faster with 64-bit code. But, Celestia spends most of its time doing floating point calculations, which I don't believe will be helped by a move to 64-bit.

--Chris
Chris,
So my linux system is actually generating 64 bit code? I thought that there would have to be 64 bit source code to do this. Code that is specifically written for 64 bit processors. But I guess this is wrong?
cartrite

It could be, but it depends on what compiler options are set. There's no need for specific 64-bit code in a C++ program. There can be some portability issues for programs that assume that the size of a pointer is the size of an integer. This is typically true on 32-bit systems, but on a 64-bit system a pointer will be 64-bits, even though the 'normal' integer size may remain 32-bits.

--Chris

Avatar
Topic author
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 2 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Re: Win32 Executable from SVN

Post #84by cartrite » 01.11.2008, 00:52

I never really added any extra cxxflags but configure always reported an arch = x86_64. From what I just read, this seems to turn on the -m64 flag and all of it's associated defaults. So I guess Linux is building a 64 bit version of Celestia.
cartrite
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

Avatar
Topic author
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 2 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Re: Win32 Executable from SVN

Post #85by cartrite » 04.11.2008, 12:19

I have removed the index pages from my site at cartrite.cedhost.com . I was using Firefox today and when I went to the site, it was reported as dangerous and a forgery. It also warned that it solicits information. I do not, never will, never have, solicited information from a visitor to download anything at my site. There are some adds at the bottom of every page that I never checked out. I'm not sure if they solicit information or not. This site will be down indefinitely depending on what I can find out about the adds that the web host is putting on my pages. They are not part of my web site but may be required by the web host because it is free. If this is the case and these adds are a phishing scam, this site will be down permanently.
My web icon here still links to my old site and that contains no adds. That will be the only place to download the svn version of Celestia.

cartrite
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

Reiko
Posts: 1119
Joined: 05.10.2006
Age: 41
With us: 18 years 1 month
Location: Out there...

Re: Win32 Executable from SVN

Post #86by Reiko » 04.11.2008, 15:25

I don't remember ever seeing any adds.

Avatar
Topic author
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 2 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Re: Win32 Executable from SVN

Post #87by cartrite » 08.11.2008, 04:22

The warnings from Firefox disappeared when I go to the new site. I never did receive a reply informing me what the warnings were all about. I logged in and there was zero traffic at the site the last few days so I'm not going to bother updating that site with the svn executable. I did update the older site to version 4538. It contains a bug fix for eclipse rendering at high zoom.
cartrite
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

BobHegwood
Posts: 1803
Joined: 12.10.2007
With us: 17 years 1 month

Re: Win32 Executable from SVN

Post #88by BobHegwood » 08.11.2008, 04:35

cartrite wrote:The warnings from Firefox disappeared when I go to the new site. I never did receive a reply informing me what the warnings were all about. I logged in and there was zero traffic at the site the last few days so I'm not going to bother updating that site with the svn executable. I did update the older site to version 4538. It contains a bug fix for eclipse rendering at high zoom.
cartrite

Steve,

Just wanted to confirm that the new site is much more secure it seems. :wink:
Just wanted to ask you though... Your text says that the executables require Celestia 1.5.1 or some such.
I have always used your updates with 1.6.0 Pre whatever. Shouldn't your instructions reflect the fact
that the updates are, in fact, used only for the Celestia Pre-1.6 version environment?

Just FYI...

As always, thanks for the updates. :wink:
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN

Avatar
Topic author
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 2 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Re: Win32 Executable from SVN

Post #89by cartrite » 08.11.2008, 04:41

I didn't know that a 1.6.0pre was released. Where did you get it from?
cartrite
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

Reiko
Posts: 1119
Joined: 05.10.2006
Age: 41
With us: 18 years 1 month
Location: Out there...

Re: Win32 Executable from SVN

Post #90by Reiko » 08.11.2008, 04:53

BobHegwood wrote:
cartrite wrote:The warnings from Firefox disappeared when I go to the new site. I never did receive a reply informing me what the warnings were all about. I logged in and there was zero traffic at the site the last few days so I'm not going to bother updating that site with the svn executable. I did update the older site to version 4538. It contains a bug fix for eclipse rendering at high zoom.
cartrite

Steve,

Just wanted to confirm that the new site is much more secure it seems. :wink:
Just wanted to ask you though... Your text says that the executables require Celestia 1.5.1 or some such.
I have always used your updates with 1.6.0 Pre whatever. Shouldn't your instructions reflect the fact
that the updates are, in fact, used only for the Celestia Pre-1.6 version environment?

Just FYI...

As always, thanks for the updates. :wink:

I've always used them with 1.5.0 or 1.5.1 and never have seen a 1.6.0-pre. It wasn't until the SVN 4533 update that I have ever seen 1.6.0 show during load up.

BobHegwood
Posts: 1803
Joined: 12.10.2007
With us: 17 years 1 month

Re: Win32 Executable from SVN

Post #91by BobHegwood » 08.11.2008, 06:32

cartrite wrote:I didn't know that a 1.6.0pre was released. Where did you get it from?
cartrite

Whatever do you mean?
The very latest SVN download I got from YOUR site (celestia-svn-r4538.zip) is itself
a pre-release of 1.6...

When the program starts up, you'll see the Celestia Splash screen which states:
"Celestia Version 1.6.0"

This has been the case for almost ALL of the SVN versions I have been getting from your site.
Am I really THAT Brain-Dead? In this case, methinks NOT. :wink:

At any rate, I do really appreciate the service, so sorry for the confusion here.
Thanks, Bob

EDIT:
My confusion here probably stems from the fact that I maintain a stable version (1.5.1 Final)
on my PC, along side the latest SVN version (which I have always just assumed was a Pre 1.6.0
version.)
In fact, with the configuration file changes, and some of the new shaders involved, I simply
thought that ALL of the SVN updates were Pre 1.6.0 versions. Does that help clarify?
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN

Avatar
Topic author
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 2 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Re: Win32 Executable from SVN

Post #92by cartrite » 08.11.2008, 12:35

In my read me files, I say that a 1.5 .0 or 1.5.1 version needs to be installed. Then the executable that I provide replaces the executable that came with the 1.5 installation.

I also mentioned that celestia.cfg has to be modified after Fridger's Globular Cluster addition. I even supplied a few shader files for HDR to work. But I don't supply all the files that changed in the folders like textures, data, models, locale, etc. There is even new folder called the extras-standard folder. That would all come with a 1.6.0pre release. That is what I thought you meant.

I'm starting to wonder when the executables will stop working with a 1.5 installation.

If you download the svn celestia folder and place the executable in that folder along with the dll files, that will probably work too. Then you have a virtual 1.6.0pre. But that is up to the user to do that. I don't supply instructions to do this because there are too many things that can go wrong.

I maintain my 1.5.1 installation on Windows to test the executables briefly before I upload them.

cartrite
Last edited by cartrite on 08.11.2008, 14:49, edited 1 time in total.
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

BobHegwood
Posts: 1803
Joined: 12.10.2007
With us: 17 years 1 month

Re: Win32 Executable from SVN

Post #93by BobHegwood » 08.11.2008, 14:32

Sorry Steve...
Just confusion concerning terminology I suppose. :wink:
I have considered everything after 1.5.1 Final as being Pre 1.6 releases. :)

Thanks, Bob
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN

Avatar
Topic author
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 2 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Re: Win32 Executable from SVN

Post #94by cartrite » 08.11.2008, 14:44

BobHegwood wrote:Sorry Steve...
Just confusion concerning terminology I suppose. :wink:
I have considered everything after 1.5.1 Final as being Pre 1.6 releases. :)

Thanks, Bob
Actually, I wouldn't call the svn version a pre release either. The svn version, the entire svn version, is constantly changing as the code and support files are modified or new files are added and old files are deleted. So the svn version is the svn version. A prerelease will be the svn version when it is ready for prerelease and the changes to it after that will be minimal between the prereleases until the final release. Then, hopefully, everything will start over again and move towards a 1.7 version.
Hope I got that right. :wink:
cartrite
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 9 months
Location: Seattle, Washington, USA

Re: Win32 Executable from SVN

Post #95by chris » 10.11.2008, 01:41

To clear this up a little bit...

"Prereleases" as we had for 1.5.0 and before are no longer happening. These prereleases were simply snapshots of Celestia in development, and SVN builds from cartwrite and others have taken their place.

There will be a release candidate ready before the final version of 1.6.0. This will be very close to the final version of Celestia 1.6.0; in fact, if no serious bugs are reported in the release candidate, it will become Celestia 1.6.0 final.

--Chris

BobHegwood
Posts: 1803
Joined: 12.10.2007
With us: 17 years 1 month

Re: Win32 Executable from SVN

Post #96by BobHegwood » 05.12.2008, 05:14

Steve?

I think we just ran into the wall with using the 1.5.1 environment for the execution of
the 1.6 "pre-releases."

The latest download I got (SVN 4560) no longer works correctly.
After looking t the SSC file "solarsys.ssc" it looks to me as if there are
errors in the file.

Again, to me it looks as if some of the AltSurface declarations are simply
either screwed up, or they are not being processed correctly by this version
of Celestia.

I tried to get it to work at my end, but have been unsuccessful thus far. :roll:
Just FYI...

Thanks, Brain-Dead
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN

Derek
Posts: 64
Joined: 18.12.2007
With us: 16 years 11 months
Location: Pretoria South Africa

Re: Win32 Executable from SVN

Post #97by Derek » 05.12.2008, 09:12

Bob,

I've just downloaded 4560 and all my altsurfaces are working OK. Question why would your solarsys.ssc change just because you updated to 4560?
Derek

BobHegwood
Posts: 1803
Joined: 12.10.2007
With us: 17 years 1 month

Re: Win32 Executable from SVN

Post #98by BobHegwood » 05.12.2008, 09:44

Derek wrote:Bob,

I've just downloaded 4560 and all my altsurfaces are working OK. Question why would your solarsys.ssc change just because you updated to 4560?

Yes, I understand...
Apparently, my damned, new 64-bit Vista installation decided to eat my Celestia when I tried
to update using the latest SVN version. Honestly, I dunno what happened. :roll:

Beware 64-bit Vista...
I thought that it would work the same way my 32-bit system did, but I was sadly
mistaken. By the time I figure it out, I'll be dead. :wink:

Thanks for the help Derek. Much appreciated.

EDIT:
Just for everyone's information here, I had to re-install Celestia 1.5.1
in order to get it working again. I really have *NO* idea what happened
with this stupid machine. (Or, maybe this stupid user)

Thanks again, Brain-Dead
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN

Avatar
Topic author
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years 2 months
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Re: Win32 Executable from SVN

Post #99by cartrite » 05.12.2008, 10:04

It sounds like you may have edited your solarsys.ssc file and corrupted it somehow. There was not much of a change between 4559 and 4560. Only one character. 1 line of code had a "<" and it was changed to "=<". That's it.

In fact most of the changes recently didn't even affect the executable. When something changes in the .po files or files in the data folder, there is no change in the actual executable but the revision number still changes. That is why there are sometimes large differences between version numbers. I don't rebuild it unless there is actual executable code that changed.
cartrite
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

BobHegwood
Posts: 1803
Joined: 12.10.2007
With us: 17 years 1 month

Re: Win32 Executable from SVN

Post #100by BobHegwood » 05.12.2008, 21:16

cartrite wrote:It sounds like you may have edited your solarsys.ssc file and corrupted it somehow. There was not much of a change between 4559 and 4560. Only one character. 1 line of code had a "<" and it was changed to "=<". That's it.

That's the thing, though...
I did NOT edit the solarsys.ssc file, and I still have absolutely no idea what
happened to it. :roll:

No problem though. Thanks Steve.
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN


Return to “Development”