locations of code and builds for 1.7

The place to discuss creating, porting and modifying Celestia's source code.
Avatar
Topic author
John Van Vliet
Posts: 2710
Joined: 28.08.2002
With us: 16 years 1 month

locations of code and builds for 1.7

Post #1by John Van Vliet » 17.07.2017, 16:29

feel free to add or rearrange things

my Linux 64 edits of the last svn code are on my git page
this WILL be a SPICE ( 65 ,will be 66 soon) version seeing as it is a upload of MY code i use
Last edited by John Van Vliet on 22.03.2018, 15:43, edited 1 time in total.

Avatar
K.A.V M
Posts: 16
Joined: 10.08.2016
Age: 28
With us: 2 years 2 months
Location: Marseille

Post #2by K.A.V » 24.07.2017, 09:07

John Van Vliet, Do you have a Linux + SPICE version of the working class with the latest GitHub code?
And why do not you work mostly in the Celestia repository? You can join forces

Avatar
Topic author
John Van Vliet
Posts: 2710
Joined: 28.08.2002
With us: 16 years 1 month

Post #3by John Van Vliet » 25.07.2017, 01:38

i started this branch a long time ago
-- just recently put it on github

Avatar
K.A.V M
Posts: 16
Joined: 10.08.2016
Age: 28
With us: 2 years 2 months
Location: Marseille

Post #4by K.A.V » 28.07.2017, 15:56

John Van Vliet, Your Celestia (Spice) can be compiled for Windows?

codrinb
Posts: 15
Joined: 25.03.2005
With us: 13 years 6 months
Location: Boston, MA, USA

Post #5by codrinb » 13.02.2018, 19:44

It would be nice to rebase to https://github.com/CelestiaProject/Celestia, to avoid too much forking and effort duplication

Avatar
Topic author
John Van Vliet
Posts: 2710
Joined: 28.08.2002
With us: 16 years 1 month

Post #6by John Van Vliet » 14.02.2018, 07:26

the issue is the main base is becoming Microsoft mostly

with just new things added on top of a aging code base that is in NEED of a clean up and compile warning fixes

along with updating to the current c++ standard

currently c++11 and gcc 4.8

Janus
Posts: 208
Joined: 13.08.2016
With us: 2 years 2 months

Post #7by Janus » 14.02.2018, 20:20

Not sure it applies or not, but my current code that compiles in x86 & x64 via VS2013/15, also compiles with the mingw 5.30 that comes with QT creator.
Of course I can't link it to test yet because I have not figured out how to make libs with mingw.
However, as I understand it Mingw is basically gcc with a twist.
So what works on mingw, should work on gcc.

On my fork I have been working on switching to size_t for as many return parameters in particular as I can.
From what I can see, speaking as a non C/C++ programmer who is just looking at patterns.
Is that to much of the code is dependent on 32 bit return sizes.
Other sections assume that char will be eight bit, or that string are plaintext in english.
Which is why I have been trying out size_t for return values.

Major restructuring is beyond my skill or knowledge.
I still can't even do opengl, the guides do me no good because they use matrix math, which is a complete mystery to me.
You would think that somewhere on the internet someone did it different.

I will make a Linux VM and test if my code will compile via QT for linux.


Janus.

Avatar
Topic author
John Van Vliet
Posts: 2710
Joined: 28.08.2002
With us: 16 years 1 month

Post #8by John Van Vliet » 15.02.2018, 04:54

I have not figured out how to make libs with mingw.

you use "dlltool" to link the *.la's and and something else i can not remember it's file extension , to make a dll

Is that to much of the code is dependent on 32 bit return sizes.


yes and this needs to be moved into 64 bit , but that is not a needed NOW thing

Janus
Posts: 208
Joined: 13.08.2016
With us: 2 years 2 months

Post #9by Janus » 15.02.2018, 07:33

I am actually not wanting to make DLL files, I want to use straight lib files, or however mingw labels them.
As I have done from the beginning, I try to avoid external libraries as much as I can.
Not looking forward to fighting the linux version of DLL h3ll with QT, it is a mess.

Working in a VM using Devuan W/Mate desktop, the most win95 like I one can find.
I will post when I am able to get my code to compile and run.


Janus.

codrinb
Posts: 15
Joined: 25.03.2005
With us: 13 years 6 months
Location: Boston, MA, USA

Post #10by codrinb » 16.02.2018, 14:21

What is the relationship among these repos:

