Opened 17 years ago
Closed 17 years ago
Last modified 5 years ago
#2841 closed defect (worksforme)
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.
Change History (5)
comment:1 by , 17 years ago
comment:2 by , 17 years ago
|Status:||new → closed|
comment:3 by , 14 years ago
comment:4 by , 14 years ago
comment:5 by , 5 years ago
|Component:||→ Port: Mac OS X|
Can't tell if this was something that's already been fixed, or if there was a problem on your end.
In either case; it works fine here, and I've put up new builds (I'm currently without internet access at home, which is why they're even more infrequent than usual :) ).
Try to do an svn update, configure, and rebuild. And no need to change the configure script, you can pass the location of sdl-config with the --with-sdl switch (trying a build with an unchanged version makes it simpler to figure out where the problem lies).
If there's still a problem, just reopen this tracker item and we can try to figure it out.