thanks , it works now , very nice graphics .
about static linking , i download libsdl.a from http://libsdl.org/release/SDL2-devel-2.0.3-mingw.tar.gz , when i try to link it , fpc say " Error: Illegal COFF Magic while reading libsdl2.a"