The cross-Compilation Method for adding JPEG libraries to QT-embedded for ARM

Source: Internet
Author: User

The cross-Compilation Method for adding JPEG libraries to QT-embedded for ARM
Download jpegsrc.v6b.tar.gz
Extract
Tar-xzf restart src.v6b.tar.gz
CD jpeg-6b
[Root @ SJTU-LIUJIAN jpeg-6b] #./configure -- enable-shared
[Root @ SJTU-LIUJIAN] # Make
Modify the generated makefile:
Prefix = QT-embeddedd folder path (eg:/home/qt-2.3.10)
Cc =/usr/local/ARM/2.95.3/bin/ARM-Linux-gcc
AR =/usr/local/ARM/2.95.3/bin/ARM-Linux-ar RC
AR2 =/usr/local/ARM/2.95.3/bin/ARM-Linux-ranlib

Save
Create a man/Man1 file house in your QT-Embedded file. Otherwise, an error occurs when installing the JPEG library.
[Root @ SJTU-LIUJIAN jpeg-6b] # mkdir-P qt-2.3.10/man/Man1

Finally:
[Root @ SJTU-LIUJIAN] # make install
You can add the libjpeg library for arm to QT-embedded.

Copy a copy in the following directory:
/Usr/local/ARM/2.95.3/ARM-Linux/lib

 

 

US Mission registration! US Mission registration website! Buy a group once a day and enjoy the value of life! Http://www.meituan.com/r/i343002

 

Http://www.meituan.com/r/i343002

 

Glutinous rice group purchase registration:

Http://www.nuomi.com/ I /c6HynZn5bk

 

Http://www.nuomi.com/ I /c6HynZn5bk

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.