[hatari-devel] Unable to latest hg on Mac OS X again...

Christer Solskogen christer.solskogen at gmail.com
Sun Oct 10 22:37:00 CEST 2010


On Sun, Oct 10, 2010 at 7:57 PM, Jerome Vernet <vernet.jerome at wanadoo.fr> wrote:
>  Hi,
>
> Check that you have all these includes in SDLmain.m:
>
> #include "dialog.h"
> #include "floppy.h"
> #include "reset.h"
> #include "screenSnapShot.h"
> #include "memorySnapShot.h"
> #include "sound.h"
> #include "screen.h"
> #include "video.h"
> #include "avi_record.h"
> #include "PrefsController.h"
> #include "Shared.h"
>
> I think i added screen.h to SDLmain.m for the PALETTE error.
>
> I have a lot of change that wasn't merged in the repo. But they may have
> broken build for MacOsX 10.4.
>

Added them.

[ 45%] Building C object src/CMakeFiles/hatari.dir/gui-osx/SDLMain.m.o
cd /Users/solskogen/source/hatari/src && /usr/bin/gcc
-DCONFDIR=\"/etc\" -Wcast-qual -Wbad-function-cast -Wpointer-arith
-Wmissing-prototypes -Wstrict-prototypes -Wall -Wwrite-strings
-Wsign-compare -Wextra -Wno-unused-parameter -Wno-empty-body
-Wformat-security -O3 -DNDEBUG -I/Users/solskogen/source/hatari
-I/Users/solskogen/source/hatari/src/includes
-I/Users/solskogen/source/hatari/src/debug
-I/Users/solskogen/source/hatari/src/falcon
-I/Users/solskogen/source/hatari/src/uae-cpu -I/opt/local/include/SDL
-I/usr/X11R6/include   -o CMakeFiles/hatari.dir/gui-osx/SDLMain.m.o
-c /Users/solskogen/source/hatari/src/gui-osx/SDLMain.m
In file included from /Users/solskogen/source/hatari/src/gui-osx/SDLMain.m:21:
/Users/solskogen/source/hatari/src/includes/video.h:123: error:
‘HBL_PALETTE_LINES’ undeclared here (not in a function)
/Users/solskogen/source/hatari/src/includes/video.h:125: error:
‘HBL_PALETTE_MASKS’ undeclared here (not in a function)
/Users/solskogen/source/hatari/src/gui-osx/SDLMain.m: In function
‘-[SDLMain debugUI:]’:
/Users/solskogen/source/hatari/src/gui-osx/SDLMain.m:336: warning:
implicit declaration of function ‘DebugUI’
/Users/solskogen/source/hatari/src/gui-osx/SDLMain.m: In function ‘main’:
/Users/solskogen/source/hatari/src/gui-osx/SDLMain.m:695: warning:
passing argument 2 of ‘NSApplicationMain’ from incompatible pointer
type
make[2]: *** [src/CMakeFiles/hatari.dir/gui-osx/SDLMain.m.o] Error 1
make[1]: *** [src/CMakeFiles/hatari.dir/all] Error 2
make: *** [all] Error 2

I'm running 10.6


-- 
chs,



More information about the hatari-devel mailing list