I'm an amateur programmer and I would like to play around for a while with the new version of Celestia.
I get a strange problem compiling with MSVC 6.0 on Win XP.
I get compiler errors like the following:
--------------------Configuration: cel3ds - Win32 Debug--------------------
Compiling...
3dsmodel.cpp
c:\MSVS\vc98\celestia1.2.5\src\cel3ds\3dsmodel.h(13) : fatal error C1083: Cannot open include file: 'vector': No such file or directory
3dsread.cpp
c:\MSVS\vc98\celestia1.2.5\src\cel3ds\3dsread.cpp(10) : fatal error C1083: Cannot open include file: 'iomanip': No such file or directory
Error executing cl.exe.
Celestia.exe - 2 error(s), 0 warning(s)
I get the source code with WinCVS and is updated to a few days ago.
It seems that the compiler can't reach the STL headers.
Is the first time that I get this problem.
Suggestions? Anyone can help?
Thank you in advance.
Compiling problem
Go in the "project settings" dialog box.
Select the C/C++ Tab.
Select the category "Preprocessor".
Uncheck the "Ignore standard include paths".
To compile the resource you must to uncheck also the same flag in the resources Tab.
You will need also to create or downoload the following BMP files:
/////////////////////////////////////////////////////////////////////////////
//
// Bitmap
//
IDB_FOLDERCLOSED BITMAP DISCARDABLE "folderclosed.bmp"
IDB_FOLDEROPENED BITMAP DISCARDABLE "folderopened.bmp"
IDB_LOCATION BITMAP DISCARDABLE "location.bmp"
IDB_CAMERA BITMAP DISCARDABLE "camera.bmp"
IDB_CAMCORDER BITMAP DISCARDABLE "camcorder.bmp"
IDB_SCRIPT BITMAP DISCARDABLE "script.bmp"
IDB_CLOCK BITMAP DISCARDABLE "clock.bmp
Theare was a post on the forum a few weeks ago about this.
You can capture or extract these files from the Celestia 1.2.5 executable.
Bye
Select the C/C++ Tab.
Select the category "Preprocessor".
Uncheck the "Ignore standard include paths".
To compile the resource you must to uncheck also the same flag in the resources Tab.
You will need also to create or downoload the following BMP files:
/////////////////////////////////////////////////////////////////////////////
//
// Bitmap
//
IDB_FOLDERCLOSED BITMAP DISCARDABLE "folderclosed.bmp"
IDB_FOLDEROPENED BITMAP DISCARDABLE "folderopened.bmp"
IDB_LOCATION BITMAP DISCARDABLE "location.bmp"
IDB_CAMERA BITMAP DISCARDABLE "camera.bmp"
IDB_CAMCORDER BITMAP DISCARDABLE "camcorder.bmp"
IDB_SCRIPT BITMAP DISCARDABLE "script.bmp"
IDB_CLOCK BITMAP DISCARDABLE "clock.bmp
Theare was a post on the forum a few weeks ago about this.
You can capture or extract these files from the Celestia 1.2.5 executable.
Bye
Thank you for the suggestions.
I was looking at the forum right now.
I've already solved this problem.
I've tried immediately your suggestion. I forgot completely the existance of that flag.
But now I'm getting another problem during compiling. If I don't set the warning level to *none in the C/C++ tab I get a compiler recursive error in STL classes. The compiler generates a large number of warning messages like the following:
Compiling...
3dsmesh.cpp
c:\microsoft visual studio\vc98\include\xtree(151) : warning C4786: '?$reverse_bidirectional_iterator@Viterator@?$_Tree@VTextureInfo@@U?$pair@$$CBVTextureInfo@@H@std@@U_Kfn@?$map@VTextureInfo@@HU?$less@VTextureInfo@@@std@@V?$allocator@H@3@@3@U?$less@VTextureInfo@@@3@V?$allocator@H@3@@std@@U?$pair@$$CBVTextureInfo@@H@3@AAU43@PAU43@H' : identifier was truncated to '255' characters in the browser information
c:\microsoft visual studio\vc98\include\map(46) : see reference to class template instantiation 'std::_Tree<class TextureInfo,struct std::pair<class TextureInfo const ,int>,struct std::map<class TextureInfo,int,struct std::less<class TextureInfo>,class std::allocator<int> >::_Kfn,struct std::less<class TextureInfo>,class std::allocator<int> >' being compiled
c:\microsoft visual studio\vc98\celestia1.2.5\src\celutil\resmanager.h(57) : see reference to class template instantiation 'std::map<class TextureInfo,int,struct std::less<class TextureInfo>,class std::allocator<int> >' being compiled
c:\microsoft visual studio\vc98\celestia1.2.5\src\celengine\3dsmesh.cpp(128) : see reference to class template instantiation 'ResourceManager<class TextureInfo>' being compiled
c:\sviluppo\microsoft visual studio\vc98\include\xtree(154) : warning C4786: '?$reverse_bidirectional_iterator@Vconst_iterator@?$_Tree@VTextureInfo@@U?$pair@$$CBVTextureInfo@@H@std@@U_Kfn@?$map@VTextureInfo@@HU?$less@VTextureInfo@@@std@@V?$allocator
@H@3@@3@U?$less@VTextureInfo@@@3@V?$allocator@H@3@@std@@U?$pair@$$CBVTextureInfo@@H@3@ABU43@PBU43@H' : identifier was truncated to '255' characters in the browser information
c:\microsoft visual studio\vc98\include\map(46) : see reference to class template instantiation 'std::_Tree<class TextureInfo,struct std::pair<class TextureInfo const ,int>,struct std::map<class TextureInfo,int,struct std::less<clas
s TextureInfo>,class std::allocator<int> >::_Kfn,struct std::less<class TextureInfo>,class std::allocator<int> >' being compiled
c:\microsoft visual studio\vc98\celestia1.2.5\src\celutil\resmanager.h(57) : see reference to class template instantiation 'std::map<class TextureInfo,int,struct std::less<class TextureInfo>,class std::allocator<int> >' being compiled
c:\microsoft visual studio\vc98\celestia1.2.5\src\celengine\3dsmesh.cpp(128) : see reference to class template instantiation 'ResourceManager<class TextureInfo>' being compiled
c:\microsoft visual studio\vc98\include\xtree(170) : warning C4786: '??0?$_Tree@VTextureInfo@@U?$pair@$$CBVTextureInfo@@H@std@@U_Kfn@?$map@VTextureInfo@@HU?$less@VTextureInfo@@@std@@V?$allocator@H@3@@3@U?$less@VTextureInfo@@@3@V?$allocator@
H@3@@std@@QAE@PBU?$pair@$$CBVTextureInfo@@H@1@0ABU?$less@VTextureInfo@@@1@_NABV?$allocator@H@1@@Z' : identifier was truncated to '255' characters in the browser information
c:\microsoft visual studio\vc98\include\map(46) : see reference to class template instantiation 'std::_Tree<class TextureInfo,struct std::pair<class TextureInfo const ,int>,struct std::map<class TextureInfo,int,struct std::less<clas
s TextureInfo>,class std::allocator<int> >::_Kfn,struct std::less<class TextureInfo>,class std::allocator<int> >' being compiled
At the end the compiler generates the following error:
Fatal Error C1063compiler limit : compiler stack overflow.
Any suggestion about this problem?
I was looking at the forum right now.
You will need also to create or downoload the following BMP files:
I've already solved this problem.
Go in the "project settings" dialog box.
Select the C/C++ Tab.
Select the category "Preprocessor".
Uncheck the "Ignore standard include paths".
To compile the resource you must to uncheck also the same flag in the resources Tab.
I've tried immediately your suggestion. I forgot completely the existance of that flag.
But now I'm getting another problem during compiling. If I don't set the warning level to *none in the C/C++ tab I get a compiler recursive error in STL classes. The compiler generates a large number of warning messages like the following:
Compiling...
3dsmesh.cpp
c:\microsoft visual studio\vc98\include\xtree(151) : warning C4786: '?$reverse_bidirectional_iterator@Viterator@?$_Tree@VTextureInfo@@U?$pair@$$CBVTextureInfo@@H@std@@U_Kfn@?$map@VTextureInfo@@HU?$less@VTextureInfo@@@std@@V?$allocator@H@3@@3@U?$less@VTextureInfo@@@3@V?$allocator@H@3@@std@@U?$pair@$$CBVTextureInfo@@H@3@AAU43@PAU43@H' : identifier was truncated to '255' characters in the browser information
c:\microsoft visual studio\vc98\include\map(46) : see reference to class template instantiation 'std::_Tree<class TextureInfo,struct std::pair<class TextureInfo const ,int>,struct std::map<class TextureInfo,int,struct std::less<class TextureInfo>,class std::allocator<int> >::_Kfn,struct std::less<class TextureInfo>,class std::allocator<int> >' being compiled
c:\microsoft visual studio\vc98\celestia1.2.5\src\celutil\resmanager.h(57) : see reference to class template instantiation 'std::map<class TextureInfo,int,struct std::less<class TextureInfo>,class std::allocator<int> >' being compiled
c:\microsoft visual studio\vc98\celestia1.2.5\src\celengine\3dsmesh.cpp(128) : see reference to class template instantiation 'ResourceManager<class TextureInfo>' being compiled
c:\sviluppo\microsoft visual studio\vc98\include\xtree(154) : warning C4786: '?$reverse_bidirectional_iterator@Vconst_iterator@?$_Tree@VTextureInfo@@U?$pair@$$CBVTextureInfo@@H@std@@U_Kfn@?$map@VTextureInfo@@HU?$less@VTextureInfo@@@std@@V?$allocator
@H@3@@3@U?$less@VTextureInfo@@@3@V?$allocator@H@3@@std@@U?$pair@$$CBVTextureInfo@@H@3@ABU43@PBU43@H' : identifier was truncated to '255' characters in the browser information
c:\microsoft visual studio\vc98\include\map(46) : see reference to class template instantiation 'std::_Tree<class TextureInfo,struct std::pair<class TextureInfo const ,int>,struct std::map<class TextureInfo,int,struct std::less<clas
s TextureInfo>,class std::allocator<int> >::_Kfn,struct std::less<class TextureInfo>,class std::allocator<int> >' being compiled
c:\microsoft visual studio\vc98\celestia1.2.5\src\celutil\resmanager.h(57) : see reference to class template instantiation 'std::map<class TextureInfo,int,struct std::less<class TextureInfo>,class std::allocator<int> >' being compiled
c:\microsoft visual studio\vc98\celestia1.2.5\src\celengine\3dsmesh.cpp(128) : see reference to class template instantiation 'ResourceManager<class TextureInfo>' being compiled
c:\microsoft visual studio\vc98\include\xtree(170) : warning C4786: '??0?$_Tree@VTextureInfo@@U?$pair@$$CBVTextureInfo@@H@std@@U_Kfn@?$map@VTextureInfo@@HU?$less@VTextureInfo@@@std@@V?$allocator@H@3@@3@U?$less@VTextureInfo@@@3@V?$allocator@
H@3@@std@@QAE@PBU?$pair@$$CBVTextureInfo@@H@1@0ABU?$less@VTextureInfo@@@1@_NABV?$allocator@H@1@@Z' : identifier was truncated to '255' characters in the browser information
c:\microsoft visual studio\vc98\include\map(46) : see reference to class template instantiation 'std::_Tree<class TextureInfo,struct std::pair<class TextureInfo const ,int>,struct std::map<class TextureInfo,int,struct std::less<clas
s TextureInfo>,class std::allocator<int> >::_Kfn,struct std::less<class TextureInfo>,class std::allocator<int> >' being compiled
At the end the compiler generates the following error:
Fatal Error C1063compiler limit : compiler stack overflow.
Any suggestion about this problem?