Transplantation of SDL-1.2.14 on WinCE

Source: Internet
Author: User

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!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.