Hi, I have a Caanoo with 1.6.1 firmware here. I'm using the official SDK (10.12.01) to compile and link the following program:
The issue is, "the end" is never written to stdout because apparently SDL_Quit() crashes.
I can't imagine that GPH would include a broken SDL library in their SDK, so could it be the firmware which is incompatible with the SDK?
Code:
#include <SDL/SDL.h>
#include <cstdio>
int main(int argc, char* argv[])
{
printf("initializing sdl...\n");
SDL_Init(SDL_INIT_EVERYTHING);
printf("quitting sdl...\n");
fflush(stdout);
SDL_Quit();
printf("the end\n");
return 0;
}
The issue is, "the end" is never written to stdout because apparently SDL_Quit() crashes.
I can't imagine that GPH would include a broken SDL library in their SDK, so could it be the firmware which is incompatible with the SDK?