GUIDE: Compiling ResidualVM on a PPC Mac

General chat related to ScummVM, adventure gaming, and so on.

Moderator: ScummVM Team

User avatar
somaen
ScummVM Developer
Posts: 376
Joined: Thu Apr 21, 2011 7:31 pm
Location: Trondheim, NO

Post by somaen »

Fullscreen isn't officially supported, and is therefore hidden.
User avatar
Harrypoppins
Posts: 124
Joined: Sat Apr 25, 2009 1:23 pm

Post by Harrypoppins »

So its normal for the hidden graphics options & mouse cursor ?
(i would know if my compiled residual don't have issue by my fault)
User avatar
somaen
ScummVM Developer
Posts: 376
Joined: Thu Apr 21, 2011 7:31 pm
Location: Trondheim, NO

Post by somaen »

Mouse pointer on top in fullscreen is a known issue.

Fullscreen-option in settings was removed specifically on purpose a while ago. Your current build should also show quite a few of the issues listed on our bug-tracker, and might for instance have problems saving at the end of the petrified forrest.
User avatar
Harrypoppins
Posts: 124
Joined: Sat Apr 25, 2009 1:23 pm

Re: GUIDE: Compiling ResidualVM on a PPC Mac

Post by Harrypoppins »

Sorry for this post. It was a mistake (I'm translating your great tuto in french ^^).
drenkin
Posts: 3
Joined: Sat Aug 06, 2011 4:16 am

Make Bundle failing on G5 running OSX 10.4.11

Post by drenkin »

Although not great with Terminal, I've gradually installed SDL via Fink...Git as well...

The ./configure seems to complete successfully, but the final make bundle command yields this error message, which I haven't found referenced anywhere:

C++ backends/platform/sdl/hardwarekeys.o
C++ backends/platform/sdl/main.o
C++ backends/platform/sdl/sdl.o
C++ backends/platform/sdl/posix/posix-main.o
C++ backends/platform/sdl/posix/posix.o
C++ backends/platform/sdl/macosx/macosx-main.o
C++ backends/platform/sdl/macosx/macosx.o
./backends/mixer/doublebuffersdl/doublebuffersdl-mixer.h:39: error: ISO C++ forbids declaration of 'SDL_Thread' with no type
./backends/mixer/doublebuffersdl/doublebuffersdl-mixer.h:39: error: expected ';' before '*' token
make: *** [backends/platform/sdl/macosx/macosx.o] Error 1


I'ved edited the config.h file as suggested. Does the error message suggest another place I need to edit and specify parameters before 'make bundle'?

Many thanks!
User avatar
somaen
ScummVM Developer
Posts: 376
Joined: Thu Apr 21, 2011 7:31 pm
Location: Trondheim, NO

Post by somaen »

What version of SDL would that be?
drenkin
Posts: 3
Joined: Sat Aug 06, 2011 4:16 am

SDL Version

Post by drenkin »

It's SDL 1.2.8-2, installed via Fink Commander.

Running the install directly through Terminal threw errors originally. Does it need an update of some kind? Thanks for taking the time to consider the problem!
drenkin
Posts: 3
Joined: Sat Aug 06, 2011 4:16 am

Contents of doublebuffersdl-mixer.h

Post by drenkin »

Skipping the 'remarked' scumm text at the beginning, the contents of the file referenced in the error are as follows. Should the line referring to SDL_Thread be edited in some way?

#ifndef BACKENDS_MIXER_DOUBLEBUFFERSDL_H
#define BACKENDS_MIXER_DOUBLEBUFFERSDL_H

#include "backends/mixer/sdl/sdl-mixer.h"

/**
* SDL mixer manager with double buffering support.
*/
class DoubleBufferSDLMixerManager : public SdlMixerManager {
public:
DoubleBufferSDLMixerManager();
virtual ~DoubleBufferSDLMixerManager();

protected:
SDL_mutex *_soundMutex;
SDL_cond *_soundCond;
SDL_Thread *_soundThread;
bool _soundThreadIsRunning;
bool _soundThreadShouldQuit;

byte _activeSoundBuf;
uint _soundBufSize;
byte *_soundBuffers[2];

/**
* Handles and swap the sound buffers
*/
void mixerProducerThread();

/**
* Finish the mixer manager
*/
void deinitThreadedMixer();

/**
* Callback entry point for the sound thread
*/
static int SDLCALL mixerProducerThreadEntry(void *arg);

virtual void startAudio();
virtual void callbackHandler(byte *samples, int len);
};

#endif
User avatar
somaen
ScummVM Developer
Posts: 376
Joined: Thu Apr 21, 2011 7:31 pm
Location: Trondheim, NO

Re: SDL Version

Post by somaen »

drenkin wrote:It's SDL 1.2.8-2, installed via Fink Commander.
Eh, that's rather horribly outdated.

Judging by this:
http://pdb.finkproject.org/pdb/package.php/sdl
1.2.12 should be available, but even that is a bit on the outdated side.

Macports has fresher libs available, and supports 10.5 and later, alternatively, you can install 1.2.14 manually.
User avatar
Harrypoppins
Posts: 124
Joined: Sat Apr 25, 2009 1:23 pm

Post by Harrypoppins »

9. After a short download go on with "./configure". After it finishes, you have to edit
a file called "config.h". You can open it in editor by typing "pico config.h". go down the lines
(arrow-down key), till you see "#ifndef....UINT64" "#define...UINT64" "#endif" and delete these lines. (ONLY THESE!)
There isn't theses lines anymore, here the contents of "config.h" :

Code: Select all

  GNU nano 2.0.1              File: config.h                                    

/* This file is automatically generated by configure */
/* DO NOT EDIT MANUALLY */

#ifndef CONFIG_H
#define CONFIG_H


#undef SCUMM_LITTLE_ENDIAN
#define SCUMM_BIG_ENDIAN

/* #define SCUMM_64BITS */
#define SCUMM_NEED_ALIGNMENT
#undef USE_ELF_LOADER
#undef DYNAMIC_MODULES
#undef USE_MT32EMU
#define USE_RGB_COLOR
#define USE_SAVEGAME_TIMESTAMP
#define USE_SCALERS
#define USE_HQ_SCALERS
#undef USE_VORBIS

/* #define SCUMM_64BITS */
#define SCUMM_NEED_ALIGNMENT
#undef USE_ELF_LOADER
#undef DYNAMIC_MODULES
#undef USE_MT32EMU
#define USE_RGB_COLOR
#define USE_SAVEGAME_TIMESTAMP
#define USE_SCALERS
#define USE_HQ_SCALERS
#undef USE_VORBIS
#undef USE_TREMOR              
#undef USE_FLAC
#undef USE_MAD
#undef USE_ALSA
#undef USE_PNG
#undef USE_THEORADEC
#undef USE_FAAD
#define USE_SEQ_MIDI
#define USE_TIMIDITY
#undef USE_VORBIS
#undef USE_TREMOR              
#undef USE_FLAC
#undef USE_MAD
#undef USE_ALSA
#undef USE_PNG
#undef USE_THEORADEC
#undef USE_FAAD
#define USE_SEQ_MIDI
#define USE_TIMIDITY
#define USE_ZLIB
#undef USE_MPEG2
#undef USE_FLUIDSYNTH
#undef USE_READLINE
#undef USE_TEXT_CONSOLE_FOR_DEBUGGER
#undef USE_TASKBAR_UNITY
#define USE_FREETYPE2
#define USE_OPENGL
#undef USE_GLES
#define USE_TIMIDITY
#define USE_ZLIB
#undef USE_MPEG2
#undef USE_FLUIDSYNTH
#undef USE_READLINE
#undef USE_TEXT_CONSOLE_FOR_DEBUGGER
#undef USE_TASKBAR_UNITY
#define USE_FREETYPE2
#define USE_OPENGL
#undef USE_GLES
#undef USE_NASM
#undef ENABLE_VKEYBD
#undef ENABLE_KEYMAPPER
#undef USE_TRANSLATION
#define USE_TASKBAR
#define USE_BINK
#undef USE_UPDATES

/* #define TAINTED_BUILD */
#undef USE_GLES
#undef USE_NASM
#undef ENABLE_VKEYBD
#undef ENABLE_KEYMAPPER
#undef USE_TRANSLATION
#define USE_TASKBAR
#define USE_BINK
#undef USE_UPDATES

/* #define TAINTED_BUILD */

/* Data types */
typedef unsigned char byte;
typedef unsigned int uint;
typedef unsigned char uint8;
typedef unsigned short uint16;
typedef unsigned int uint32;
typedef signed char int8;
typedef signed short int16;
typedef signed int int32;

/* Data types */
typedef unsigned char byte;
typedef unsigned int uint;
typedef unsigned char uint8;
typedef unsigned short uint16;
typedef unsigned int uint32;
typedef signed char int8;
typedef signed short int16;
typedef signed int int32;

#endif /* CONFIG_H */
                               [ Read 57 lines ]
^G Get Help  ^O WriteOut  ^R Read File ^Y Prev Page ^K Cut Text  ^C Cur Pos
^X Exit      ^J Justify   ^W Where Is  ^V Next Page ^U UnCut Text^T To Spell
[/u]
Which ones shall we delete for compile on ppc ?

I've trying to use "make bundle", but it do not compile :

Code: Select all

new-host:residualvm g5$ make bundle
g++  -L/opt/local/lib  -force_cpusubtype_ALL -o residualvm-static backends/platform/sdl/hardwarekeys.o backends/platform/sdl/main.o backends/platform/sdl/sdl.o backends/platform/sdl/posix/posix-main.o backends/platform/sdl/posix/posix.o backends/platform/sdl/macosx/macosx-main.o backends/platform/sdl/macosx/macosx.o backends/platform/sdl/macosx/appmenu_osx.o   base/libbase.a engines/grim/libgrim.a engines/myst3/libmyst3.a gui/libgui.a backends/libbackends.a engines/libengines.a video/libvideo.a graphics/libgraphics.a audio/libaudio.a math/libmath.a common/libcommon.a \
		-framework CoreMIDI \
		`/opt/local/bin/sdl-config --static-libs` \
		/sw/lib/libz.a \
		
powerpc-apple-darwin9-g++-4.0.1: /sw/lib/libz.a: No such file or directory
make: *** [residualvm-static] Error 1
new-host:residualvm g5$ 
Thanks. :)
aquadran
ScummVM Developer
Posts: 110
Joined: Wed Sep 21, 2005 7:00 pm

Post by aquadran »

run configure with --with-staticlib-prefix=/opt/local
User avatar
Harrypoppins
Posts: 124
Joined: Sat Apr 25, 2009 1:23 pm

Post by Harrypoppins »

Thanks for answer, i've use this command line :

Code: Select all

./configure --with-staticlib-prefix=/opt/local
and

Code: Select all

make bundle
But i get an error message at the end :

Code: Select all

new-host:residualvm g5$ make bundle
    C++      backends/platform/sdl/hardwarekeys.o
    C++      backends/platform/sdl/main.o
    C++      backends/platform/sdl/sdl.o
    C++      backends/platform/sdl/posix/posix-main.o
    C++      backends/platform/sdl/posix/posix.o
    C++      backends/platform/sdl/macosx/macosx-main.o
    C++      backends/platform/sdl/macosx/macosx.o
    C++      backends/platform/sdl/macosx/appmenu_osx.o
    C++      base/main.o
    C++      base/commandLine.o
    C++      base/plugins.o
    C++      engines/grim/costume/bitmap_component.o
    C++      engines/grim/costume/chore.o
    C++      engines/grim/costume/colormap_component.o
    C++      engines/grim/costume/component.o
    C++      engines/grim/costume/head.o
    C++      engines/grim/costume/keyframe_component.o
    C++      engines/grim/costume/lua_var_component.o
    C++      engines/grim/costume/main_model_component.o
    C++      engines/grim/costume/material_component.o
    C++      engines/grim/costume/mesh_component.o
    C++      engines/grim/costume/model_component.o
    C++      engines/grim/costume/sound_component.o
    C++      engines/grim/costume/sprite_component.o
    C++      engines/grim/emi/costume/emianim_component.o
    C++      engines/grim/emi/costume/emimesh_component.o
    C++      engines/grim/emi/costume/emiskel_component.o
    C++      engines/grim/emi/costume/emisprite_component.o
    C++      engines/grim/emi/sound/aifftrack.o
    C++      engines/grim/emi/sound/mp3track.o
    C++      engines/grim/emi/sound/scxtrack.o
    C++      engines/grim/emi/sound/vimatrack.o
    C++      engines/grim/emi/sound/track.o
    C++      engines/grim/emi/sound/emisound.o
    C++      engines/grim/emi/sound/codecs/scx.o
    C++      engines/grim/emi/animationemi.o
    C++      engines/grim/emi/costumeemi.o
    C++      engines/grim/emi/modelemi.o
    C++      engines/grim/emi/skeleton.o
    C++      engines/grim/emi/lua_v2.o
    C++      engines/grim/emi/lua_v2_actor.o
    C++      engines/grim/emi/lua_v2_sound.o
    C++      engines/grim/imuse/imuse.o
    C++      engines/grim/imuse/imuse_mcmp_mgr.o
    C++      engines/grim/imuse/imuse_music.o
    C++      engines/grim/imuse/imuse_script.o
    C++      engines/grim/imuse/imuse_sndmgr.o
    C++      engines/grim/imuse/imuse_tables.o
    C++      engines/grim/imuse/imuse_track.o
    C++      engines/grim/lua/lapi.o
    C++      engines/grim/lua/lauxlib.o
    C++      engines/grim/lua/lbuffer.o
    C++      engines/grim/lua/lbuiltin.o
    C++      engines/grim/lua/ldo.o
    C++      engines/grim/lua/lfunc.o
    C++      engines/grim/lua/lgc.o
    C++      engines/grim/lua/liolib.o
    C++      engines/grim/lua/llex.o
    C++      engines/grim/lua/lmathlib.o
    C++      engines/grim/lua/lmem.o
    C++      engines/grim/lua/lobject.o
    C++      engines/grim/lua/lrestore.o
    C++      engines/grim/lua/lsave.o
    C++      engines/grim/lua/lstate.o
    C++      engines/grim/lua/lstring.o
    C++      engines/grim/lua/lstrlib.o
    C++      engines/grim/lua/lstx.o
    C++      engines/grim/lua/ltable.o
    C++      engines/grim/lua/ltask.o
    C++      engines/grim/lua/ltm.o
    C++      engines/grim/lua/lundump.o
    C++      engines/grim/lua/lvm.o
    C++      engines/grim/lua/lzio.o
    C++      engines/grim/movie/codecs/blocky8.o
    C++      engines/grim/movie/codecs/blocky16.o
    C++      engines/grim/movie/codecs/vima.o
    C++      engines/grim/movie/codecs/smush_decoder.o
    C++      engines/grim/movie/bink.o
    C++      engines/grim/movie/mpeg.o
    C++      engines/grim/movie/smush.o
    C++      engines/grim/movie/movie.o
    C++      engines/grim/update/packfile.o
    C++      engines/grim/update/mscab.o
    C++      engines/grim/update/lang_filter.o
    C++      engines/grim/update/update.o
    C++      engines/grim/actor.o
    C++      engines/grim/animation.o
    C++      engines/grim/bitmap.o
    C++      engines/grim/costume.o
    C++      engines/grim/color.o
    C++      engines/grim/colormap.o
    C++      engines/grim/debug.o
    C++      engines/grim/detection.o
    C++      engines/grim/font.o
    C++      engines/grim/gfx_base.o
    C++      engines/grim/gfx_opengl.o
    C++      engines/grim/gfx_tinygl.o
    C++      engines/grim/grim.o
    C++      engines/grim/grim_controls.o
    C++      engines/grim/inputdialog.o
    C++      engines/grim/iris.o
    C++      engines/grim/keyframe.o
    C++      engines/grim/lab.o
    C++      engines/grim/lipsync.o
    C++      engines/grim/localize.o
    C++      engines/grim/lua.o
    C++      engines/grim/lua_v1.o
    C++      engines/grim/lua_v1_actor.o
    C++      engines/grim/lua_v1_graphics.o
    C++      engines/grim/lua_v1_sound.o
    C++      engines/grim/lua_v1_text.o
    C++      engines/grim/material.o
    C++      engines/grim/model.o
    C++      engines/grim/objectstate.o
    C++      engines/grim/primitives.o
    C++      engines/grim/patchr.o
    C++      engines/grim/registry.o
    C++      engines/grim/resource.o
    C++      engines/grim/savegame.o
    C++      engines/grim/set.o
    C++      engines/grim/sector.o
    C++      engines/grim/sound.o
    C++      engines/grim/stuffit.o
    C++      engines/grim/textobject.o
    C++      engines/grim/textsplit.o
    C++      engines/grim/object.o
    AR       engines/grim/libgrim.a
ranlib: file: engines/grim/libgrim.a(mpeg.o) has no symbols
    RANLIB   engines/grim/libgrim.a
ranlib: file: engines/grim/libgrim.a(mpeg.o) has no symbols
    C++      engines/myst3/archive.o
    C++      engines/myst3/console.o
    C++      engines/myst3/cursor.o
    C++      engines/myst3/database.o
    C++      engines/myst3/detection.o
    C++      engines/myst3/directoryentry.o
    C++      engines/myst3/directorysubentry.o
    C++      engines/myst3/gfx.o
    C++      engines/myst3/hotspot.o
    C++      engines/myst3/inventory.o
    C++      engines/myst3/menu.o
    C++      engines/myst3/movie.o
    C++      engines/myst3/myst3.o
    C++      engines/myst3/node.o
    C++      engines/myst3/nodecube.o
    C++      engines/myst3/nodeframe.o
    C++      engines/myst3/puzzles.o
    C++      engines/myst3/scene.o
    C++      engines/myst3/script.o
    C++      engines/myst3/sound.o
    C++      engines/myst3/state.o
    C++      engines/myst3/subtitles.o
    AR       engines/myst3/libmyst3.a
    RANLIB   engines/myst3/libmyst3.a
    C++      gui/about.o
    C++      gui/chooser.o
    C++      gui/console.o
    C++      gui/debugger.o
    C++      gui/dialog.o
    C++      gui/error.o
    C++      gui/gui-manager.o
gui/gui-manager.cpp: In member function ÔÇÿbool GUI::GuiManager::loadNewTheme(Common::String, GUI::ThemeEngine::GraphicsMode, bool)':
gui/gui-manager.cpp:191: warning: comparison between signed and unsigned integer expressions
gui/gui-manager.cpp: In member function ÔÇÿvoid GUI::GuiManager::redraw()':
gui/gui-manager.cpp:226: warning: comparison between signed and unsigned integer expressions
gui/gui-manager.cpp: In member function ÔÇÿvoid GUI::GuiManager::screenChange()':
gui/gui-manager.cpp:518: warning: comparison between signed and unsigned integer expressions
    C++      gui/launcher.o
    C++      gui/massadd.o
    C++      gui/message.o
    C++      gui/object.o
    C++      gui/options.o
gui/options.cpp: In member function ÔÇÿCommon::String GUI::OptionsDialog::renderType2GUIO(uint32)':
gui/options.cpp:951: warning: comparison between signed and unsigned integer expressions
    C++      gui/saveload.o
    C++      gui/themebrowser.o
    C++      gui/ThemeEngine.o
    C++      gui/ThemeEval.o
    C++      gui/ThemeLayout.o
    C++      gui/ThemeParser.o
    C++      gui/Tooltip.o
    C++      gui/widget.o
    C++      gui/widgets/editable.o
    C++      gui/widgets/edittext.o
    C++      gui/widgets/list.o
    C++      gui/widgets/popup.o
    C++      gui/widgets/scrollbar.o
    C++      gui/widgets/tab.o
    C++      gui/browser_osx.o
    AR       gui/libgui.a
    RANLIB   gui/libgui.a
    C++      backends/base-backend.o
    C++      backends/modular-backend.o
    C++      backends/audiocd/default/default-audiocd.o
    C++      backends/events/default/default-events.o
    C++      backends/fs/abstract-fs.o
    C++      backends/fs/stdiostream.o
    C++      backends/log/log.o
    C++      backends/midi/alsa.o
    C++      backends/midi/dmedia.o
    C++      backends/midi/seq.o
    C++      backends/midi/stmidi.o
    C++      backends/midi/timidity.o
    C++      backends/saves/savefile.o
    C++      backends/saves/default/default-saves.o
    C++      backends/timer/default/default-timer.o
    C++      backends/events/sdl/sdl-events.o
    C++      backends/graphics/sdl/sdl-graphics.o
    C++      backends/graphics/surfacesdl/surfacesdl-graphics.o
    C++      backends/mixer/doublebuffersdl/doublebuffersdl-mixer.o
    C++      backends/mixer/sdl/sdl-mixer.o
    C++      backends/mutex/sdl/sdl-mutex.o
    C++      backends/plugins/sdl/sdl-provider.o
    C++      backends/timer/sdl/sdl-timer.o
    C++      backends/audiocd/sdl/sdl-audiocd.o
    C++      backends/fs/posix/posix-fs.o
    C++      backends/fs/posix/posix-fs-factory.o
    C++      backends/plugins/posix/posix-provider.o
    C++      backends/saves/posix/posix-saves.o
    C++      backends/taskbar/unity/unity-taskbar.o
    C++      backends/midi/coreaudio.o
    C++      backends/midi/coremidi.o
    C++      backends/updates/macosx/macosx-updates.o
    AR       backends/libbackends.a
ranlib: file: backends/libbackends.a(alsa.o) has no symbols
ranlib: file: backends/libbackends.a(dmedia.o) has no symbols
ranlib: file: backends/libbackends.a(stmidi.o) has no symbols
ranlib: file: backends/libbackends.a(sdl-provider.o) has no symbols
ranlib: file: backends/libbackends.a(posix-provider.o) has no symbols
ranlib: file: backends/libbackends.a(unity-taskbar.o) has no symbols
ranlib: file: backends/libbackends.a(macosx-updates.o) has no symbols
    RANLIB   backends/libbackends.a
ranlib: file: backends/libbackends.a(alsa.o) has no symbols
ranlib: file: backends/libbackends.a(dmedia.o) has no symbols
ranlib: file: backends/libbackends.a(stmidi.o) has no symbols
ranlib: file: backends/libbackends.a(sdl-provider.o) has no symbols
ranlib: file: backends/libbackends.a(posix-provider.o) has no symbols
ranlib: file: backends/libbackends.a(unity-taskbar.o) has no symbols
ranlib: file: backends/libbackends.a(macosx-updates.o) has no symbols
    C++      engines/advancedDetector.o
    C++      engines/dialogs.o
    C++      engines/engine.o
    C++      engines/game.o
    C++      engines/obsolete.o
    C++      engines/savestate.o
    AR       engines/libengines.a
    RANLIB   engines/libengines.a
    C++      video/mpeg_player.o
    C++      video/video_decoder.o
    C++      video/bink_decoder.o
    C++      video/bink_decoder_seek.o
    AR       video/libvideo.a
    RANLIB   video/libvideo.a
    C++      graphics/cursorman.o
    C++      graphics/font.o
    C++      graphics/fontman.o
    C++      graphics/fonts/bdf.o
    C++      graphics/fonts/consolefont.o
    C++      graphics/fonts/newfont_big.o
    C++      graphics/fonts/newfont.o
    C++      graphics/fonts/ttf.o
    C++      graphics/imagedec.o
    C++      graphics/jpeg.o
    C++      graphics/primitives.o
    C++      graphics/surface.o
    C++      graphics/thumbnail.o
    C++      graphics/VectorRenderer.o
    C++      graphics/VectorRendererSpec.o
    C++      graphics/yuv_to_rgb.o
    C++      graphics/yuva_to_rgba.o
    C++      graphics/pixelbuffer.o
    C++      graphics/tinygl/api.o
    C++      graphics/tinygl/arrays.o
    C++      graphics/tinygl/clear.o
    C++      graphics/tinygl/clip.o
    C++      graphics/tinygl/get.o
    C++      graphics/tinygl/image_util.o
    C++      graphics/tinygl/init.o
    C++      graphics/tinygl/light.o
    C++      graphics/tinygl/list.o
    C++      graphics/tinygl/matrix.o
    C++      graphics/tinygl/memory.o
    C++      graphics/tinygl/misc.o
    C++      graphics/tinygl/select.o
    C++      graphics/tinygl/specbuf.o
    C++      graphics/tinygl/texture.o
    C++      graphics/tinygl/vertex.o
    C++      graphics/tinygl/zbuffer.o
    C++      graphics/tinygl/zline.o
    C++      graphics/tinygl/zmath.o
    C++      graphics/tinygl/ztriangle.o
    C++      graphics/tinygl/ztriangle_shadow.o
    AR       graphics/libgraphics.a
    RANLIB   graphics/libgraphics.a
    C++      audio/audiostream.o
    C++      audio/fmopl.o
    C++      audio/mididrv.o
    C++      audio/midiparser.o
    C++      audio/mixer.o
    C++      audio/mpu401.o
    C++      audio/musicplugin.o
    C++      audio/null.o
    C++      audio/timestamp.o
    C++      audio/decoders/adpcm.o
    C++      audio/decoders/aiff.o
    C++      audio/decoders/flac.o
    C++      audio/decoders/mp3.o
    C++      audio/decoders/raw.o
    C++      audio/decoders/vorbis.o
    C++      audio/decoders/wave.o
    C++      audio/decoders/xa.o
    C++      audio/softsynth/adlib.o
    C++      audio/softsynth/cms.o
    C++      audio/softsynth/opl/dbopl.o
    C++      audio/softsynth/opl/dosbox.o
    C++      audio/softsynth/opl/mame.o
    C++      audio/softsynth/fluidsynth.o
    C++      audio/softsynth/mt32.o
    C++      audio/rate.o
    AR       audio/libaudio.a
ranlib: file: audio/libaudio.a(flac.o) has no symbols
ranlib: file: audio/libaudio.a(mp3.o) has no symbols
ranlib: file: audio/libaudio.a(vorbis.o) has no symbols
ranlib: file: audio/libaudio.a(fluidsynth.o) has no symbols
ranlib: file: audio/libaudio.a(mt32.o) has no symbols
    RANLIB   audio/libaudio.a
ranlib: file: audio/libaudio.a(flac.o) has no symbols
ranlib: file: audio/libaudio.a(mp3.o) has no symbols
ranlib: file: audio/libaudio.a(vorbis.o) has no symbols
ranlib: file: audio/libaudio.a(fluidsynth.o) has no symbols
ranlib: file: audio/libaudio.a(mt32.o) has no symbols
    C++      math/angle.o
    C++      math/matrix3.o
    C++      math/matrix4.o
    C++      math/line3d.o
    C++      math/line2d.o
    C++      math/quat.o
    C++      math/rect2d.o
    C++      math/vector2d.o
    C++      math/vector3d.o
    C++      math/vector4d.o
    AR       math/libmath.a
    RANLIB   math/libmath.a
    C++      common/archive.o
    C++      common/config-file.o
    C++      common/config-manager.o
    C++      common/debug.o
    C++      common/streamdebug.o
    C++      common/error.o
    C++      common/EventDispatcher.o
    C++      common/EventMapper.o
    C++      common/EventRecorder.o
    C++      common/file.o
    C++      common/fs.o
    C++      common/hashmap.o
    C++      common/macresman.o
    C++      common/memorypool.o
    C++      common/md5.o
    C++      common/mutex.o
    C++      common/random.o
    C++      common/rational.o
    C++      common/str.o
    C++      common/stream.o
    C++      common/system.o
    C++      common/textconsole.o
    C++      common/tokenizer.o
    C++      common/translation.o
    C++      common/unzip.o
    C++      common/util.o
    C++      common/xmlparser.o
    C++      common/zlib.o
    C++      common/cosinetables.o
    C++      common/dct.o
    C++      common/fft.o
    C++      common/huffman.o
    C++      common/rdft.o
    C++      common/sinetables.o
    AR       common/libcommon.a
ranlib: file: common/libcommon.a(translation.o) has no symbols
    RANLIB   common/libcommon.a
ranlib: file: common/libcommon.a(translation.o) has no symbols
    C++      base/version.o
    AR       base/libbase.a
    RANLIB   base/libbase.a
g++  -L/opt/local/lib  -force_cpusubtype_ALL -o residualvm-static backends/platform/sdl/hardwarekeys.o backends/platform/sdl/main.o backends/platform/sdl/sdl.o backends/platform/sdl/posix/posix-main.o backends/platform/sdl/posix/posix.o backends/platform/sdl/macosx/macosx-main.o backends/platform/sdl/macosx/macosx.o backends/platform/sdl/macosx/appmenu_osx.o   base/libbase.a engines/grim/libgrim.a engines/myst3/libmyst3.a gui/libgui.a backends/libbackends.a engines/libengines.a video/libvideo.a graphics/libgraphics.a audio/libaudio.a math/libmath.a common/libcommon.a \
		-framework CoreMIDI \
		`/opt/local/bin/sdl-config --static-libs` \
		/opt/local/lib/libz.a \
		
Undefined symbols:
  "_FT_Get_Char_Index", referenced from:
      Graphics::TTFFont::cacheGlyph(Graphics::TTFFont::Glyph&, unsigned int&, unsigned int)in libgraphics.a(ttf.o)
  "_FT_New_Memory_Face", referenced from:
      Graphics::TTFLibrary::loadFont(unsigned char const*, unsigned int, FT_FaceRec_*&)in libgraphics.a(ttf.o)
  "_FT_MulFix", referenced from:
      Graphics::TTFFont::load(Common::SeekableReadStream&, int, bool, unsigned int const*)in libgraphics.a(ttf.o)
      Graphics::TTFFont::load(Common::SeekableReadStream&, int, bool, unsigned int const*)in libgraphics.a(ttf.o)
      Graphics::TTFFont::load(Common::SeekableReadStream&, int, bool, unsigned int const*)in libgraphics.a(ttf.o)
  "_FT_Get_Kerning", referenced from:
      Graphics::TTFFont::getKerningOffset(unsigned char, unsigned char) constin libgraphics.a(ttf.o)
  "_FT_Done_FreeType", referenced from:
      Graphics::TTFLibrary::~TTFLibrary()in libgraphics.a(ttf.o)
      Graphics::TTFLibrary::~TTFLibrary()in libgraphics.a(ttf.o)
      Graphics::TTFLibrary::~TTFLibrary()in libgraphics.a(ttf.o)
  "_FT_Done_Face", referenced from:
      Graphics::TTFLibrary::closeFont(FT_FaceRec_*&)      in libgraphics.a(ttf.o)
  "_FT_Set_Char_Size", referenced from:
      Graphics::TTFFont::load(Common::SeekableReadStream&, int, bool, unsigned int const*)in libgraphics.a(ttf.o)
  "_FT_Load_Glyph", referenced from:
      Graphics::TTFFont::cacheGlyph(Graphics::TTFFont::Glyph&, unsigned int&, unsigned int)in libgraphics.a(ttf.o)
  "_FT_Render_Glyph", referenced from:
      Graphics::TTFFont::cacheGlyph(Graphics::TTFFont::Glyph&, unsigned int&, unsigned int)in libgraphics.a(ttf.o)
  "_FT_Init_FreeType", referenced from:
      Graphics::TTFLibrary::TTFLibrary()in libgraphics.a(ttf.o)
      Graphics::TTFLibrary::TTFLibrary()in libgraphics.a(ttf.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [residualvm-static] Error 1
Any idea ? Thanks.
aquadran
ScummVM Developer
Posts: 110
Joined: Wed Sep 21, 2005 7:00 pm

Post by aquadran »

adding freetype into bundle is not solved yet.
you can disable freetype for now by removing line in config.h:
#define USE_FREETYPE2
User avatar
Harrypoppins
Posts: 124
Joined: Sat Apr 25, 2009 1:23 pm

Post by Harrypoppins »

Yeah thanks aquadran for support. ^^

Here is a version compiled on a Ppc / Leopard :
http://www.mediafire.com/?a6ao91qcy8zc9zr
(ver 0.2.0gitb4f8e09 Mar 20 2012 18:47:29)
aquadran
ScummVM Developer
Posts: 110
Joined: Wed Sep 21, 2005 7:00 pm

Post by aquadran »

Harrypoppins wrote:Yeah thanks aquadran for support. ^^

Here is a version compiled on a Ppc / Leopard :
http://www.mediafire.com/?a6ao91qcy8zc9zr
(ver 0.2.0gitb4f8e09 Mar 20 2012 18:47:29)
freetype support is fixed now in sources, you can rebuild it
Post Reply