[hatari-devel] Unable to latest hg on Mac OS X again...
Eero Tamminen
eerot at users.berlios.de
Sun Oct 10 18:55:32 CEST 2010
Hi,
Thomas, although you cannot compile it, at least you're familiar with OSX &
Xcode, so could you look into this...?
It seems SDLMain.m is missing some includes.
(Markus' dissassembler patch added '#include "screen.h" to it.)
On Sunday 10 October 2010, Christer Solskogen wrote:
> [ 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
> -Wfloat-equal -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:334: warning:
> implicit declaration of function ‘DebugUI’
> /Users/solskogen/source/hatari/src/gui-osx/SDLMain.m: In function
> ‘-[SDLMain captureScreen:]’:
> /Users/solskogen/source/hatari/src/gui-osx/SDLMain.m:441: warning:
> implicit declaration of function ‘GuiOsx_Pause’
> /Users/solskogen/source/hatari/src/gui-osx/SDLMain.m:443: warning:
> implicit declaration of function ‘GuiOsx_Resume’
> /Users/solskogen/source/hatari/src/gui-osx/SDLMain.m: In function
> ‘-[SDLMain captureSound:]’:
> /Users/solskogen/source/hatari/src/gui-osx/SDLMain.m:496: warning:
> implicit declaration of function ‘GuiOsx_ExportPathString’
> /Users/solskogen/source/hatari/src/gui-osx/SDLMain.m: In function ‘main’:
> /Users/solskogen/source/hatari/src/gui-osx/SDLMain.m:693: 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
>
> ./configure --cross-compile-win32
Christer, why you're using "--cross-compile-win32" for OSX?
- Eero
More information about the hatari-devel
mailing list