From: Douglas M. <dou...@gm...> - 2012-01-01 16:21:44
|
Here are build errors: g++ -I../include -I. -I../slirp -DHAVE_CONFIG_H -D_REENTRANT -DDATADIR=\"/usr/share/SheepShaver\" -g -O2 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/powerpc-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/powerpc-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/cairo -c main_unix.cpp -o obj/main_unix.o main_unix.cpp: In function ‘void get_system_info()’: main_unix.cpp:530:11: error: ‘str’ was not declared in this scope main_unix.cpp: In function ‘bool init_sdl()’: main_unix.cpp:690:24: error: ‘SDL_Init’ was not declared in this scope main_unix.cpp:692:64: error: ‘SDL_GetError’ was not declared in this scope main_unix.cpp:696:9: error: ‘SDL_Quit’ was not declared in this scope make: *** [obj/main_unix.o] Error 1 For str, I have a fix (patch is attached). For SDL, I don't know how to fix it. |