Download sdl-1.2.14.tar.gz
Decompress the visualce.zip file, and select "decompress to current folder" for WinRAR. The directory is shown in:
After opening the SDL. sln in the visualce folder, as vs2008 is used, you need to switch the project and click convert. The final project is as follows:
Select the SDL project and click "generate" to generate the SDL. dll and SDL. Lib files. A compilation error occurs in sdl_sysevent.c:
The reason is thatWinuser. h In wince 600 does not have wm_windowposchanging (viewed on this network). In the end, comment out this section and compile the compilation !!
Select the testwin test project and click "generate"-> "debug"-> "start a single instance ":
This indicates that SDL has been compiled successfully on wince! And can be used.
The main purpose of this work is to run FFMPEG on WinCE, because the compilation of ffplay requires the SDL library. For now, let's take a look at how to use the generated SDL. lib and SDL. dll libraries.
Put the SDL library and header file under the SDL folder, and put the SDL folder under the ffmpeg-0.6.3 ,:
Then cygwin under the ffmpeg-0.6.3,./configure, as follows:
SDL still cannot be supported!