Topic: Сборка под Mac OS

Здравствуйте!

Подскажите пожалуйста, как собрать Instead не используя pkg-config? Как, например, руками указать расположение исходников lua, sdl, zlib?

Re: Сборка под Mac OS

К сожалению мака у нас пока нет, а мой сгорел уже года три как smile Но собрать инстед, уверен, можно. Проще всего поставить fink, но будет не совсем нативно.

Вообще, сборка сильно зависит от того, в какой среде она выполняется.

Все можно менять в make файлах ( и переопределять в config.make)

Типовое содержание config.make:
EXTRA_CFLAGS+=-D_USE_GTK -D_USE_BROWSE
EXTRA_CFLAGS+=$(shell pkg-config --cflags gtk+-2.0)
EXTRA_LDFLAGS+=$(shell pkg-config --libs gtk+-2.0)
ZLIB_CFLAGS=$(shell pkg-config --cflags zlib)
ZLIB_LFLAGS=$(shell pkg-config --libs zlib)
LUA_CFLAGS=$(shell pkg-config --cflags lua)
LUA_LFLAGS=$(shell pkg-config --libs lua)
SDL_CFLAGS=$(shell sdl-config --cflags)
SDL_LFLAGS=$(shell sdl-config --libs) -lSDL_ttf -lSDL_mixer -lSDL_image

Для флагов sdl не нужен pkg-config, там используется sdl-config, остальные переменные определить в соответствии с вашей средой, к сожалению -- без опыта сборки это нетривиальная задача. sad

Re: Сборка под Mac OS

