Page 1 of 1
missing .bmp files in latest cvs distribution
Posted: 27.11.2002, 06:42
by timcrews
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
Posted: 27.11.2002, 08:36
by MB
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
Posted: 29.11.2002, 09:06
by MB
timcrews
Finally, I was able to extract the *.bmp icons from the last celestia pre7 .exe. If you are still interested leave me a message how I can send you the corresponding files. I don't have web site available
MB
Posted: 30.11.2002, 02:47
by timcrews
Well, I can get by for the time being simply by commenting out the references in the .res file. Thanks for offering, though.
However, I have to wonder why the files aren't present in the CVS repository? Where else would they be?
Tim Crews
Posted: 02.12.2002, 08:30
by MB
They are probably in VSC++ or in Windows, but in versions more recent than mine (VSC++6.0 and W2000Pro). No answer from any "Windows"!!) member of the"Celestia" team.
MB
Posted: 02.12.2002, 16:36
by timcrews
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
Posted: 27.12.2002, 00:19
by Kendrix
Can someone send me these bmp files please ?
kendrix@wanadoo.fr
thanx !
Posted: 27.12.2002, 00:37
by timcrews
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"
Posted: 27.12.2002, 00:41
by Kendrix
That's what I did... But you haven't the little icons in the menus by soing this :o(