[ scummvm-Bugs-1568482 ] MACOSX: Error while building application

SourceForge.net noreply at sourceforge.net
Sat Sep 30 23:41:20 CEST 2006


Bugs item #1568482, was opened at 2006-09-30 23:41
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=1568482&group_id=37116

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Unknown Crash/Other
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: daniel9 (daniel9)
Assigned to: Nobody/Anonymous (nobody)
Summary: MACOSX: Error while building application

Initial Comment:
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.

Daniel Nighne


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=1568482&group_id=37116




More information about the Scummvm-tracker mailing list