Hello:
I have pulled the latest source code distribution from the sourceforge CVS archive, and I am building for windows using vc++.
All of my libraries build OK, but when it compiles the resource file it complains about missing files in the .\res directory: folderclosed.bmp, folderopened.bmp, location.bmp, camera.bmp, camcorder.bmp, script.bmp, and clock.bmp.
This question was asked by someone else in this forum about a month ago, but unfortunately it got buried by a long discussion of an unrelated problem, and was never answered.
Thanks for your help,
Tim Crews
missing .bmp files in latest cvs distribution
It was me that post this problem one month ago. Sorry to have put two points in the same message.
However that is minor problem. Just desable the corresponding call in the RC file, with /* */ (sorry I don't know (remember) the exact wording in english!). You just will miss the corresponding images.
MB
However that is minor problem. Just desable the corresponding call in the RC file, with /* */ (sorry I don't know (remember) the exact wording in english!). You just will miss the corresponding images.
MB
MB:
You are in luck, I am in fact a Windows developer. I just did a search on my entire system drive for the files, and did not find them. Not even in my Visual Studio.NET directory.
As an additional data point, links to the .bmp files are found in the Visual C++ project file. Their paths are qualified with .\res. This is where all of the .ico files referred to by the .rc file are found. I have to believe that the .bmp files are meant to be there, too.
Tim
You are in luck, I am in fact a Windows developer. I just did a search on my entire system drive for the files, and did not find them. Not even in my Visual Studio.NET directory.
As an additional data point, links to the .bmp files are found in the Visual C++ project file. Their paths are qualified with .\res. This is where all of the .ico files referred to by the .rc file are found. I have to believe that the .bmp files are meant to be there, too.
Tim
Kendrix:
I have not been able to find copies of these files. However, it certainly appears to me that the references to these files in celestia.rc are so-called "dead code", since the references can be commented out and seems to have no effect on the resulting executable. In other words, open celestia.rc with your favorite text editor, and change the following lines:
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"
to
//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"
I have not been able to find copies of these files. However, it certainly appears to me that the references to these files in celestia.rc are so-called "dead code", since the references can be commented out and seems to have no effect on the resulting executable. In other words, open celestia.rc with your favorite text editor, and change the following lines:
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"
to
//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"