Visual Studio 2008EEd can compile celestia with minor tweaks
-
Topic authorduds26
- Posts: 328
- Joined: 05.02.2007
- Age: 34
- With us: 17 years 9 months
- Location: Europe
Visual Studio 2008EEd can compile celestia with minor tweaks
Visual Studio 2008 EE (free) can compile celestia with minor adjustments see below, thanks for the information Ajaja.
A free IDE with compiler and for building applications for Windows.
Visual Studio 2008 startpage:
http://www.microsoft.com/express/default.aspx
Here is the link directly to the VS C++ Express Edition:
http://www.microsoft.com/express/vc/
A free IDE with compiler and for building applications for Windows.
Visual Studio 2008 startpage:
http://www.microsoft.com/express/default.aspx
Here is the link directly to the VS C++ Express Edition:
http://www.microsoft.com/express/vc/
Last edited by duds26 on 31.01.2008, 18:54, edited 2 times in total.
selden wrote:Unfortunately, Celestia is not compatible with VS2008. VS2005 (or VS2003) is required.The necessary changes won't be made until well after Celestia v1.5.0 is officially released. (I learned this when I tried compiling Celestia with the VS2008 beta a few months ago.)
What are the reasons for the incompatibility, do you know?
selden wrote:Sorry, it's been a while since I tried compiling with VS2008. I seem to recall that there were language constructs it didn't like as well as some incompatible runtime library calls. Sort of like the 2003 -> 2005 differences, but many more of them.
yes VS 2005
windows 10 directX 12 version
celestia 1.7.0 64 bits
with a general handicap of 80% and it makes much d' efforts for the community and s' expimer, thank you d' to be understanding.
celestia 1.7.0 64 bits
with a general handicap of 80% and it makes much d' efforts for the community and s' expimer, thank you d' to be understanding.
- John Van Vliet
- Posts: 2944
- Joined: 28.08.2002
- With us: 22 years 3 months
re
i am still using vs 2002 and don't intend on giving MS more $$$
i like Anjuta and gcc 4.1.2-33 to much
i like Anjuta and gcc 4.1.2-33 to much
Celestia is compatible with VS2008!!! Just need small fix. In render.cpp and stardb.cpp - functions "operator<(...)" must be in namespace std:
Example, was:
must be:
Example, was:
Code: Select all
bool operator< (const StarDatabase::CrossIndexEntry& a,
const StarDatabase::CrossIndexEntry& b)
{
return a.catalogNumber < b.catalogNumber;
}
must be:
Code: Select all
namespace std
{
bool operator< (const StarDatabase::CrossIndexEntry& a,
const StarDatabase::CrossIndexEntry& b)
{
return a.catalogNumber < b.catalogNumber;
}
}
Ajaja wrote:Celestia is compatible with VS2008!!! Just need small fix. In render.cpp and stardb.cpp - functions "operator<(...)" must be in namespace std:
Example, was:Code: Select all
bool operator< (const StarDatabase::CrossIndexEntry& a,
const StarDatabase::CrossIndexEntry& b)
{
return a.catalogNumber < b.catalogNumber;
}
must be:Code: Select all
namespace std
{
bool operator< (const StarDatabase::CrossIndexEntry& a,
const StarDatabase::CrossIndexEntry& b)
{
return a.catalogNumber < b.catalogNumber;
}
}
ok, VS2008 => windows vista et windows XP SP3
windows 10 directX 12 version
celestia 1.7.0 64 bits
with a general handicap of 80% and it makes much d' efforts for the community and s' expimer, thank you d' to be understanding.
celestia 1.7.0 64 bits
with a general handicap of 80% and it makes much d' efforts for the community and s' expimer, thank you d' to be understanding.
-
- Site Admin
- Posts: 4211
- Joined: 28.01.2002
- With us: 22 years 10 months
- Location: Seattle, Washington, USA
Ajaja wrote:Celestia is compatible with VS2008!!! Just need small fix. In render.cpp and stardb.cpp - functions "operator<(...)" must be in namespace std:
Example, was:Code: Select all
bool operator< (const StarDatabase::CrossIndexEntry& a,
const StarDatabase::CrossIndexEntry& b)
{
return a.catalogNumber < b.catalogNumber;
}
must be:Code: Select all
namespace std
{
bool operator< (const StarDatabase::CrossIndexEntry& a,
const StarDatabase::CrossIndexEntry& b)
{
return a.catalogNumber < b.catalogNumber;
}
}
Thanks, Ajaja. I just upgraded to VS2008--nice to know there won't be as many troubles as feared.
--Chris
- John Van Vliet
- Posts: 2944
- Joined: 28.08.2002
- With us: 22 years 3 months
re
seeing as the 2006 ( free) one was incompatible with vs 7 .net and required me to uninstall vs 7 to run it . i think i will stay with it
also most of the things i build on win xp are linux and mingw gcc is just fine
also most of the things i build on win xp are linux and mingw gcc is just fine
-
- Posts: 42
- Joined: 30.03.2008
- With us: 16 years 7 months
Re:
Ajaja wrote:Celestia is compatible with VS2008!!! Just need small fix. In render.cpp and stardb.cpp - functions "operator<(...)" must be in namespace std:
I'm curious to know how you've set up your celvars.bat file. What version of the Platform SDK and NMAKE are you using?
Computer Info:
MoBo: GigaByte 6-Quad GA-965P DQ6
CPU: Intel Core 2 6700 @ 2.66GHz
RAM: Ocz 2GB DDR2 800MHz
HDD: Seagate 400GB SATA
VD: Nvidia GeForce 7950 GT OC 512MB
OS: MS XP Pro SP2
Celestia 1.5.1.4342 Qt4 Experimental
MoBo: GigaByte 6-Quad GA-965P DQ6
CPU: Intel Core 2 6700 @ 2.66GHz
RAM: Ocz 2GB DDR2 800MHz
HDD: Seagate 400GB SATA
VD: Nvidia GeForce 7950 GT OC 512MB
OS: MS XP Pro SP2
Celestia 1.5.1.4342 Qt4 Experimental