[hatari-devel] CMake build system
Christer Solskogen
christer.solskogen at gmail.com
Sat Jan 23 10:59:20 CET 2010
On Sat, Jan 23, 2010 at 10:47 AM, Thomas Huth <huth at users.berlios.de> wrote:
>
> FYI: It's now possible to create a Xcode project with the CMake build
> system, too :-) There are still some issues left (SDLMain.nib is not
> loaded right when the user starts hatari.app), but they can certainly
> be fixed.
>
I'm sorry but it looks even worse now:
tenderheart:hatari solskogen$ ./configure
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found READLINE: /usr/lib/libreadline.dylib
-- Found ZLIB: /usr/lib/libz.dylib
-- Found PNG: /opt/local/lib/libpng.dylib
-- Looking for XOpenDisplay in
/opt/local/lib/libX11.dylib;/opt/local/lib/libXext.dylib
-- Looking for XOpenDisplay in
/opt/local/lib/libX11.dylib;/opt/local/lib/libXext.dylib - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - not found
-- Found X11: /opt/local/lib/libX11.dylib
-- Found PORTAUDIO: /opt/local/lib/libportaudio.dylib
-- Looking for include files HAVE_TERMIOS_H
-- Looking for include files HAVE_TERMIOS_H - found
-- Looking for include files HAVE_GLOB_H
-- Looking for include files HAVE_GLOB_H - found
-- Looking for include files HAVE_STRINGS_H
-- Looking for include files HAVE_STRINGS_H - found
-- Looking for include files HAVE_MALLOC_H
-- Looking for include files HAVE_MALLOC_H - not found.
-- Looking for include files HAVE_SDL_SDL_CONFIG_H
-- Looking for include files HAVE_SDL_SDL_CONFIG_H - not found.
-- Looking for include files HAVE_SYS_TIMES_H
-- Looking for include files HAVE_SYS_TIMES_H - found
-- Looking for include files HAVE_UNIX_DOMAIN_SOCKETS
-- Looking for include files HAVE_UNIX_DOMAIN_SOCKETS - found
-- Looking for cfmakeraw
-- Looking for cfmakeraw - found
-- Looking for setenv
-- Looking for setenv - found
-- Looking for select
-- Looking for select - found
-- Found PythonInterp: /opt/local/bin/python2.6
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/solskogen/source/hatari
Now you must type: make; make install
to actually build and install the software
[ 4%] Building CXX object src/gui-osx/CMakeFiles/GuiOsx.dir/SDLMain.m.o
/Users/solskogen/source/hatari/src/gui-osx/SDLMain.m: In function
'-[SDLMain insertDiskA:]':
/Users/solskogen/source/hatari/src/gui-osx/SDLMain.m:98: warning:
'cString' is deprecated (declared at
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:367)
/Users/solskogen/source/hatari/src/gui-osx/SDLMain.m: In function
'-[SDLMain insertDiskB:]':
/Users/solskogen/source/hatari/src/gui-osx/SDLMain.m:122: warning:
'cString' is deprecated (declared at
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:367)
/Users/solskogen/source/hatari/src/gui-osx/SDLMain.m: In function
'-[SDLMain captureSound:]':
/Users/solskogen/source/hatari/src/gui-osx/SDLMain.m:184: warning:
'stringWithCString:' is deprecated (declared at
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:386)
/Users/solskogen/source/hatari/src/gui-osx/SDLMain.m: In function
'-[SDLMain saveMemorySnap:]':
/Users/solskogen/source/hatari/src/gui-osx/SDLMain.m:236: warning:
'stringWithCString:' is deprecated (declared at
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:386)
/Users/solskogen/source/hatari/src/gui-osx/SDLMain.m: In function
'-[SDLMain restoreMemorySnap:]':
/Users/solskogen/source/hatari/src/gui-osx/SDLMain.m:282: warning:
'stringWithCString:' is deprecated (declared at
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:386)
/Users/solskogen/source/hatari/src/gui-osx/SDLMain.m:308: warning:
'cString' is deprecated (declared at
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h:367)
/Users/solskogen/source/hatari/src/gui-osx/SDLMain.m: In function 'main':
/Users/solskogen/source/hatari/src/gui-osx/SDLMain.m:446: warning:
'poseAsClass:' is deprecated (declared at
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:127)
/Users/solskogen/source/hatari/src/gui-osx/SDLMain.m:446: error:
'poseAsClass:' is unavailable (declared at
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:127)
make[2]: *** [src/gui-osx/CMakeFiles/GuiOsx.dir/SDLMain.m.o] Error 1
make[1]: *** [src/gui-osx/CMakeFiles/GuiOsx.dir/all] Error 2
make: *** [all] Error 2
But I dont really care about hatari.app. I normally start hatari from CLI.
--
chs,
More information about the hatari-devel
mailing list