Hello Paul,
I also failed to compile the latest CVS source code. I obtained the libintl.h file
as described here :
http://www.celestiaproject.net/forum/viewtopic ... 8983864ea9
But the compilation still failed. It seems the octree related code has errors:
see errors messages in excerpts from compile.txt :
dsodb.cpp
dsoname.cpp
dsooctree.cpp
dsooctree.cpp(101) : error C2371: 'i' : redefinition; different basic types
dsooctree.cpp(81) : see declaration of 'i'
execution.cpp
fragmentprog.cpp
frame.cpp
regcombine.cpp
render.cpp
render.cpp(6815) : warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
C:\Program Files\Microsoft Visual Studio\VC98\include\algorithm(583) : error C2784: 'bool __cdecl std::operator <(const class std::multimap<_K,_Ty,_Pr,_A> &,const class std::multimap<_K,_Ty,_Pr,_A> &)' : could not deduce template argument for 'const class std::multimap<_K,_Ty,_Pr,_A> &' from 'Renderer::Label'
C:\Program Files\Microsoft Visual Studio\VC98\include\algorithm(548) : see reference to function template instantiation 'void __cdecl std::_Unguarded_insert(Renderer::Label *,Renderer::Label)' being compiled
C:\Program Files\Microsoft
.
.
.
selection.cpp
shadermanager.cpp
shadermanager.cpp(1057) : error C2374: 'i' : redefinition; multiple initialization
shadermanager.cpp(1021) : see declaration of 'i'
simulation.cpp
solarsys.cpp
spheremesh.cpp
star.cpp
starcolors.cpp
stardb.cpp
C:\Program Files\Microsoft Visual Studio\VC98\include\algorithm(856) : error C2784: 'bool __cdecl std::operator <(const class std::multimap<_K,_Ty,_Pr,_A> &,const class std::multimap<_K,_Ty,_Pr,_A> &)' : could not deduce template argument for 'const class std::multimap<_K,_Ty,_Pr,_A> &' from 'struct StarDatabase::CrossIndexEntry'
C:\Program Files\Microsoft Visual Studio\VC98\include\algorithm(847) : see reference to function template instantiation 'struct StarDatabase::CrossIndexEntry *__cdecl std::_Lower_bound(struct StarDatabase::CrossIndexEntry *,struct StarDatabase::CrossIndexEntry *,const struct StarDatabase::CrossIndexEntry &,int *)' being compiled
C:\Program Files\Microsoft Visual Studio\VC98\include\algorithm(856) : error C2784: 'bool __cdecl std::operator <(const class std::map<_K,_Ty,_Pr,_A> &,const class std::map<_K,_Ty,_Pr,_A> &)' : could not deduce template argument for 'const class std::map<_K,_Ty,_Pr,_A> &' from 'struct StarDatabase::CrossIndexEntry'
C:\Program Files\Microsoft Visual Studio\VC98\include\algorithm(847) : see reference to function template instantiation 'struct StarDatabase::CrossIndexEntry *__cdecl std::_Lower_bound(struct StarDatabase::CrossIndexEntry *,struct StarDatabase::CrossIndexEntry *,const struct StarDatabase::CrossIndexEntry &,int *)' being compiled
C:\Program Files\Mic
.
.
.
staroctree.cpp
staroctree.cpp(106) : error C2371: 'i' : redefinition; different basic types
staroctree.cpp(88) : see declaration of 'i'
stellarclass.cpp
texmanager.cpp
texture.cpp
../../inc/libjpeg\jmorecfg.h(215) : warning C4005: 'FAR' : macro redefinition
C:\Program Files\Microsoft Visual Studio\VC98\include\windef.h(135) : see previous definition of 'FAR'
tokenizer.cpp
trajmanager.cpp
univcoord.cpp
universe.cpp
vertexlist.cpp
vertexprog.cpp
virtualtex.cpp
vsop87.cpp
I have tried it with octree.cpp copied from an old directory, but got the
same error messages about staroctree, dsooctree.cpp . I tried it without
octree.cpp and it failed the same way. So that file makes no difference.
Here is my makerelease.bat :
cd src
nmake /f winbuild.mak CFG=Release %1 > c:\CVS4\celestia\compile.txt
cd ..
copy src\celestia\Release\celestia.exe .
Your wish is my command line.