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
Post a Comment