c++ - SDL2 program SIGSEGV on start -


i wrote snake in sdl , want port android, means had rewrite parts of use sdl2. replaced key control , rendering parts , compiles without errors. however, when try run it crashes immediately. ran debugger, doesn't give useful information:

(no debugging symbols found)  program received signal sigsegv,segmentation fault in ?? () () 

i set breakpoint on first line of code , doesn't reach before crashing. using sdl_image , sdl_ttf.

source code: http://www.mediafire.com/?n0zdd061d343w35

maybe error on sdl loading, can not resolve symbols , error.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -