MACOSX: Error while building application
|Reported by:||SF/daniel9||Owned by:||vinterstum|
|Priority:||normal||Component:||Port: Mac OS X|
Because it took so long for the next Mac OS X build to arrive, I decided not to wait any longer but try to build my own application from the trunk...
I use Mac OS X 10.4.7 with X Code from the installation DVD. I used SmartSVN 2.0.7 to get a copy of the trunk. The Trunk is revision 24046. I used fink to install the SDL libraries, version 1.2.9 I had to edit the configure shell script to make sure it knew where the sdl-config was. Then it created the config.h & config.mk without an error. Then I issued the command "make" and the compiler started. By the way, the compiler is: powerpc-apple-darwin8-g++-4.0.0 It all seems to compile fine until after a few minutes I am confronted with an error:
g++ -Wp,-MMD,"sound/.deps/audiostream.d",-MQ,"sound/audiostream.o",-MP -Wall -g -ansi -W -Wno-unused-parameter -Wno-long-long -Wno-multichar -Wno-unknown-pragmas -pedantic -Wpointer-arith -Wcast-qual -Wconversion -Wshadow -Wimplicit -Wundef -Wnon-virtual-dtor -Wno-reorder -Wwrite-strings -fno-rtti -fno-exceptions -fcheck-new -DHAVE_CONFIG_H -DUNIX -DMACOSX -DDATA_PATH=\"/usr/local/share/scummvm\" -DDISABLE_LURE -DDISABLE_CINE -DDISABLE_AGI -I. -I. -I./engines -I/sw/include/SDL -D_THREAD_SAFE -c sound/audiostream.cpp -o sound/audiostream.o sound/audiostream.cpp: In constructor `Audio::AppendableMemoryStream<stereo, is16Bit, isUnsigned, isLE>::AppendableMemoryStream(int, uint)': sound/audiostream.cpp:264: error: invalid conversion from 'byte*' to 'long int' make: *** [sound/audiostream.o] Error 1
The build is stoped because of this error. As I am not a programmer, I am aware that I might have done something wrong. So as long as programs are complaining about stuff like: not able to find file ...., I am usualy able to track down the problem. But this seems like I did something very wrong, or maybe its a real bug.
I don't know who makes the infrequent Mac OS X builds, but can he/she try to build this version? And if he/she can build it without any problems, what did I do wrong?
Thank you very much for your time.
Ticket imported from: #1568482. Ticket imported from: bugs/2841.