Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSX Issues #5

Open
lberezy opened this issue May 4, 2014 · 4 comments
Open

OSX Issues #5

lberezy opened this issue May 4, 2014 · 4 comments

Comments

@lberezy
Copy link

lberezy commented May 4, 2014

Have an issue running the demo.

I'm on OS X (10.9.3) with guile (GNU Guile) 2.0.11 and allegro 5.0.9 (both installed via Homebrew) and I get the following error:

➤ make run-demo
./demo.scm
2014-05-05 09:04:33.811 guile[43548:303] ApplePersistence=NO
2014-05-05 09:04:33.848 guile[43548:303] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Error (1000) creating CGSWindow on line 263'
*** First throw call stack:
(
    0   CoreFoundation                      0x00007fff92fdb25c __exceptionPreprocess + 172
    1   libobjc.A.dylib                     0x00007fff92502e75 objc_exception_throw + 43
    2   CoreFoundation                      0x00007fff92fdb10c +[NSException raise:format:] + 204
    3   AppKit                              0x00007fff8b501eb5 _NSCreateWindowWithOpaqueShape2 + 1403
    4   AppKit                              0x00007fff8b500a41 -[NSWindow _commonAwake] + 3720
    5   AppKit                              0x00007fff8b3dc420 -[NSWindow _commonInitFrame:styleMask:backing:defer:] + 882
    6   AppKit                              0x00007fff8b3db8a2 -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1054
    7   AppKit                              0x00007fff8b3db478 -[NSWindow initWithContentRect:styleMask:backing:defer:] + 45
    8   AppKit                              0x00007fff8bb2d80a -[NSWindow initWithContentRect:styleMask:backing:defer:screen:] + 68
    9   liballegro.5.0.dylib                0x000000010fd4f428 +[ALDisplayHelper initialiseDisplay:] + 280
    10  Foundation                          0x00007fff94dbf2f8 -[NSObject(NSThreadPerformAdditions) performSelector:onThread:withObject:waitUntilDone:modes:] + 871
    11  Foundation                          0x00007fff94dbeecf -[NSObject(NSThreadPerformAdditions) performSelectorOnMainThread:withObject:waitUntilDone:] + 134
    12  liballegro.5.0.dylib                0x000000010fd5004f create_display_win + 489
    13  liballegro.5.0.dylib                0x000000010fd10ef5 al_create_display + 35
    14  gnumaku.so                          0x000000010fc55342 gmk_s_game_init + 514
    15  libguile-2.0.22.dylib               0x000000010ed65b21 vm_regular_engine + 7967
    16  libguile-2.0.22.dylib               0x000000010ed62bc1 scm_c_vm_run + 121
    17  libguile-2.0.22.dylib               0x000000010ed65ab2 vm_regular_engine + 7856
    18  libguile-2.0.22.dylib               0x000000010ed62bc1 scm_c_vm_run + 121
    19  libguile-2.0.22.dylib               0x000000010ecec52c scm_primitive_eval + 50
    20  libguile-2.0.22.dylib               0x000000010ecec590 scm_eval + 93
    21  libguile-2.0.22.dylib               0x000000010ed3e855 scm_shell + 71
    22  libguile-2.0.22.dylib               0x000000010ed0924d invoke_main_func + 34
    23  libguile-2.0.22.dylib               0x000000010ece4bec c_body + 15
    24  libguile-2.0.22.dylib               0x000000010ed65ad6 vm_regular_engine + 7892
    25  libguile-2.0.22.dylib               0x000000010ed62bc1 scm_c_vm_run + 121
    26  libguile-2.0.22.dylib               0x000000010ecebe4d scm_call_4 + 69
    27  libguile-2.0.22.dylib               0x000000010ece4b7b scm_i_with_continuation_barrier + 133
    28  libguile-2.0.22.dylib               0x000000010ece4bd3 scm_c_with_continuation_barrier + 57
    29  libguile-2.0.22.dylib               0x000000010ed5f5fb with_guile_and_parent + 65
    30  libgc.1.dylib                       0x000000010ee9c152 GC_call_with_stack_base + 27
    31  libguile-2.0.22.dylib               0x000000010ed5cc35 scm_with_guile + 43
    32  libguile-2.0.22.dylib               0x000000010ed09215 scm_boot_guile + 39
    33  guile                               0x000000010eccce9a main + 191
    34  libdyld.dylib                       0x00007fff8dc0b5fd start + 1
    35  ???                                 0x0000000000000003 0x0 + 3
)
libc++abi.dylib: terminating with uncaught exception of type NSException
make: *** [run-demo] Abort trap: 6

I know OS X isn't officially supported, but I thought I'd let you know what's up.

Perhaps this might prove useful. Something about a cocoa context needed before creating a display - I thought Allegro's job was to handle most of this though. Perhaps someone else can shed some light.

@lberezy
Copy link
Author

lberezy commented May 4, 2014

Perhaps this too: https://gist.github.com/dyoo/4526379

@davexunit
Copy link
Owner

Thanks for the bug report, but this project is no longer maintained. I have continued this work in spirit by developing a 2d game engine in pure Guile Scheme called guile-2d. https://gitorious.org/guile-2d/guile-2d

Unfortunately, I have unresolved OS X bugs in guile-2d, too. :(

@ghost
Copy link

ghost commented May 5, 2014

Ah damn, thought that might be the case.

Just read through the OS X issue in guile-2d, that sounds like a right
pickle. Hope it all clears up.

On Mon, May 5, 2014 at 11:43 AM, David Thompson [email protected]:

Thanks for the bug report, but this project is no longer maintained. I
have continued this work in spirit by developing a 2d game engine in pure
Guile Scheme called guile-2d. https://gitorious.org/guile-2d/guile-2d

Unfortunately, I have unresolved OS X bugs in guile-2d, too. :(

Reply to this email directly or view it on GitHubhttps://github.com//issues/5#issuecomment-42153895
.

@davexunit
Copy link
Owner

It will be cleared up when I no longer depend on guile-sdl. guile-2d should run on OS X just fine, but guile-sdl has major issues and needs to be replaced.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants