Problem with my small game engine... |
Christian Leger
Guest
|
I suggest you learn to use gdb or another debugger to find what the problem is. Seg faults are almost always trying to access an invalid pointer or a memory location that the program does not own. You can also use more logging (such as output to the console) and verify the values of your variables, to confirm they are what you think they should be. Good luck.
On Thu, Dec 24, 2015 at 9:15 AM, MaBunny wrote:
|
|||||||||||||
|
Problem with my small game engine... |
brightening-eyes
|
hi,
you seem to copy a null pointer (SDL_Render) which you get a segfault cout doesn't print anything because your application is a gui application, not a console one please do not use any namespaces in your headers, refer them by using :: ۱۳۹۴-۱۰-۲۸ ۱:۱۶ +۰۳:۳۰ گرینویچ, Christian Leger:
SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||||
|