snowkit / linc_sdl

http://snowkit.github.io/linc/ Haxe/hxcpp @:native bindings for SDL
Other
30 stars 15 forks source link

Trying it out for the first time. #2

Open pshtif opened 9 years ago

pshtif commented 9 years ago

So i've decided to finally give it a try but unfortunately run into some problems.

First the example is missing imports for Window, Renderer then it is missing a final return for the update method and Haxe will complain. After finally being able to compile it with -D HXCPP_M64 and running hxcpp on the generated Build files it gets compiled into an application but this application autocloses right away upon being run.

Any ideas?

pshtif commented 9 years ago

Good old while true is helping here, also I am delaying even if there is no SDL event just to be on a safe side.