I've downloaded the Celestia 1.5.1 source code from http://sourceforge.net/project/downloading.php?groupname=celestia&filename=celestia-1.5.1.tar.gz&use_mirror=dfn not from the svn.
I'm running Windows Vista Business x64 and I'm using Visual Studio 2008 Professional.
I followed these instructions http://en.wikibooks.org/wiki/Celestia/Development/Win32_platform. But I get about 30 errors when I build. After I hit build VS worked for a time and then gave me this buildlog:
Code: Select all
Compiling...
vsop87.cpp
virtualtex.cpp
vertexprog.cpp
vertexlist.cpp
universe.cpp
univcoord.cpp
trajmanager.cpp
tokenizer.cpp
texture.cpp
c:\users\tad\documents\celestia-1.5.1\inc\libjpeg\jmorecfg.h(215) : warning C4005: 'FAR' : macro redefinition
C:\Program Files\Microsoft SDKs\Windows\v6.0A\\include\windef.h(146) : see previous definition of 'FAR'
texmanager.cpp
stellarclass.cpp
staroctree.cpp
starname.cpp
stardb.cpp
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\algorithm(2262) : error C2784: 'bool std::operator <(const std::_Tree<_Traits> &,const std::_Tree<_Traits> &)' : could not deduce template argument for 'const std::_Tree<_Traits> &' from 'StarDatabase::CrossIndexEntry'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xtree(1466) : see declaration of 'std::operator <'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\algorithm(2274) : see reference to function template instantiation '_FwdIt std::_Lower_bound(_FwdIt,_FwdIt,const _Ty &,_Diff *)' being compiled
with
[
_FwdIt=StarDatabase::CrossIndexEntry *,
_Ty=StarDatabase::CrossIndexEntry,
_Diff=__w64 int
]
.\src\celengine\stardb.cpp(302) : see reference to function template instantiation '_FwdIt std::lower_bound<_Ty,_Alloc>,StarDatabase::CrossIndexEntry>(_FwdIt,_FwdIt,const _Ty &)' being compiled
with
[
_FwdIt=std::_Vector_iterator>,
_Ty=StarDatabase::CrossIndexEntry,
_Alloc=std::allocator
]
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\algorithm(2262) : error C2784: 'bool std::operator <(const std::vector<_Ty,_Alloc> &,const std::vector<_Ty,_Alloc> &)' : could not deduce template argument for 'const std::vector<_Ty,_Alloc> &' from 'StarDatabase::CrossIndexEntry'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\vector(1320) : see declaration of 'std::operator <'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\algorithm(2262) : error C2784: 'bool std::operator <(const std::basic_string<_Elem,_Traits,_Alloc> &,const _Elem *)' : could not deduce template argument for 'const std::basic_string<_Elem,_Traits,_Alloc> &' from 'StarDatabase::CrossIndexEntry'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\string(150) : see declaration of 'std::operator <'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\algorithm(2262) : error C2784: 'bool std::operator <(const _Elem *,const std::basic_string<_Elem,_Traits,_Alloc> &)' : could not deduce template argument for 'const _Elem *' from 'StarDatabase::CrossIndexEntry'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\string(140) : see declaration of 'std::operator <'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\algorithm(2262) : error C2784: 'bool std::operator <(const std::basic_string<_Elem,_Traits,_Alloc> &,const std::basic_string<_Elem,_Traits,_Alloc> &)' : could not deduce template argument for 'const std::basic_string<_Elem,_Traits,_Alloc> &' from 'StarDatabase::CrossIndexEntry'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\string(130) : see declaration of 'std::operator <'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\algorithm(2262) : error C2784: 'bool std::operator <(const std::reverse_iterator<_RanIt> &,const std::reverse_iterator<_RanIt2> &)' : could not deduce template argument for 'const std::reverse_iterator<_RanIt> &' from 'StarDatabase::CrossIndexEntry'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xutility(2236) : see declaration of 'std::operator <'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\algorithm(2262) : error C2784: 'bool std::operator <(const std::_Revranit<_RanIt,_Base> &,const std::_Revranit<_RanIt2,_Base2> &)' : could not deduce template argument for 'const std::_Revranit<_RanIt,_Base> &' from 'StarDatabase::CrossIndexEntry'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xutility(2046) : see declaration of 'std::operator <'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\algorithm(2262) : error C2784: 'bool std::operator <(const std::pair<_Ty1,_Ty2> &,const std::pair<_Ty1,_Ty2> &)' : could not deduce template argument for 'const std::pair<_Ty1,_Ty2> &' from 'StarDatabase::CrossIndexEntry'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\utility(84) : see declaration of 'std::operator <'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\algorithm(2262) : error C2676: binary '<' : 'StarDatabase::CrossIndexEntry' does not define this operator or a conversion to a type acceptable to the predefined operator
starcolors.cpp
starbrowser.cpp
star.cpp
spiceorbit.cpp
spiceinterface.cpp
spheremesh.cpp
Generating Code...
Compiling...
solarsys.cpp
simulation.cpp
shadermanager.cpp
selection.cpp
scriptrotation.cpp
scriptorbit.cpp
scriptobject.cpp
samporient.cpp
samporbit.cpp
rotationmanager.cpp
rotation.cpp
renderglsl.cpp
render.cpp
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\algorithm(3029) : error C2784: 'bool std::operator <(const std::list<_Ty,_Ax> &,const std::list<_Ty,_Ax> &)' : could not deduce template argument for 'const std::list<_Ty,_Ax> &' from 'Renderer::Label'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\list(1310) : see declaration of 'std::operator <'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\algorithm(3085) : see reference to function template instantiation 'std::pair<_Ty1,_Ty2> std::_Unguarded_partition<_RanIt>(_RanIt,_RanIt)' being compiled
with
[
_Ty1=Renderer::Label *,
_Ty2=Renderer::Label *,
_RanIt=Renderer::Label *
]
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\algorithm(3113) : see reference to function template instantiation 'void std::_Sort(_RanIt,_RanIt,_Diff)' being compiled
with
[
_RanIt=Renderer::Label *,
_Diff=__w64 int
]
.\src\celengine\render.cpp(2551) : see reference to function template instantiation 'void std::sort<_Ty,_Alloc>>(_RanIt,_RanIt)' being compiled
with
[
_Ty=Renderer::Label,
_Alloc=std::allocator,
_RanIt=std::_Vector_iterator>
]
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\algorithm(3029) : error C2784: 'bool std::operator <(const std::_Tree<_Traits> &,const std::_Tree<_Traits> &)' : could not deduce template argument for 'const std::_Tree<_Traits> &' from 'Renderer::Label'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xtree(1466) : see declaration of 'std::operator <'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\algorithm(3029) : error C2784: 'bool std::operator <(const std::vector<_Ty,_Alloc> &,const std::vector<_Ty,_Alloc> &)' : could not deduce template argument for 'const std::vector<_Ty,_Alloc> &' from 'Renderer::Label'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\vector(1320) : see declaration of 'std::operator <'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\algorithm(3029) : error C2784: 'bool std::operator <(const std::basic_string<_Elem,_Traits,_Alloc> &,const _Elem *)' : could not deduce template argument for 'const std::basic_string<_Elem,_Traits,_Alloc> &' from 'Renderer::Label'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\string(150) : see declaration of 'std::operator <'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\algorithm(3029) : error C2784: 'bool std::operator <(const _Elem *,const std::basic_string<_Elem,_Traits,_Alloc> &)' : could not deduce template argument for 'const _Elem *' from 'Renderer::Label'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\string(140) : see declaration of 'std::operator <'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\algorithm(3029) : error C2784: 'bool std::operator <(const std::basic_string<_Elem,_Traits,_Alloc> &,const std::basic_string<_Elem,_Traits,_Alloc> &)' : could not deduce template argument for 'const std::basic_string<_Elem,_Traits,_Alloc> &' from 'Renderer::Label'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\string(130) : see declaration of 'std::operator <'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\algorithm(3029) : error C2784: 'bool std::operator <(const std::reverse_iterator<_RanIt> &,const std::reverse_iterator<_RanIt2> &)' : could not deduce template argument for 'const std::reverse_iterator<_RanIt> &' from 'Renderer::Label'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xutility(2236) : see declaration of 'std::operator <'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\algorithm(3029) : error C2784: 'bool std::operator <(const std::_Revranit<_RanIt,_Base> &,const std::_Revranit<_RanIt2,_Base2> &)' : could not deduce template argument for 'const std::_Revranit<_RanIt,_Base> &' from 'Renderer::Label'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xutility(2046) : see declaration of 'std::operator <'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\algorithm(3029) : error C2784: 'bool std::operator <(const std::pair<_Ty1,_Ty2> &,const std::pair<_Ty1,_Ty2> &)' : could not deduce template argument for 'const std::pair<_Ty1,_Ty2> &' from 'Renderer::Label'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\utility(84) : see declaration of 'std::operator <'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\algorithm(3029) : error C2676: binary '<' : 'Renderer::Label' does not define this operator or a conversion to a type acceptable to the predefined operator
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\algorithm(3030) : error C2784: 'bool std::operator <(const std::list<_Ty,_Ax> &,const std::list<_Ty,_Ax> &)' : could not deduce template argument for 'const std::list<_Ty,_Ax> &' from 'Renderer::Label'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\list(1310) : see declaration of 'std::operator <'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\algorithm(3030) : error C2784: 'bool std::operator <(const std::_Tree<_Traits> &,const std::_Tree<_Traits> &)' : could not deduce template argument for 'const std::_Tree<_Traits> &' from 'Renderer::Label'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xtree(1466) : see declaration of 'std::operator <'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\algorithm(3030) : error C2784: 'bool std::operator <(const std::vector<_Ty,_Alloc> &,const std::vector<_Ty,_Alloc> &)' : could not deduce template argument for 'const std::vector<_Ty,_Alloc> &' from 'Renderer::Label'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\vector(1320) : see declaration of 'std::operator <'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\algorithm(3030) : error C2784: 'bool std::operator <(const std::basic_string<_Elem,_Traits,_Alloc> &,const _Elem *)' : could not deduce template argument for 'const std::basic_string<_Elem,_Traits,_Alloc> &' from 'Renderer::Label'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\string(150) : see declaration of 'std::operator <'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\algorithm(3030) : error C2784: 'bool std::operator <(const _Elem *,const std::basic_string<_Elem,_Traits,_Alloc> &)' : could not deduce template argument for 'const _Elem *' from 'Renderer::Label'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\string(140) : see declaration of 'std::operator <'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\algorithm(3030) : error C2784: 'bool std::operator <(const std::basic_string<_Elem,_Traits,_Alloc> &,const std::basic_string<_Elem,_Traits,_Alloc> &)' : could not deduce template argument for 'const std::basic_string<_Elem,_Traits,_Alloc> &' from 'Renderer::Label'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\string(130) : see declaration of 'std::operator <'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\algorithm(3030) : error C2784: 'bool std::operator <(const std::reverse_iterator<_RanIt> &,const std::reverse_iterator<_RanIt2> &)' : could not deduce template argument for 'const std::reverse_iterator<_RanIt> &' from 'Renderer::Label'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xutility(2236) : see declaration of 'std::operator <'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\algorithm(3030) : error C2784: 'bool std::operator <(const std::_Revranit<_RanIt,_Base> &,const std::_Revranit<_RanIt2,_Base2> &)' : could not deduce template argument for 'const std::_Revranit<_RanIt,_Base> &' from 'Renderer::Label'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xutility(2046) : see declaration of 'std::operator <'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\algorithm(3030) : error C2784: 'bool std::operator <(const std::pair<_Ty1,_Ty2> &,const std::pair<_Ty1,_Ty2> &)' : could not deduce template argument for 'const std::pair<_Ty1,_Ty2> &' from 'Renderer::Label'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\utility(84) : see declaration of 'std::operator <'
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\algorithm(3030) : error C2676: binary '<' : 'Renderer::Label' does not define this operator or a conversion to a type acceptable to the predefined operator
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\algorithm(3030) : fatal error C1903: unable to recover from previous error(s); stopping compilation
rendcontext.cpp
regcombine.cpp
parser.cpp
parseobject.cpp
overlay.cpp
orbit.cpp
opencluster.cpp
Generating Code...
Compiling...
observer.cpp
nebula.cpp
multitexture.cpp
modelfile.cpp
model.cpp
meshmanager.cpp
mesh.cpp
marker.cpp
lodspheremesh.cpp
location.cpp
jpleph.cpp
image.cpp
glshader.cpp
glext.cpp
glcontext.cpp
galaxy.cpp
frame.cpp
fragmentprog.cpp
execution.cpp
dsooctree.cpp
Generating Code...
Compiling...
dsoname.cpp
dsodb.cpp
deepskyobj.cpp
dds.cpp
customorbit.cpp
constellation.cpp
console.cpp
command.cpp
cmdparser.cpp
catalogxref.cpp
boundaries.cpp
body.cpp
axisarrow.cpp
astro.cpp
asterism.cpp
wintimer.cpp
windirectory.cpp
util.cpp
utf8.cpp
formatnum.cpp
Generating Code...
Compiling...
filetype.cpp
directory.cpp
debug.cpp
color.cpp
bigfix.cpp
winviewoptsdlg.cpp
winutil.cpp
wintourguide.cpp
wintime.cpp
winstarbrowser.cpp
winssbrowser.cpp
winsplash.cpp
winmain.cpp
winlocations.cpp
winhyperlinks.cpp
wingotodlg.cpp
wineclipses.cpp
windatepicker.cpp
winbookmarks.cpp
wglext.cpp
Generating Code...
Compiling...
url.cpp
scriptmenu.cpp
ODMenu.cpp
imagecapture.cpp
c:\users\tad\documents\celestia-1.5.1\inc\libjpeg\jmorecfg.h(215) : warning C4005: 'FAR' : macro redefinition
C:\Program Files\Microsoft SDKs\Windows\v6.0A\\include\windef.h(146) : see previous definition of 'FAR'
favorites.cpp
eclipsefinder.cpp
destination.cpp
configfile.cpp
celx.cpp
celestiacore.cpp
avicapture.cpp
3dsread.cpp
3dsmodel.cpp
texturefont.cpp
perlin.cpp
frustum.cpp
Generating Code...
Can someone please help me with these errors?
Greetings