https://github.com/JohnVV/MyCelestiaBuild
- Celestia 1.7.x?? with focus on Linux??

https://github.com/CelestiaProject/Celestia
- Celestia 1.7.x?? with focus on Windows??
- it already has 29 forks https://github.com/CelestiaProject/Celestia/network

https://github.com/erickt/celestia
- Celestia 1.6.x?? with focus on Mac??

I am quite confused.

Which one is the latest code? Can it all be merged together in one place and then use fork/branch/tag so it is easier to develop and collaborate?

-Codrin

Added after 4 minutes 14 seconds:
@John,

Just noticed your answer above.
As I feared.

Which branch at least has the latest .cpp code?

It thought the latest code is at the https://github.com/CelestiaProject/Celestia, so I started (on my fork) to bring it up to date to compile on Mac. It's quite a delta between Windows and Mac.

I noticed that someone did some work on this https://github.com/erickt/celestia to make it work on a Mac, however, looks like older (1.6.x code).

I just hope all of them could come together nicely in on single place

-Codrin

Avatar
selden
Posts: 10243
Joined: 04.09.2002
With us: 16 years 1 month
Location: NY, USA

Post #11by selden » 17.02.2018, 16:31

Codrin,

I think it's overoptimistic to hope that any one repo has "the latest code." Each is a branch off the preliminary v1.7 code on SourceForge, started by someone frustrated with the lack of official ongoing development. Each will have new code that the others don't.
Selden

Avatar
Topic author
John Van Vliet
Posts: 2710
Joined: 28.08.2002
With us: 16 years 1 month

Post #12by John Van Vliet » 17.02.2018, 16:49

fractured code is one of the first signs ...



.

Janus
Posts: 208
Joined: 13.08.2016
With us: 2 years 2 months

Post #13by Janus » 17.02.2018, 17:07

@Codrin

For instance.
In mine, I have planets, moons, and some other stuff that displays it's RaDec & Dist in real time when it is selected, which to my knowledge no one else does.
To help amateur astronomers find stuff using a familiar interface.
I have also implemented alphabetized loading of addons, so load order is no longer dependent on the mood your Computer/OS/Filesystem is in.
I moved the observer distance information to the lower right because it makes more sense to me there.

And those are just the differences that show on the outside.
There are more under the hood so to speak.

ALexell is the one who managed to acquire the old forum, I had been trying and failing.
He is hosting the site, and running the forum.
He should be providing guidance and direction while integrating the best or most agreed upon ideas.
Instead, there is little to no movement or contact.
The forum disappears, then returns, and sometimes loses posts when it does.

I really began working on my fork when Alexell decided to go pure QT for everything, a move I wholeheartedly disagree with.
I disagree because I have fought instances where having multiple versions on the same system conflict with each other.

I do nothing for the Mac version because I do not own one, nor shall I ever.
I am still learning Linux, and I am horrible at it because I can not find any pattern to where things are scattered.
Yet John Van Vliet uses it everyday, and has a fork dedicated to Linux.

I for one had hoped that having the forum back up would provide a focus and a center, which sadly, it has not.
Unilateral decisions such as QT only and forever, serve to divide more than unify.

As for me, if I can ever figure out Git, I will be putting my code up on my site, and just monitoring here.
That includes all of the support libraries as well, Lua, Jpeg, Png, etc.
I have all of them setup to provide the static libraries to be linked in.
As I can, I am adding more compiler support so they can be kept up to date as their core projects progress as well.
Vs2013 now, W/VS2015 soon.Mingw when I can figure it out.
I am currently working on QT in Devuan Linux via QT.

There are a lot of skilled people here, many of whom are better than I am at this stuff, I am a complete amateur on the C/C++ front.
Those skills need to be brought together, coordinated to bring their strengths to the fore, and cover for each other's weaknesses.
One of the reasons Celestia.Sci makes consist progress, even if it is slow, is that they communicate.

The lack of that here worries me.
Hence me going my own way, doing my own thing.
If you don't like the dance, tell whomever to fork off, you are going to do your own thing.

My code is there to be used if anyone wants, which is the beauty and grace of open source.
I will be posting an updated code, and some binaries, as soon as I get done cleaning up the mess I made fixing the loading order, and some other stuff.

So don't lose hope.
Even if this place implodes, Celestia lives on, and will coalesce somewhere else in its own time.


Janus.


Return to “Development”

Who is online

Users browsing this forum: 7 guests
Bots: Google [Bot]