brson / rust-sdl

SDL bindings for Rust
MIT License
179 stars 52 forks source link

Issue running the demo app #104

Open hammackj opened 10 years ago

hammackj commented 10 years ago

I am getting the following error:

[hammackj@taco:~/Documents/opensource/rust-sdl]$ rustc -L$PWD demo/demo.rc
warning: no debug symbols in executable (-arch x86_64)
[hammackj@taco:~/Documents/opensource/rust-sdl]$ ./demo/demo
2013-10-25 23:38:10.990 demo[5196:1003] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Error (1000) creating CGSWindow on line 263'
*** First throw call stack:
(
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Abort trap: 6
[hammackj@taco:~/Documents/opensource/rust-sdl]$ 

I am trying to compile the demo. I am using OSX 10.9 with rust from brew. I am a bit new to rust, so I am not exactly sure what is needed to fix this.

Any tips/thoughts would be great. Thanks

grumdrig commented 10 years ago

Me too. Did you ever find a workaround?

pnkfelix commented 10 years ago

I have described a work-around on Issue #118 and have an alternative demo app for win32 and OS X on PR #120.