Hi,
I am running Ubuntu and have tried to compile 1.4.0.627_20081018 as described in "Compiler setup Linux"
/doxydoc/html/compileinstructions.html
First, I got the error
winreplace.cpp: In function ‘long int _findfirst(const char*, _finddata_t*)’:
winreplace.cpp:92: error: invalid conversion from ‘const char*’ to ‘char*’
winreplace.cpp:95: error: invalid conversion from ‘const char*’ to ‘char*’
which I could fix by editing winreplace.cpp:
-char *backslash = NULL; // backslash position
+const char *backslash = NULL; // backslash position
(This seems to have been an issue before?
https://aur.archlinux.org/packages.php?ID=21305&detail=1 )
When I compile then, I get the following suspicious warnings during the process:
./ResGen
WARNING: the number of bitmap resources (66) in the resource file (resource.rc) differs from the number of bitmap resources (72) in the header file (resource.h). Note that resource macros have to begin with BMP_ in the header file.
Incomplete resources (i.e. its ID in the header or its filename in the rc file is missing) will not be included
WARNING: the number of sound resources (51) in the resource file (resource.rc) differs from the number of sound resources (53) in the header file (resource.h). Note that resource macros have to begin with SND_ in the header file.
Incomplete resources (i.e. its ID in the header or its filename in the rc file is missing) will not be included
WARNING: only 66 out of 72 bitmap resources were correctly parsed from the resource file (resource.rc).
WARNING: only 51 out of 53 sound resources were correctly parsed from the resource file (resource.rc).
WARNING: BMP_ARENA_SICK (227) will not be included. Empty path.
WARNING: BMP_ARENA_BOMBER (228) will not be included. Empty path.
WARNING: BMP_WINNER_BACKGROUND (243) will not be included. Empty path.
WARNING: BMP_MENU_FONT (245) will not be included. Empty path.
WARNING: BMP_MENU_BACKGROUND (256) will not be included. Empty path.
WARNING: BMP_MENU_FRAME (257) will not be included. Empty path.
WARNING: SND_MENU_SELECT_2 (291) will not be included. Empty path.
WARNING: SND_MENU_SELECT_1 (295) will not be included. Empty path.
Source code was successfully generated.
The final message of the make process is:
make[1]: warning: Clock skew detected. Your build may be incomplete.
I guess it actually IS incomplete?
Typing "LD_LIBRARY_PATH=../RESGEN ./Bombermaaan" in the Bombermaaaan directory (as described on the instruction page) only yields:
LD_LIBRARY_PATH=../RESGEN: Command not found.
I gues I am doing several things wrong? Please help!
Bombermaaan is such a fun game. I just wanted to paint my own sprites...
Thanks,
Linus
Hi Linus,
thank you very much for your interest in painting your own sprites and trying to compile Bombermaaan on Ubuntu Linux.
The last time I've tried to compile it on Ubuntu Linux I didn't succeed either. Unfortunately, I didn't have the luck and time to fix the error. So I'm sorry I cannot provide a solution now.
Regards,
Bernd