Полностью согласен насчёт опыта сборки, однако он не появится от лежания на диване. wink Тем более, я уже собирал программы под Mac OS (так же как и под Linux'ом), просто с некоторыми вещами встречаюсь впервые. Буду руку набивать.  cool

Fink стоит, но в его репозитории пакеты старые, поэтому всегда беру свежие с официальных сайтов.

Так эта, всё же ручками прописать пути как-нибудь можно, ведь pkg-config, как я понимаю, это и делает (возвращает пути, флаги компиляции)?  roll

Re: Сборка под Mac OS

Да, ну вот там и прописать набор -I флагов и -L -l....

-I указывает на пути к заголовочным файлам
-L к библиотекам
-l библиотеки которые подключать..

Наверное есть смысл найти в инете туториал по сборке SDL в macos X.

В моей системе sdl-config --cflags --libs дает следующее
-L/usr/lib -lSDL -lpthread
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT

pkg-config --cflags lua --libs
-llua -lm
и .т.д.
Но это зависит от системы

прописать это в config.make, примерно как выше указано.

Если что -- как могу -- помогу smile

5 (edited by .dm 2010-07-23 20:39:13)

Re: Сборка под Mac OS

Бу-го-го  big_smile , только что нашёл интересный комментарий по-поводу того, почему в Mac'е pkg-config не находит пакет lua51:

"pkg-config --list-all | grep lua" produces nothing.
The problem is that there is no .pc file in the lua source. These stupid
developpers answered me that they want to reduce the number of files in
their tarball when i asked why there is no .pc file. Do you believe it ??
On linux distro, package maintainers usually add a .pc file.

Собственно всегда так и делал - собирал следуя инструкциям разработчиков.

Спасибо, буду дальше пробовать!

PS. В общем как оказалось - кривые руки, т.к. использовал самостоятельно собранный pkg-config, потому и не находил.  roll

Re: Сборка под Mac OS

На данный момент заглох на:


...
Undefined symbols:
  "_fopen64", referenced from:
      _fopen64_file_func in ioapi.o
      _do_extract_currentfile in unpack.o
      _do_extract_currentfile in unpack.o
     (maybe you meant: _fill_fopen64_filefunc)
  "_fseeko64", referenced from:
      _fseek64_file_func in ioapi.o
  "_ftello64", referenced from:
      _ftell64_file_func in ioapi.o
  "_libiconv_open", referenced from:
      _fromgame in instead.o
      _togame in instead.o
  "_libiconv_close", referenced from:
      _fromgame in instead.o
      _fromgame in instead.o
      _togame in instead.o
      _togame in instead.o
  "_libiconv", referenced from:
      _decode in util.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [sdl-instead] Error 1
make: *** [all] Error 1

Видимо чего-то не хватает.

Re: Сборка под Mac OS

Отлично. iconv можно пока для простоты отрубить. Для этого нужно убрать -D_HAVE_ICONV в makefile.

Насчет unpack - тоже пока стоит убрать -D_USE_UNPACK и -D_USE_BROWSE


Это и не соберется на маке сейчас -- не будет автоматического открытия из zip и диалога открытия файла -- но это не страшно!

iconv потом сделаем - -главное что бы хоть так заработало. iconv сейчас только в URQ играх задействован.

Правда, для zip можно попробовать:
-DUSE_FILE32API
И тогда оставить -D_USE_UNPACK

Re: Сборка под Mac OS

Скомпилировалось, но при запуске падает (извиняюсь за "простыню"):


Process:         sdl-instead [14700]
Path:            /Applications/Instead.app/Contents/MacOS/./sdl-instead
Identifier:      ru.Instead
Version:         ??? (???)
Code Type:       X86 (Native)
Parent Process:  bash [14020]

Date/Time:       2010-07-23 21:17:28.779 +0400
OS Version:      Mac OS X 10.6.4 (10F2025)
Report Version:  6

Interval Since Last Report:          367777 sec
Crashes Since Last Report:           11
Per-App Interval Since Last Report:  8 sec
Per-App Crashes Since Last Report:   3
Anonymous UUID:                      A43AEF1D-BE6C-4FF9-A1C5-AFBE85AA0D8D

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Application Specific Information:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Error (1002) creating CGSWindow'
*** Call stack at first throw:
(
    0   CoreFoundation                      0x988a6bba __raiseError + 410
    1   libobjc.A.dylib                     0x92e9b509 objc_exception_throw + 56
    2   CoreFoundation                      0x988a68e8 +[NSException raise:format:arguments:] + 136
    3   CoreFoundation                      0x988a685a +[NSException raise:format:] + 58
    4   AppKit                              0x93428c9a _NSCreateWindowWithOpaqueShape2 + 519
    5   AppKit                              0x933adbbe -[NSWindow _commonAwake] + 1624
    6   AppKit                              0x933aa886 -[NSWindow _commonInitFrame:styleMask:backing:defer:] + 1524
    7   AppKit                              0x933a94d9 -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1568
    8   AppKit                              0x933a8eb3 -[NSWindow initWithContentRect:styleMask:backing:defer:] + 71
    9   libSDL-1.2.0.dylib                  0x000737df -[SDL_QuartzWindow initWithContentRect:styleMask:backing:defer:] + 335
    10  libSDL-1.2.0.dylib                  0x0007088b QZ_SetVideoMode + 1163
    11  libSDL-1.2.0.dylib                  0x00066851 SDL_SetVideoMode + 545
    12  sdl-instead                         0x00003930 gfx_set_mode + 120
    13  sdl-instead                         0x00009400 game_apply_theme + 143
    14  sdl-instead                         0x0000a1c7 game_init + 412
    15  sdl-instead                         0x00010b9e main + 2270
    16  sdl-instead                         0x00001a99 start + 53
)


Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   com.apple.CoreFoundation          0x988f1a07 ___TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION___ + 7
1   libobjc.A.dylib                   0x92e9b509 objc_exception_throw + 56
2   com.apple.AppKit                  0x933adbfa -[NSWindow _commonAwake] + 1684
3   com.apple.AppKit                  0x933aa886 -[NSWindow _commonInitFrame:styleMask:backing:defer:] + 1524
4   com.apple.AppKit                  0x933a94d9 -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1568
5   com.apple.AppKit                  0x933a8eb3 -[NSWindow initWithContentRect:styleMask:backing:defer:] + 71
6   libSDL-1.2.0.dylib                0x000737df -[SDL_QuartzWindow initWithContentRect:styleMask:backing:defer:] + 335
7   libSDL-1.2.0.dylib                0x0007088b QZ_SetVideoMode + 1163
8   libSDL-1.2.0.dylib                0x00066851 SDL_SetVideoMode + 545
9   ru.Instead                        0x00003930 gfx_set_mode + 120 (graphics.c:995)
10  ru.Instead                        0x00009400 game_apply_theme + 143 (game.c:453)
11  ru.Instead                        0x0000a1c7 game_init + 412 (game.c:690)
12  ru.Instead                        0x00010b9e main + 2270 (main.c:226)
13  ru.Instead                        0x00001a99 start + 53

Thread 1:  Dispatch queue: com.apple.libdispatch-manager
0   libSystem.B.dylib                 0x93184922 kevent + 10
1   libSystem.B.dylib                 0x9318503c _dispatch_mgr_invoke + 215
2   libSystem.B.dylib                 0x931844f9 _dispatch_queue_invoke + 163
3   libSystem.B.dylib                 0x9318429e _dispatch_worker_thread2 + 240
4   libSystem.B.dylib                 0x93183d21 _pthread_wqthread + 390
5   libSystem.B.dylib                 0x93183b66 start_wqthread + 30

Thread 2:
0   libSystem.B.dylib                 0x931839b2 __workq_kernreturn + 10
1   libSystem.B.dylib                 0x93183f48 _pthread_wqthread + 941
2   libSystem.B.dylib                 0x93183b66 start_wqthread + 30

Thread 3:
0   libSystem.B.dylib                 0x9318c046 __semwait_signal + 10
1   libSystem.B.dylib                 0x931b7c44 nanosleep$UNIX2003 + 188
2   libSDL-1.2.0.dylib                0x00091603 SDL_Delay + 99
3   libSDL-1.2.0.dylib                0x0009164c RunTimer + 44
4   libSDL-1.2.0.dylib                0x0004490d SDL_RunThread + 61
5   libSDL-1.2.0.dylib                0x0008c4f1 RunThread + 17
6   libSystem.B.dylib                 0x9318b7fd _pthread_start + 345
7   libSystem.B.dylib                 0x9318b682 thread_start + 34

Thread 4:
0   libSystem.B.dylib                 0x9315e13a semaphore_timedwait_signal_trap + 10
1   libSystem.B.dylib                 0x9318bc85 _pthread_cond_wait + 1066
2   libSystem.B.dylib                 0x931ba828 pthread_cond_timedwait_relative_np + 47
3   com.apple.audio.CoreAudio         0x9827f805 CAGuard::WaitFor(unsigned long long) + 219
4   com.apple.audio.CoreAudio         0x98282837 CAGuard::WaitUntil(unsigned long long) + 289
5   com.apple.audio.CoreAudio         0x98280134 HP_IOThread::WorkLoop() + 1892
6   com.apple.audio.CoreAudio         0x9827f9cb HP_IOThread::ThreadEntry(HP_IOThread*) + 17
7   com.apple.audio.CoreAudio         0x9827f8e2 CAPThread::Entry(CAPThread*) + 140
8   libSystem.B.dylib                 0x9318b7fd _pthread_start + 345
9   libSystem.B.dylib                 0x9318b682 thread_start + 34

Thread 0 crashed with X86 Thread State (32-bit):
  eax: 0x00000000  ebx: 0x92e9b4e5  ecx: 0xa049d500  edx: 0x0000003b
  edi: 0xa046aaf0  esi: 0x01811140  ebp: 0xbffff1a8  esp: 0xbffff190
   ss: 0x0000001f  efl: 0x00000286  eip: 0x988f1a07   cs: 0x00000017
   ds: 0x0000001f   es: 0x0000001f   fs: 0x00000000   gs: 0x00000037
  cr2: 0x15cf6000

Binary Images:
    0x1000 -    0x22ff7 +ru.Instead ??? (???) <26851F30-F27A-4978-758C-316A2FC666C3> /Applications/Instead.app/Contents/MacOS/sdl-instead
   0x3a000 -    0x98f07 +libSDL-1.2.0.dylib 12.3.0 (compatibility 12.0.0) <5842130B-30C0-F0B8-14CB-68A4DDCDC0B8> /sw/lib/libSDL-1.2.0.dylib
   0xc7000 -    0xcaff7 +libSDL_ttf-2.0.0.dylib 7.3.0 (compatibility 7.0.0) <22E5AB36-A8B4-839C-6AA9-67EAD4DAF22C> /sw/lib/libSDL_ttf-2.0.0.dylib
   0xce000 -    0xe8fe7 +libSDL_mixer-1.2.0.dylib 11.1.0 (compatibility 11.0.0) <B33C4FE0-C877-1A3A-AA9F-D8BC4AA1C3BB> /sw/lib/libSDL_mixer-1.2.0.dylib
  0x121000 -   0x126ff7 +libSDL_image-1.2.0.dylib 9.2.0 (compatibility 9.0.0) <BA42808A-6050-33C6-3C11-6C1FE124D122> /sw/lib/libSDL_image-1.2.0.dylib
  0x12b000 -   0x14bfe7 +liblua.5.1.dylib 5.1.4 (compatibility 5.1.0) <9E8D86AD-11CB-3200-C564-752F58261538> /sw/lib/liblua.5.1.dylib
  0x153000 -   0x1bffe7 +libfreetype.6.dylib 10.19.0 (compatibility 10.0.0) <CF76396B-CA0B-4985-D8A5-512586E137E0> /sw/lib/freetype219/lib/libfreetype.6.dylib
  0x1eb000 -   0x228ff7 +libmikmod.2.dylib 3.4.0 (compatibility 3.0.0) <1A293A5D-0E99-88BB-494C-C8723F3185F3> /sw/lib/libmikmod.2.dylib
  0x23e000 -   0x245ff7 +libvorbisfile.3.dylib 7.2.0 (compatibility 7.0.0) <B709CB3D-ACAB-6A17-045B-EBEA4264F07D> /sw/lib/libvorbisfile.3.dylib
  0x24a000 -   0x270fe7 +libvorbis.0.dylib 5.3.0 (compatibility 5.0.0) <5CFB98D9-3A23-9A50-96FF-333B1A0C3F59> /sw/lib/libvorbis.0.dylib
  0x278000 -   0x27afe7 +libogg.0.dylib 7.0.0 (compatibility 7.0.0) <39A60C15-71E9-90C3-C14A-409540C2A444> /sw/lib/libogg.0.dylib
  0x27f000 -   0x2b8fef +libsmpeg-0.4.0.dylib 2.3.0 (compatibility 2.0.0) <4AEB5DAF-5EE4-46DE-462B-2EB39D51716D> /sw/lib/libsmpeg-0.4.0.dylib
  0x2e7000 -   0x305fe7 +libpng12.0.dylib 36.0.0 (compatibility 36.0.0) <F0C730FE-738C-3307-A0A4-FF98FF467921> /sw/lib/libpng12.0.dylib
  0x313000 -   0x35eff7 +libtiff.3.dylib 12.2.0 (compatibility 12.0.0) <624C43F6-D13C-77FB-3136-CF683ACB3344> /sw/lib/libtiff.3.dylib
  0x372000 -   0x38dfe7 +libjpeg.62.dylib 63.0.0 (compatibility 63.0.0) <6297F545-30A0-743B-431F-8DC3F24CE466> /sw/lib/libjpeg.62.dylib
0x129a7000 - 0x129abff3  com.apple.audio.AudioIPCPlugIn 1.1.2 (1.1.2) <23178B39-F098-C12F-CF82-641B7BD0AD57> /System/Library/Extensions/AudioIPCDriver.kext/Contents/Resources/AudioIPCPlugIn.bundle/Contents/MacOS/AudioIPCPlugIn
0x129b0000 - 0x129b6ffb  com.apple.audio.AppleHDAHALPlugIn 1.8.9 (1.8.9f1) <8B0EB21B-39DE-1ABA-31F5-05236DFEA68F> /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn
0x12a08000 - 0x12a0bfef  com.apple.LiveType.component 2.1.3 (2.1.3) /Library/QuickTime/LiveType.component/Contents/MacOS/LiveType
0x15b9a000 - 0x15bfffde  com.apple.LiveType.framework 2.1.3 (2.1.3) /System/Library/PrivateFrameworks/LiveType.framework/Versions/A/LiveType
0x15c1f000 - 0x15c8cfff +com.DivXInc.DivXDecoder 6.6.0 (6.6.0) /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder
0x15c9b000 - 0x15ce1fc3  com.apple.motion.component 1.0 (1.0) <77973A13-4E79-426F-853F-2318E52A2207> /Library/QuickTime/Motion.component/Contents/MacOS/Motion
0x15ce7000 - 0x15cea02f  Motion ??? (???) <B5E862EE-E0FF-4F86-A789-98E3E601A18C> /Library/Frameworks/Motion.framework/Versions/A/Motion
0x70000000 - 0x700caffb  com.apple.audio.units.Components 1.6.1 (1.6.1) <DF4C68F0-54D1-00CD-DFCA-CD002D2F81A9> /System/Library/Components/CoreAudio.component/Contents/MacOS/CoreAudio
0x8fe00000 - 0x8fe4162b  dyld 132.1 (???) <283EE026-C0FE-1FF9-DB81-BFB155793157> /usr/lib/dyld
0x9005f000 - 0x9007eff7  com.apple.CoreVideo 1.6.1 (45.5) <86B97614-575D-1E81-0E8A-4D85337A0832> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x900ee000 - 0x90116ff7  libxslt.1.dylib 3.24.0 (compatibility 3.0.0) <12FBE8CB-CC8E-FE8A-7362-C852625C5AAF> /usr/lib/libxslt.1.dylib
0x90117000 - 0x90906557  com.apple.CoreGraphics 1.545.0 (???) <9271F1E6-C1CB-25FD-328C-A7FA83874286> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0x90a4a000 - 0x90a66fe3  com.apple.openscripting 1.3.1 (???) <0E6B81D1-C1BD-1B5F-836F-256E6701B5DE> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
0x90c93000 - 0x90d3bffb  com.apple.QD 3.35 (???) <70D824C5-C1DF-A0E7-22EC-533B2C10957A> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
0x90d3c000 - 0x90d9dfe7  com.apple.CoreText 3.1.0 (???) <98011243-2CCE-DED0-5326-98DA0CA8577D> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/Versions/A/CoreText
0x90dd7000 - 0x91d28fe3  com.apple.QuickTimeComponents.component 7.6.6 (1744) /System/Library/QuickTime/QuickTimeComponents.component/Contents/MacOS/QuickTimeComponents
0x91d77000 - 0x91e27ff3  com.apple.ColorSync 4.6.3 (4.6.3) <0354B408-665F-8B3F-87FF-64E6322276F0> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
0x91eb5000 - 0x91f35feb  com.apple.SearchKit 1.3.0 (1.3.0) <7AE32A31-2B8E-E271-C03A-7A0F7BAFC85C> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
0x91fac000 - 0x92044fe7  edu.mit.Kerberos 6.5.10 (6.5.10) <8B83AFF3-C074-E47C-4BD0-4546EED0D1BC> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
0x9206c000 - 0x92080ffb  com.apple.speech.synthesis.framework 3.10.35 (3.10.35) <9F5CE4F7-D05C-8C14-4B76-E43D07A8A680> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x92081000 - 0x9213afe7  libsqlite3.dylib 9.6.0 (compatibility 9.0.0) <67555A35-8B46-B206-049F-C99A9603E731> /usr/lib/libsqlite3.dylib
0x9213b000 - 0x92205fef  com.apple.CoreServices.OSServices 357 (357) <0FBFDD45-1044-AF1F-D562-4F420CC5105A> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x92206000 - 0x92209fe7  libmathCommon.A.dylib 315.0.0 (compatibility 1.0.0) <1622A54F-1A98-2CBE-B6A4-2122981A500E> /usr/lib/system/libmathCommon.A.dylib
0x9220a000 - 0x922dbfe3  ColorSyncDeprecated.dylib 4.6.0 (compatibility 1.0.0) <631392F6-6E50-278C-70FF-7969E35C498D> /System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Versions/A/Resources/ColorSyncDeprecated.dylib
0x922fc000 - 0x92731ff7  libLAPACK.dylib 219.0.0 (compatibility 1.0.0) <4D2F47EF-BD32-1E3C-6A0A-438896ADE2BE> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
0x92750000 - 0x92760ff7  libsasl2.2.dylib 3.15.0 (compatibility 3.0.0) <E276514D-394B-2FDD-6264-07A444AA6A4E> /usr/lib/libsasl2.2.dylib
0x927ed000 - 0x927f0ff7  libCGXType.A.dylib 545.0.0 (compatibility 64.0.0) <E6B608C5-69CA-42E3-E58B-664D1EC9271F> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGXType.A.dylib
0x92804000 - 0x92932fe7  com.apple.CoreData 102.1 (251) <0C2636F3-CCB4-5ED9-1D3E-5AE36BE57071> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x92933000 - 0x92a0efe7  com.apple.DesktopServices 1.5.8 (1.5.8) <272AE180-E337-C756-D51B-19C1079642EB> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
0x92a8e000 - 0x92b6bff7  com.apple.vImage 4.0 (4.0) <D979C8BC-7011-A45C-7141-39FC1043CC87> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
0x92b6c000 - 0x92c6dfe7  libxml2.2.dylib 10.3.0 (compatibility 10.0.0) <BBBC1E4C-024F-3C81-7CB1-70DB451A3E6A> /usr/lib/libxml2.2.dylib
0x92c6e000 - 0x92c7cfe7  libz.1.dylib 1.2.3 (compatibility 1.0.0) <E1B922F4-23DC-467E-631F-7E1B9C9F51CB> /usr/lib/libz.1.dylib
0x92e59000 - 0x92e7ffff  com.apple.DictionaryServices 1.1.1 (1.1.1) <72D54B80-2D85-5BAB-CBB4-8002E150635D> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
0x92e80000 - 0x92e83ffb  com.apple.help 1.3.1 (41) <6A5AD406-9D8E-5BAC-51E1-E09AB9A6D159> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
0x92e8c000 - 0x92e90ff7  libGFXShared.dylib ??? (???) <4BE18F70-DF45-93A1-2592-D859D90CA07D> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib
0x92e91000 - 0x92f3efe7  libobjc.A.dylib 227.0.0 (compatibility 1.0.0) <F237B77D-75A3-7240-931D-4735B91D365F> /usr/lib/libobjc.A.dylib
0x92f41000 - 0x92f62fe7  com.apple.opencl 12.1 (12.1) <25FCD241-0CD2-E217-046E-21D9D879DC19> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
0x92f8b000 - 0x92fe6ff7  com.apple.framework.IOKit 2.0 (???) <6C04C7FA-0DA7-DBF1-4315-4EC89BC7491E> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x92fe7000 - 0x930f3ff7  libGLProgrammability.dylib ??? (???) <C49E4708-1C1B-FE20-6907-DD4EC17B7C17> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgrammability.dylib
0x9310b000 - 0x9315cff7  com.apple.HIServices 1.8.0 (???) <5FA723CA-B04B-0576-1511-D1FAD5AF0546> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
0x9315d000 - 0x93303feb  libSystem.B.dylib 125.2.0 (compatibility 1.0.0) <EE7086F2-C772-1358-3139-9692655C5B4B> /usr/lib/libSystem.B.dylib
0x93304000 - 0x93346ff7  libvDSP.dylib 268.0.1 (compatibility 1.0.0) <1AE34B00-8A62-1E51-935F-BB3F0E4BE50F> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
0x93390000 - 0x93c70ff7  com.apple.AppKit 6.6.6 (1038.29) <6F28C335-6DC2-AE0E-B79A-F256DBD0BB45> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x93c7d000 - 0x93ce7fe7  libstdc++.6.dylib 7.9.0 (compatibility 7.0.0) <411D87F4-B7E1-44EB-F201-F8B4F9227213> /usr/lib/libstdc++.6.dylib
0x93ce8000 - 0x93d23feb  libFontRegistry.dylib ??? (???) <A102F61F-25D5-001A-20C3-56304C585072> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontRegistry.dylib
0x93d24000 - 0x93e5bff7  com.apple.CoreAUC 6.04.02 (6.04.02) <65AB4812-D502-6CC0-D1CB-00B3CBF94DC0> /System/Library/PrivateFrameworks/CoreAUC.framework/Versions/A/CoreAUC
0x93e5c000 - 0x940ccffb  com.apple.Foundation 6.6.3 (751.29) <E77D3906-99F4-FEF4-FBB0-86FB3C94073E> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x940cd000 - 0x940dfff7  com.apple.MultitouchSupport.framework 204.13 (204.13) <66810F2F-BE5A-AFE6-7EE4-F0029C15D29B> /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSupport
0x94154000 - 0x9415fff7  libGL.dylib ??? (???) <B87E0676-F5EF-8DA3-6DEE-13C43B3832A7> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x94160000 - 0x94162ff7  com.apple.securityhi 4.0 (36638) <E8A89905-2DDD-674D-BA2F-AB7574825AF2> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
0x94474000 - 0x9462efe3  com.apple.ImageIO.framework 3.0.3 (3.0.3) <1EE81582-F114-89DA-C7BD-12577059E46F> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
0x94700000 - 0x94962ff3  com.apple.security 6.1.1 (37594) <44CB07C4-909D-26AA-504E-547267F76088> /System/Library/Frameworks/Security.framework/Versions/A/Security
0x9496d000 - 0x949b1ff3  com.apple.coreui 2 (114) <1A3C3B7F-3837-6477-3114-47F6BFD56CB2> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
0x949b2000 - 0x949b5ff7  libCoreVMClient.dylib ??? (???) <C889F9B8-2ED0-1D8E-8243-938CF0F24906> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib
0x94a26000 - 0x94aa8ffb  SecurityFoundation 36840.0.0 (compatibility 1.0.0) <D7A06F33-723C-81DB-CAA3-EB19C570928C> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation
0x94ab4000 - 0x94b62ff3  com.apple.ink.framework 1.3.3 (107) <E215794C-F3E9-C067-8882-9054796DDA8A> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
0x94b63000 - 0x94e87fef  com.apple.HIToolbox 1.6.3 (???) <0A5F56E2-9AF3-728D-70AE-429522AEAD8A> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x94e88000 - 0x94ea0ff7  com.apple.CFOpenDirectory 10.6 (10.6) <3F5A2267-3C89-63A1-724D-3C09538BE092> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory
0x94ea1000 - 0x94eadff7  libkxld.dylib ??? (???) <1F2907C1-3CFD-52BC-6453-DE6D3A61A3E6> /usr/lib/system/libkxld.dylib
0x94eeb000 - 0x94eebff7  com.apple.Accelerate 1.6 (Accelerate 1.6) <3891A689-4F38-FACD-38B2-4BF937DE30CF> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x94f17000 - 0x94f1eff3  com.apple.print.framework.Print 6.1 (237.1) <726A7F31-8C27-8403-0016-71E022EDC14C> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
0x95068000 - 0x95068ff7  com.apple.ApplicationServices 38 (38) <EAF1BC8C-4FD4-4300-B8F7-4B24E49125E2> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
0x95069000 - 0x9509cff7  com.apple.AE 496.4 (496.4) <23F0DB1F-2856-0091-80AE-BDEF9A4F1731> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0x9509d000 - 0x9509dff7  liblangid.dylib ??? (???) <FCC37057-CDD7-2AF1-21AF-52A06C4048FF> /usr/lib/liblangid.dylib
0x95ae9000 - 0x95b26ff7  com.apple.SystemConfiguration 1.10.2 (1.10.2) <398BB007-41FD-1A30-26D8-CB86ED5E467E> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x95c93000 - 0x95cb3fe7  libresolv.9.dylib 41.0.0 (compatibility 1.0.0) <584B2B30-DC65-6930-F59F-C49FD5604B67> /usr/lib/libresolv.9.dylib
0x95cb4000 - 0x95cb4ff7  com.apple.Carbon 150 (152) <1F2FB8A6-43E4-CF72-DE53-5ED0FC185016> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x95cb5000 - 0x95d52fe3  com.apple.LaunchServices 362.1 (362.1) <032B92E3-78C1-6E1E-A817-6F4534408A24> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
0x95da0000 - 0x95eccfff  com.apple.audio.toolbox.AudioToolbox 1.6.3 (1.6.3) <EC38C454-4402-9A96-94ED-40608C9B0326> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x95ecd000 - 0x96235ff7  com.apple.QuartzCore 1.6.2 (227.22) <78560F52-094F-1A39-C13F-3520A77D9934> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x96236000 - 0x9626eff7  libcups.2.dylib 2.8.0 (compatibility 2.0.0) <A492D3AA-B9DD-68BC-9709-EA879EBAA479> /usr/lib/libcups.2.dylib
0x968f6000 - 0x96900fe7  com.apple.audio.SoundManager 3.9.3 (3.9.3) <DE0E0EF6-8190-3F65-6BDD-5AC9D8A025D6> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/A/CarbonSound
0x96a2e000 - 0x96a2eff7  com.apple.vecLib 3.6 (vecLib 3.6) <FF4DC8B6-0AB0-DEE8-ADA8-7B57645A1F36> /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
0x96a4e000 - 0x96a91ff7  libGLU.dylib ??? (???) <4AC490D2-518F-9126-5CC6-94F4B92E519A> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x96b87000 - 0x96c19fe3  com.apple.print.framework.PrintCore 6.2 (312.5) <71C60B1F-2DD7-3321-0DEC-7947ACFBE977> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
0x96c21000 - 0x96c43fef  com.apple.DirectoryService.Framework 3.6 (621.4) <B88E98EF-7F17-F988-62A4-3DEC0832B3B7> /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryService
0x96c44000 - 0x96c45ff7  com.apple.audio.units.AudioUnit 1.6.3 (1.6.3) <ED2173F9-15C7-5F90-0B36-3ACAD1E6886C> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x96c46000 - 0x96c46ff7  com.apple.Cocoa 6.6 (???) <5A785062-1ABB-2A54-BAAC-8FEF95275E05> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x96c47000 - 0x96c4eff7  com.apple.agl 3.0.12 (AGL-3.0.12) <2CD05E5D-69DB-3A8F-0275-510AD2A8D24E> /System/Library/Frameworks/AGL.framework/Versions/A/AGL
0x96cca000 - 0x96feafeb  com.apple.CoreServices.CarbonCore 861.16 (861.16) <138C5764-3EF3-FEF9-0B92-0E2385BC9FFD> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x96feb000 - 0x97086ff7  com.apple.ApplicationServices.ATS 4.3 (???) <7ECA252B-5F67-2816-A4F0-73E1DC833728> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
0x976dc000 - 0x9771fff7  com.apple.NavigationServices 3.5.4 (182) <FE19D51B-233A-69EC-9E36-B89D0EA438C1> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationServices.framework/Versions/A/NavigationServices
0x977ff000 - 0x97813fe7  libbsm.0.dylib ??? (???) <B328FA0A-899C-4FC4-F2AC-2FDC08819CD2> /usr/lib/libbsm.0.dylib
0x97814000 - 0x97825ff7  com.apple.LangAnalysis 1.6.6 (1.6.6) <97511CC7-FE23-5AC3-2EE2-B5479FAEB316> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
0x97826000 - 0x97830ffb  com.apple.speech.recognition.framework 3.11.1 (3.11.1) <90C38107-AEE7-AE55-5C51-28D129B19BCD> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
0x97831000 - 0x97875fe7  com.apple.Metadata 10.6.3 (507.10) <66A0C1AA-942C-91FD-A99E-2E6DBE404189> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
0x97a7d000 - 0x97aaeff7  libGLImage.dylib ??? (???) <B46073F5-F07C-4C1E-5EB7-D0D396129A34> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
0x97aaf000 - 0x97c31fe7  libicucore.A.dylib 40.0.0 (compatibility 1.0.0) <2314BD12-0821-75BB-F3BC-98D324CFD30A> /usr/lib/libicucore.A.dylib
0x97c32000 - 0x97c36ff7  libGIF.dylib ??? (???) <0D62C3C3-919A-97FD-AEF4-122A51510E47> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x97c4d000 - 0x97cbcff7  libvMisc.dylib 268.0.1 (compatibility 1.0.0) <B3DEACA1-9375-CF8F-0898-AA2C5F8159DC> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
0x97cbd000 - 0x97cfeff7  libRIP.A.dylib 545.0.0 (compatibility 64.0.0) <D4848B71-6745-4EC3-B6F1-1ACE09FCD9BB> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x97d3f000 - 0x97d44ff7  com.apple.OpenDirectory 10.6 (10.6) <27D81AE3-DB56-3872-8CBB-BE88EF5DB3B3> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
0x97d45000 - 0x97d69ff7  libJPEG.dylib ??? (???) <651B18F8-D3E9-5C5F-F856-38F3A0E20ECD> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x97de4000 - 0x97e94fe3  com.apple.QuickTimeImporters.component 7.6.6 (1744) <E6C05723-5D6E-1993-55B5-F2770A78C4A4> /System/Library/QuickTime/QuickTimeImporters.component/Contents/MacOS/QuickTimeImporters
0x97e95000 - 0x97ea0ff7  libCSync.A.dylib 545.0.0 (compatibility 64.0.0) <1A9E96A0-E3CB-2243-AB01-0192CBD8BF2B> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x97ea1000 - 0x98220fe3  com.apple.RawCamera.bundle 3.0.3 (529) <68958A8F-F1AC-A73C-3172-BC17F18EC5FC> /System/Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera
0x98251000 - 0x9825eff7  com.apple.NetFS 3.2.1 (3.2.1) <E2AFCE90-0DF6-C3B5-A123-222259E985FF> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
0x9825f000 - 0x982dafe7  com.apple.audio.CoreAudio 3.2.2 (3.2.2) <EE8DB5C7-E961-E98B-F49E-632F6697A024> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x982db000 - 0x982dbff7  com.apple.Accelerate.vecLib 3.6 (vecLib 3.6) <ABF97DA4-3BDF-6FFD-6239-B023CA1F7974> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
0x982e7000 - 0x982edfff  com.apple.CommonPanels 1.2.4 (91) <CE92759E-865E-8A3B-1488-ECD497E4074D> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
0x983bd000 - 0x983d2fff  com.apple.ImageCapture 6.0 (6.0) <04BD774A-2A1A-DA87-0885-10A7E8EB3E3F> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
0x983d3000 - 0x98423ff7  com.apple.framework.familycontrols 2.0.1 (2010) <B9762E20-543D-13B9-F6BF-E8585F04CA01> /System/Library/PrivateFrameworks/FamilyControls.framework/Versions/A/FamilyControls
0x98514000 - 0x9855aff7  libauto.dylib ??? (???) <7FE46BC8-ED91-12A7-83D0-2102D37CA32D> /usr/lib/libauto.dylib
0x9855b000 - 0x98604ff7  com.apple.CFNetwork 454.9.7 (454.9.7) <EEED90C9-DE8D-A894-1135-59CEC4838D68> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x98605000 - 0x98609ff7  IOSurface ??? (???) <B0A524EF-3BC8-CD8D-B9D2-081E3FB0AA1A> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
0x9860a000 - 0x9863bff3  libTrueTypeScaler.dylib ??? (???) <7601D717-236D-8F4E-91F5-E69BB2920478> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libTrueTypeScaler.dylib
0x98785000 - 0x987d2feb  com.apple.DirectoryService.PasswordServerFramework 6.0 (6.0) <27F3FF53-F818-9836-2101-3E963FE0C0E0> /System/Library/PrivateFrameworks/PasswordServer.framework/Versions/A/PasswordServer
0x987d3000 - 0x9894dfe3  com.apple.CoreFoundation 6.6.3 (550.29) <00373783-3744-F47D-2191-BEEA658F0C3D> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x9894e000 - 0x98a04ffb  libFontParser.dylib ??? (???) <067DC1A2-764B-41EA-B07E-4205472749B7> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontParser.dylib
0x98a05000 - 0x98a0eff7  com.apple.DiskArbitration 2.3 (2.3) <6AA6DDF6-AFC3-BBDB-751A-64AE3580A49E> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x98a66000 - 0x98e7cff7  libBLAS.dylib 219.0.0 (compatibility 1.0.0) <9D89FCB3-24C9-8FCF-DB49-27B184AC3222> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
0x98e7d000 - 0x98e7eff7  com.apple.TrustEvaluationAgent 1.1 (1) <06484720-AB50-6FD9-B5BF-05F5A640C9E5> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent
0x98e7f000 - 0x98e9aff7  libPng.dylib ??? (???) <6402DF91-839A-BC6E-D4AC-3396493CC51D> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
0x98faa000 - 0x98facff7  libRadiance.dylib ??? (???) <02AF7753-752E-0E89-6DD9-64526433B3C2> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x99008000 - 0x99008ff7  com.apple.CoreServices 44 (44) <B9461120-F72A-D28F-D0CF-5647958BD3F9> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x99009000 - 0x99017ff7  com.apple.opengl 1.6.8 (1.6.8) <C2DDBECC-0A24-C9D6-EF24-1A48AD8306A1> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x9920e000 - 0x99257fe7  libTIFF.dylib ??? (???) <194FF121-D02E-B824-1E84-A36454113CF6> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x99299000 - 0x9938bff7  libcrypto.0.9.8.dylib 0.9.8 (compatibility 0.9.8) <3CFD18CB-2953-8F9E-468D-7E64D19109A8> /usr/lib/libcrypto.0.9.8.dylib
0x9938c000 - 0x99685fef  com.apple.QuickTime 7.6.6 (1744) <17505A8C-D8FA-E7B6-402E-5B08A6ED251A> /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
0x9983f000 - 0x998a3fff  com.apple.htmlrendering 72 (1.1.4) <0D22B190-513B-7FF6-39FC-9D336285DE08> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering
0xffff0000 - 0xffff1fff  libSystem.B.dylib ??? (???) <EE7086F2-C772-1358-3139-9692655C5B4B> /usr/lib/libSystem.B.dylib

либо тоже самое, но при запуске в терминале:

2010-07-23 21:22:22.539 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x41bb00 of class NSCFNumber autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.542 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x41bfd0 of class NSCFNumber autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.542 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x41bc10 of class NSCFNumber autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.543 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x41eb40 of class NSCFDictionary autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.543 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0xa04bd0ec of class NSCFString autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.544 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x41a260 of class NSCFNumber autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.544 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0xa04c2c1c of class NSCFString autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.545 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x41a250 of class NSCFNumber autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.545 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0xa04c2c8c of class NSCFString autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.546 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x41ec20 of class NSCFNumber autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.546 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0xa04c2f8c of class NSCFString autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.547 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x41ec20 of class NSCFNumber autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.547 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0xa04c2c8c of class NSCFString autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.547 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0xa04c2f8c of class NSCFString autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.548 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0xa04c2c8c of class NSCFString autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.548 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0xa04c2f8c of class NSCFString autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.549 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0xa04c2c8c of class NSCFString autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.549 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0xa04c2c8c of class NSCFString autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.550 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0xa04c2c8c of class NSCFString autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.551 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x601d60 of class NSCFNumber autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.633 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x6051f0 of class __NSFontTypefaceInfo autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.633 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x409dc0 of class NSAffineTransform autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.634 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x41fa70 of class NSFont autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.635 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x41fc40 of class NSFont autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.663 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x421b50 of class NSCFArray autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.664 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x604e20 of class NSCFArray autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.664 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x421c20 of class NSCFSet autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.665 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x604e50 of class NSCFArray autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.666 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x604e70 of class NSCFArray autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.666 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x605a00 of class NSCFSet autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.667 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0xa0b0bf28 of class NSCFString autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.668 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0xa0b11e18 of class NSCFString autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.682 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0xa0b12d68 of class NSCFString autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.683 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x421c80 of class NSCFString autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.683 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x421d80 of class NSCFString autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.684 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0xa0b11708 of class NSCFString autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.685 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0xa0b0d038 of class NSCFString autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.685 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0xa0b0da08 of class NSCFString autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.686 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0xa0b124c8 of class NSCFString autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.686 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0xa0b11988 of class NSCFString autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.687 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x421dd0 of class NSCFString autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.688 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0xa0b0b6b8 of class NSCFString autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.689 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x605a20 of class NSCFString autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.690 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x605ca0 of class NSCFString autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.690 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x421cc0 of class NSCFString autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.691 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x41fc40 of class NSFont autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.691 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0xa0b129b8 of class NSCFString autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.692 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0xa0b0b9d8 of class NSCFString autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.693 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x601970 of class NSCFString autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.693 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x422ac0 of class NSCFCharacterSet autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.694 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x422770 of class NSDeviceRGBColor autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.694 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x40ccd0 of class NSCFNumber autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.695 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x422f00 of class NSCalibratedWhiteColor autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.696 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x423220 of class NSCFArray autoreleased with no pool in place - just leaking
2010-07-23 21:22:22.696 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x4236e0 of class NSCFDictionary autoreleased with no pool in place - just leaking
Fri Jul 23 21:22:23 mac-mini.local sdl-instead[15090] <Error>: kCGErrorInvalidConnection: CGSHideCursor: Invalid connection
Fri Jul 23 21:22:23 mac-mini.local sdl-instead[15090] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
2010-07-23 21:22:23.395 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x43b770 of class NSMutableParagraphStyle autoreleased with no pool in place - just leaking
2010-07-23 21:22:23.396 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x43b7c0 of class NSCFDictionary autoreleased with no pool in place - just leaking
2010-07-23 21:22:23.396 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x43bd10 of class NSCFArray autoreleased with no pool in place - just leaking
2010-07-23 21:22:23.396 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x43c210 of class __NSFontTypefaceInfo autoreleased with no pool in place - just leaking
2010-07-23 21:22:23.396 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x43c4e0 of class NSFont autoreleased with no pool in place - just leaking
2010-07-23 21:22:23.397 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x43c5e0 of class NSFont autoreleased with no pool in place - just leaking
2010-07-23 21:22:23.397 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0xa04b732c of class NSCFString autoreleased with no pool in place - just leaking
2010-07-23 21:22:23.397 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x43be50 of class _NSThemeCloseWidget autoreleased with no pool in place - just leaking
2010-07-23 21:22:23.397 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x43cd20 of class NSCFArray autoreleased with no pool in place - just leaking
2010-07-23 21:22:23.398 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x43c5e0 of class NSFont autoreleased with no pool in place - just leaking
2010-07-23 21:22:23.398 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0xa04b732c of class NSCFString autoreleased with no pool in place - just leaking
2010-07-23 21:22:23.398 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x43cd40 of class _NSThemeWidget autoreleased with no pool in place - just leaking
2010-07-23 21:22:23.398 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x43c7e0 of class NSCFArray autoreleased with no pool in place - just leaking
2010-07-23 21:22:23.399 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x43c5e0 of class NSFont autoreleased with no pool in place - just leaking
2010-07-23 21:22:23.399 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0xa04b732c of class NSCFString autoreleased with no pool in place - just leaking
2010-07-23 21:22:23.399 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x43d380 of class _NSThemeWidget autoreleased with no pool in place - just leaking
2010-07-23 21:22:23.399 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x43bfb0 of class NSCFArray autoreleased with no pool in place - just leaking
2010-07-23 21:22:23.400 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x43c2f0 of class NSTrackingArea autoreleased with no pool in place - just leaking
Fri Jul 23 21:22:23 mac-mini.local sdl-instead[15090] <Error>: kCGErrorInvalidConnection: CGSGetCurrentCursorLocation: Invalid connection
2010-07-23 21:22:23.400 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x43b860 of class NSTrackingArea autoreleased with no pool in place - just leaking
Fri Jul 23 21:22:23 mac-mini.local sdl-instead[15090] <Error>: kCGErrorInvalidConnection: CGSGetCurrentCursorLocation: Invalid connection
Fri Jul 23 21:22:23 mac-mini.local sdl-instead[15090] <Error>: kCGErrorInvalidConnection: CGSNewWindowWithOpaqueShape: Invalid connection
2010-07-23 21:22:23.401 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x41f2b0 of class NSCFString autoreleased with no pool in place - just leaking
2010-07-23 21:22:23.401 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x41f290 of class NSException autoreleased with no pool in place - just leaking
2010-07-23 21:22:23.401 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x43d210 of class _NSCallStackArray autoreleased with no pool in place - just leaking
2010-07-23 21:22:23.401 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x43bb40 of class _NSCallStackArray autoreleased with no pool in place - just leaking
2010-07-23 21:22:23.402 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x601320 of class NSCFString autoreleased with no pool in place - just leaking
2010-07-23 21:22:23.402 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x1057000 of class NSCFString autoreleased with no pool in place - just leaking
2010-07-23 21:22:23.403 sdl-instead[15090:903] *** __NSAutoreleaseNoPool(): Object 0x613430 of class NSConcreteMutableData autoreleased with no pool in place - just leaking
2010-07-23 21:22:23.403 sdl-instead[15090:903] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Error (1002) creating CGSWindow'
*** Call stack at first throw:
(
    0   CoreFoundation                      0x988a6bba __raiseError + 410
    1   libobjc.A.dylib                     0x92e9b509 objc_exception_throw + 56
    2   CoreFoundation                      0x988a68e8 +[NSException raise:format:arguments:] + 136
    3   CoreFoundation                      0x988a685a +[NSException raise:format:] + 58
    4   AppKit                              0x93428c9a _NSCreateWindowWithOpaqueShape2 + 519
    5   AppKit                              0x933adbbe -[NSWindow _commonAwake] + 1624
    6   AppKit                              0x933aa886 -[NSWindow _commonInitFrame:styleMask:backing:defer:] + 1524
    7   AppKit                              0x933a94d9 -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1568
    8   AppKit                              0x933a8eb3 -[NSWindow initWithContentRect:styleMask:backing:defer:] + 71
    9   libSDL-1.2.0.dylib                  0x000737df -[SDL_QuartzWindow initWithContentRect:styleMask:backing:defer:] + 335
    10  libSDL-1.2.0.dylib                  0x0007088b QZ_SetVideoMode + 1163
    11  libSDL-1.2.0.dylib                  0x00066851 SDL_SetVideoMode + 545
    12  sdl-instead                         0x00003930 gfx_set_mode + 120
    13  sdl-instead                         0x00009400 game_apply_theme + 143
    14  sdl-instead                         0x0000a1c7 game_init + 412
    15  sdl-instead                         0x00010b9e main + 2270
    16  sdl-instead                         0x00001a99 start + 53
)
Trace/BPT trap

Может как-то не так fink'ом собирается sdl?

Re: Сборка под Mac OS

Гхм... как бы сказать так, чтобы пошло не выглядело...
За длинные простыни не стоит извиняться.... wink
Достаточно прятать их в тэги SPOILER и всего делов...

Re: Сборка под Mac OS

А sdl finkовский? X11 запущены? Попробовать еще можно найти функцию gfx_set_mode
(в ней падение) и поиграться с битностью и прочим.

Mac на intel или powerpc?

Начать стоит с hello world на sdl -- похоже что-то с ним не так. sad

Re: Сборка под Mac OS

Вообще -- похожая штука была уже у одного маковода на happypenguin, тут какая то особенность сборки SDL приложений в macos, нужно собрать тест какой-то.

12 (edited by .dm 2010-07-23 21:50:51)

Re: Сборка под Mac OS

Да, sdl и lua ставил через fink'ом. X11 не запускаются (как, например, при запуске Gimp). Mac на Intel.

Попробую найти какой-нибудь примерчик на SDL под Мак и собрать его.

PS. Попробовал запустить через иксы - валится с аналогичной ошибкой, что, как мне кажется, означает - sdl собран без поддержки X11 - только с яблочными фрэймворками.
PPS. Нашёл интересный комментарий по похожей проблеме:

>Your app seems to be trying to create a window, which I'm pretty sure
>requires you to load up the NSApplication magic. Try adding a call to
>NSApplicationLoad() to the start of your app before calling anything
>in QTKit.

Thank you Henry - that was the problem!!

Re: Сборка под Mac OS

Угу, какая то ерунда. gfx_set_mode можно помучить. Если разберетесь -- будет очень здорово.

-lSDLmain есть в ключах?

14

Re: Сборка под Mac OS

Я, конечно, не программист, но постараюсь.  roll

Судя по-всему нет. По поиску такой ключ присутствует только в Rules.mingw и Rules.windows. Добавить?

Re: Сборка под Mac OS

Да! Вообще хорошо показать вывод финальной команды сборки, перед тем как получится sdl-instead

Re: Сборка под Mac OS

Еще вариант. Найдите
SDL_SetVideoMode

и поставьте 24 бита вместо 32.

Надо сделать параметром кстати,

17

Re: Сборка под Mac OS

Добавил, пересобрал - результат тот же. Вот вывод сборки:

mac:instead-svn dotdm$ make
cc -c graphics.c  -arch i386 -g -Wall -Dunix -D_LOCAL_APPDATA -I/sw/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/sw/include -DLANG_PATH=\"./languages/\" -DSTEAD_PATH=\"./stead/\"  -DGAMES_PATH=\"./games/\" -DTHEMES_PATH=\"./themes/\" -DVERSION=\"1.2.0\" -DICON_PATH=\"./icon/\"
cc -c input.c  -arch i386 -g -Wall -Dunix -D_LOCAL_APPDATA -I/sw/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/sw/include -DLANG_PATH=\"./languages/\" -DSTEAD_PATH=\"./stead/\"  -DGAMES_PATH=\"./games/\" -DTHEMES_PATH=\"./themes/\" -DVERSION=\"1.2.0\" -DICON_PATH=\"./icon/\"
cc -c game.c  -arch i386 -g -Wall -Dunix -D_LOCAL_APPDATA -I/sw/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/sw/include -DLANG_PATH=\"./languages/\" -DSTEAD_PATH=\"./stead/\"  -DGAMES_PATH=\"./games/\" -DTHEMES_PATH=\"./themes/\" -DVERSION=\"1.2.0\" -DICON_PATH=\"./icon/\"
cc -c main.c  -arch i386 -g -Wall -Dunix -D_LOCAL_APPDATA -I/sw/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/sw/include -DLANG_PATH=\"./languages/\" -DSTEAD_PATH=\"./stead/\"  -DGAMES_PATH=\"./games/\" -DTHEMES_PATH=\"./themes/\" -DVERSION=\"1.2.0\" -DICON_PATH=\"./icon/\"
main.c: In function ‘main’:
main.c:51: warning: unused variable ‘clean_tmp’
cc -c instead.c  -arch i386 -g -Wall -Dunix -D_LOCAL_APPDATA -I/sw/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/sw/include -DLANG_PATH=\"./languages/\" -DSTEAD_PATH=\"./stead/\"  -DGAMES_PATH=\"./games/\" -DTHEMES_PATH=\"./themes/\" -DVERSION=\"1.2.0\" -DICON_PATH=\"./icon/\"
cc -c sound.c  -arch i386 -g -Wall -Dunix -D_LOCAL_APPDATA -I/sw/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/sw/include -DLANG_PATH=\"./languages/\" -DSTEAD_PATH=\"./stead/\"  -DGAMES_PATH=\"./games/\" -DTHEMES_PATH=\"./themes/\" -DVERSION=\"1.2.0\" -DICON_PATH=\"./icon/\"
cc -c SDL_rotozoom.c  -arch i386 -g -Wall -Dunix -D_LOCAL_APPDATA -I/sw/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/sw/include -DLANG_PATH=\"./languages/\" -DSTEAD_PATH=\"./stead/\"  -DGAMES_PATH=\"./games/\" -DTHEMES_PATH=\"./themes/\" -DVERSION=\"1.2.0\" -DICON_PATH=\"./icon/\"
cc -c SDL_anigif.c  -arch i386 -g -Wall -Dunix -D_LOCAL_APPDATA -I/sw/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/sw/include -DLANG_PATH=\"./languages/\" -DSTEAD_PATH=\"./stead/\"  -DGAMES_PATH=\"./games/\" -DTHEMES_PATH=\"./themes/\" -DVERSION=\"1.2.0\" -DICON_PATH=\"./icon/\"
cc -c SDL_gfxBlitFunc.c  -arch i386 -g -Wall -Dunix -D_LOCAL_APPDATA -I/sw/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/sw/include -DLANG_PATH=\"./languages/\" -DSTEAD_PATH=\"./stead/\"  -DGAMES_PATH=\"./games/\" -DTHEMES_PATH=\"./themes/\" -DVERSION=\"1.2.0\" -DICON_PATH=\"./icon/\"
cc -c config.c  -arch i386 -g -Wall -Dunix -D_LOCAL_APPDATA -I/sw/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/sw/include -DLANG_PATH=\"./languages/\" -DSTEAD_PATH=\"./stead/\"  -DGAMES_PATH=\"./games/\" -DTHEMES_PATH=\"./themes/\" -DVERSION=\"1.2.0\" -DICON_PATH=\"./icon/\"
cc -c themes.c  -arch i386 -g -Wall -Dunix -D_LOCAL_APPDATA -I/sw/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/sw/include -DLANG_PATH=\"./languages/\" -DSTEAD_PATH=\"./stead/\"  -DGAMES_PATH=\"./games/\" -DTHEMES_PATH=\"./themes/\" -DVERSION=\"1.2.0\" -DICON_PATH=\"./icon/\"
cc -c menu.c  -arch i386 -g -Wall -Dunix -D_LOCAL_APPDATA -I/sw/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/sw/include -DLANG_PATH=\"./languages/\" -DSTEAD_PATH=\"./stead/\"  -DGAMES_PATH=\"./games/\" -DTHEMES_PATH=\"./themes/\" -DVERSION=\"1.2.0\" -DICON_PATH=\"./icon/\"
menu.c: In function ‘load_menu’:
menu.c:114: warning: format not a string literal and no format arguments
menu.c: In function ‘save_menu’:
menu.c:150: warning: format not a string literal and no format arguments
menu.c: In function ‘games_menu’:
menu.c:217: warning: format not a string literal and no format arguments
menu.c: In function ‘themes_menu’:
menu.c:279: warning: format not a string literal and no format arguments
menu.c: In function ‘game_menu_gen’:
menu.c:334: warning: format not a string literal and no format arguments
menu.c:344: warning: format not a string literal and no format arguments
menu.c:346: warning: format not a string literal and no format arguments
menu.c:353: warning: format not a string literal and no format arguments
menu.c:356: warning: format not a string literal and no format arguments
cc -c util.c  -arch i386 -g -Wall -Dunix -D_LOCAL_APPDATA -I/sw/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/sw/include -DLANG_PATH=\"./languages/\" -DSTEAD_PATH=\"./stead/\"  -DGAMES_PATH=\"./games/\" -DTHEMES_PATH=\"./themes/\" -DVERSION=\"1.2.0\" -DICON_PATH=\"./icon/\"
cc -c cache.c  -arch i386 -g -Wall -Dunix -D_LOCAL_APPDATA -I/sw/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/sw/include -DLANG_PATH=\"./languages/\" -DSTEAD_PATH=\"./stead/\"  -DGAMES_PATH=\"./games/\" -DTHEMES_PATH=\"./themes/\" -DVERSION=\"1.2.0\" -DICON_PATH=\"./icon/\"
cc -c unzip.c  -arch i386 -g -Wall -Dunix -D_LOCAL_APPDATA -I/sw/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/sw/include -DLANG_PATH=\"./languages/\" -DSTEAD_PATH=\"./stead/\"  -DGAMES_PATH=\"./games/\" -DTHEMES_PATH=\"./themes/\" -DVERSION=\"1.2.0\" -DICON_PATH=\"./icon/\"
cc -c ioapi.c  -arch i386 -g -Wall -Dunix -D_LOCAL_APPDATA -I/sw/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/sw/include -DLANG_PATH=\"./languages/\" -DSTEAD_PATH=\"./stead/\"  -DGAMES_PATH=\"./games/\" -DTHEMES_PATH=\"./themes/\" -DVERSION=\"1.2.0\" -DICON_PATH=\"./icon/\"
cc -c unpack.c  -arch i386 -g -Wall -Dunix -D_LOCAL_APPDATA -I/sw/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/sw/include -DLANG_PATH=\"./languages/\" -DSTEAD_PATH=\"./stead/\"  -DGAMES_PATH=\"./games/\" -DTHEMES_PATH=\"./themes/\" -DVERSION=\"1.2.0\" -DICON_PATH=\"./icon/\"
cc -c unix.c  -arch i386 -g -Wall -Dunix -D_LOCAL_APPDATA -I/sw/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/sw/include -DLANG_PATH=\"./languages/\" -DSTEAD_PATH=\"./stead/\"  -DGAMES_PATH=\"./games/\" -DTHEMES_PATH=\"./themes/\" -DVERSION=\"1.2.0\" -DICON_PATH=\"./icon/\"
cc -arch i386 -g -Wall -Dunix -D_LOCAL_APPDATA -I/sw/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/sw/include -DLANG_PATH=\"./languages/\" -DSTEAD_PATH=\"./stead/\"  -DGAMES_PATH=\"./games/\" -DTHEMES_PATH=\"./themes/\" -DVERSION=\"1.2.0\" -DICON_PATH=\"./icon/\" graphics.o input.o game.o main.o instead.o sound.o SDL_rotozoom.o SDL_anigif.o SDL_gfxBlitFunc.o config.o themes.o menu.o util.o cache.o unzip.o ioapi.o unpack.o unix.o -L/sw/lib -lSDLmain -lSDL -Wl,-framework,Cocoa -lSDL_ttf -lSDL_mixer -lSDL_image -arch i386 -L/sw/lib -llua -lm -lz -o sdl-instead 
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
cat instead.desktop.in | sed -e "s|@BIN||g" > instead.desktop
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.

Насчёт SDL_SetVideoMode - поищу. wink

Re: Сборка под Mac OS

graphics.c около 1000 строки.  У меня 989.

19

Re: Сборка под Mac OS

Да, я уже заменил. Но... не помогло.
Сейчас читаю статейку: http://developer.apple.com/mac/library/ … rence.html
И форум SDL.

Re: Сборка под Mac OS

Ок - я пока в замешательстве. Видимо нужен hello world.

Re: Сборка под Mac OS

Еще есть идея. Первой строкой в main.c вписать #include <SDL.h>
И убрать SDL_DOUBLEBUF при установке режима.

http://wiki.libsdl.org/moin.cgi/FAQMacOSX

22 (edited by .dm 2010-07-24 16:48:30)

Re: Сборка под Mac OS

big_smile  Опередили! Только хотел отписаться что собрал и программа запустилась, а тут Ваш комментарий!
Так точно, после прочтения данного FAQ'а добавил в main.c строчку:

#include "<SDL.h"

и всё получилось.

Вот сборка (i386):
http://narod.ru/disk/23069572000/Instea … 2.dmg.html

Правда не могу понять почему не запускается с "ярлычка" (с иконки), в то же время при запуске через терминал - всё отлично.

PS. Попробую убрать SDL_DOUBLEBUF.
PPS. Ах да, спасибо за помощь!

23

Re: Сборка под Mac OS

У меня такое ощущение, что при запуске с иконки программа не видит нужные каталоги (themes, games, languages и т.п.) и валится с ошибкой. Одно странно - почему не появляется яблочное окно с трассировкой ошибки?

Re: Сборка под Mac OS

Как вы относитесь к тому, чтобы поддерживать макос версию? smile
p.s. наверное при запуске не происходит переход в каталог с инстедом -- для standalone режима это нужно. программа при этом не падает а просто выходит.

P.S. Я скоро закоммичу в svn версию где будут учтены те вещи что мы поняли. smile

еще интересно собрать с zip и iconv. продолжим? smile

25

Re: Сборка под Mac OS

Я только за! Готов делать стабильные сборки, а так же, по возможности, регулярные из svn (по выходным точно).

Конечно интересно! Нужно установить libiconv? И, как я понимаю, для zlib в опциях сборки нужно будет указать "-arch i386"?