CentOS-6.2 compile Qtopia-2.2.0

Source: Internet
Author: User

I installed it with livecd, and the installation scale is relatively small. As long as your installation scale is above livecdArticleIt will be suitable for you unless you plan to view the compilation output by yourself.

First, make sure that the libX11-devel, libxi-devel, and libjpeg-devel are installed on your computer. If not, you can install them one by one using yum. Where the libX11-devel is the cause of the error "X11/xlib. h does not have this file or directory, Libxi-devel is the cause of the error "X11/extensions/shape. h does not have this file or directory,
Lobjpeg-devel is the cause of "jpeglib. h does not have this file or directory" error.
Then make sure there is a libuuid. So Link under/usr/lib. If no, use locate libuuid to search. Find libuuid. So and create a link to/usr/lib. Libuuid. So is the cause of "cannot find-luuid" error. Finally, modify the source code (an error will be reported when GCC 4.4.6 and qtopia source code compilation is the latest version. Modify the files in qtopia-2.2.0.tar.bz2.
/Opt/embedsky/QTE/qtopia-2.2.0/qtopia/src/libraries/qtopia/backend/vobject. cpp row 419th Set Char * dot = strrchr (G ,'.'); Change Char * dot = (char *) strrchr (G ,'.'); /Opt/embedsky/QTE/qtopia-2.2.0/qtopia/src/plugins/codecs/wavplugin. cpp 435th rows Set Char * ext = strrchr (path. Latin1 (),'.'); Change Char * ext = (char *) strrchr (path. Latin1 (),'.'); If the above steps are complete or fail, check whether GCC and G ++ are installed, because livecd does not install GCC and G ++ by default. If it still fails, check the output by yourself .... If you are in trouble modifying the source code, you can download the modified Code. Click to download The premise is not afraid that SkyDrive is too slow .... Publish

Related Article

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.