Because the collected images are to be stored, so the library is used .... The specific installation method can be found on the network, most of which can be used
I downloaded this jpegsrc.v9a.tar.gz address: www.ijg.org
Then installed, casually downloaded to a path, and then I saw on a Web site "he Zhiqiang" written an installation script, slightly changed the version number, stored as a file, and then source ...
#----WHERE to download----#ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v9a.tar.gz#----. tar.gz file name----jpeg_tar_gz= jpegsrc.v9a.tar.gz#----which version----ver_jpeg=jpeg-9a#----where to install----jpeg=/usr/local/jpeg#---- Untar----tar xzvf $jpeg _tar_gz#----Install----CD $ver _jpeg./configure--prefix= $jpeg--enable-shared-- Enable-staticmakemkdir $jpegmkdir $jpeg/includemkdir $jpeg/libmkdir $jpeg/binmkdir $jpeg/manmkdir $jpeg/man/man1make Installcd. #----FREE----RM-RF $ver _jpeg#----configuration information----echo "--------------------------------------------- ------------------------"echo" Add following lines in You/etc/profile "echo" ("echo" Tip: "echo" can add these Lines in a file named/etc/profile.jpeg, ' echo ' and then ' Add a line ' on the end Of/etc/profile: ' Echo '. /etc/profile.jpeg "echo" It is simple,:) "echo"): "echo" Path= "" $ "" PATH: $jpeg/bin "echo" cplus_include_path= "" $ "cplus_ Include_path: $jpeg/include "echo" ld_library_path= "" $ "" Ld_library_path: $jpeg/lib "echo" Library_path= "$" "Library_path: $jpeg/lib" echo "manpath=" "$" "MANPATH: $jpeg/man" echo "" echo "Export PATH Cplus_ Include_path Ld_library_path Library_path MANPATH "
The echo "---------------------------------------------------------------------" in this paragraph above
You can do it manually after the content.
Build a file called Profile_jpeg, the content is written below ...
So the JPEG library PC version is done ... How to write an embedded version at night