yLinuxzUEXJ ..
[
2ch
|
₯Menu
]
‘Rsy[h
XπΚν\¦
IvV[h
±Μ½Ϊ―ΔήΜURL
‘ΪeLXg
21:20 04/12/12 06:07:56 ZP52r6FX ·έάΉρϊ{κ»Ε«ά΅½ ¨ͺΉ΅ά΅½ 22:login:Penguin 04/12/12 22:21:55 pDIqgMYK #include <SDL.h> #include <stdio.h> #if defined(QWS) int SDL_main( int argc, char **argv ) #else int main(int argc,char **argv) #endif { /* ϊ» */ if(SDL_Init(SDL_INIT_VIDEO)<0) { fprintf(stderr,"failed to initialize SDL.\n"); return -1; } /* IΉ */ SDL_Quit(); return 0; } Ζ’€\[Xπgcc -o test test.cpp `sdl-config --cflags --libs'Ζ΅ΔRpC·ιΖ /mnt/card/libtest/libSDLmain.a(SDL_Qtopia_main.o): In function `main':/_temp/SDL-1.2.5/src/main/SDL_Qtopia_main.cc:27: undefined reference to `SDL_main' /_temp/SDL-1.2.5/src/main/SDL_Qtopia_main.cc:27: relocation truncated to fit: R_ARM_PC24 SDL_main collect2: ld returned 1 exit status ΖΘΑΔRpCΕ«άΉρBdev_imgΝhttp://csx.jp/~zaurus/build2.htmΕSDLΝOX>>456ΜπgΑΔ’ά·B
y[W
ΕVX\¦
XbhΜυ
ήXκ
bθΜj [X
¨ά©ΉXg
₯IvVπ\¦
XWv
mixi`FbNI
TwitterΙe
IvV
΅¨θπ²ή
XbhΙ
XbhΜκ
ΙΒΤ΅2ch
5386ϊOΙXV/129 KB
S:undef