| July 23, 2009 9:00 PM PDT | |
Introduction :
This document explains how to build JasPer using the Intel C++ Compiler for Linux, for example, version 11.1.046.
The JPEG-7 C library was implemented by IJG group and contains JPEG image encoding, decoding, and transcoding.
Version :
Version 7 was released on 27-Jun-2009.
Obtaining Source Code :
http://www.ijg.org/
http://www.ijg.org/files/jpegsrc.v7.tar.gz
Prerequisites :
None
Source Code Changes :
Not required
Source Code Changes :
Not required
Building the Application :
JPEG-7 will be installed to the home directory.
1) Decompress source files
$ tar -xvf /opt/jpegsrc.v7.tar.gz
2)
$cd /opt/jpeg-7/
3)Create script build_jpeg.sh:
#!/bin/sh
#INTEL_COMPILER_TOPDIR directory where Intel Compiler has been installed
export INTEL_COMPILER_TOPDIR="/opt/intel/Compiler/11.1/046/"
#Setting environment variables for the Intel(R) C++ Compiler Professional Edition for Linux
. $INTEL_COMPILER_TOPDIR/bin/intel64/iccvars_intel64.sh
#If you want to install JPEG in the special directory then you should specify an installation
#prefix other than `/usr/local' using `--prefix'.
./configure --prefix=$HOME CC=icc CXX=icpc
make
make install
4) Make script executable:
$chmod +x build_jpeg.sh
5)Execute this script with command line:
$((./build_jpeg.sh) 3>&2 2>&1 1>&3 | tee build_ jpeg.err ) 2>&1 | tee build_ jpeg.log
After finishing building you can check logs or only buildings errors in files build_ jpeg.log and build_ jpeg.err, respectively.
Or just execute script:
$./build_ jpeg.sh
Verifying Correctness :
After finishing building you can check logs or only buildings errors in files build_jpeg.log and build_jpeg.err, respectively.
Known Issues or Limitations :
None
This document explains how to build JasPer using the Intel C++ Compiler for Linux, for example, version 11.1.046.
The JPEG-7 C library was implemented by IJG group and contains JPEG image encoding, decoding, and transcoding.
Version :
Version 7 was released on 27-Jun-2009.
Obtaining Source Code :
http://www.ijg.org/
http://www.ijg.org/files/jpegsrc.v7.tar.gz
Prerequisites :
None
Source Code Changes :
Not required
Source Code Changes :
Not required
Building the Application :
JPEG-7 will be installed to the home directory.
1) Decompress source files
$ tar -xvf /opt/jpegsrc.v7.tar.gz
2)
$cd /opt/jpeg-7/
3)Create script build_jpeg.sh:
#!/bin/sh
#INTEL_COMPILER_TOPDIR directory where Intel Compiler has been installed
export INTEL_COMPILER_TOPDIR="/opt/intel/Compiler/11.1/046/"
#Setting environment variables for the Intel(R) C++ Compiler Professional Edition for Linux
. $INTEL_COMPILER_TOPDIR/bin/intel64/iccvars_intel64.sh
#If you want to install JPEG in the special directory then you should specify an installation
#prefix other than `/usr/local' using `--prefix'.
./configure --prefix=$HOME CC=icc CXX=icpc
make
make install
4) Make script executable:
$chmod +x build_jpeg.sh
5)Execute this script with command line:
$((./build_jpeg.sh) 3>&2 2>&1 1>&3 | tee build_ jpeg.err ) 2>&1 | tee build_ jpeg.log
After finishing building you can check logs or only buildings errors in files build_ jpeg.log and build_ jpeg.err, respectively.
Or just execute script:
$./build_ jpeg.sh
Verifying Correctness :
After finishing building you can check logs or only buildings errors in files build_jpeg.log and build_jpeg.err, respectively.
Known Issues or Limitations :
None
Do you need more help?
For more complete information about compiler optimizations, see our Optimization Notice.
Comments (2) 
| July 15, 2010 3:27 PM PDT
Hin-Tak Leung |
I don't think those export, etc are necessary - using the full path in the CC variable (without all the other instructions), like this, should just work: ./configure CC=/opt/intel/Compiler/11.1/046/bin/intel64/icc |
Trackbacks (0)
Leave a comment 
To obtain technical support, please go to Software Support.
Author
Ronald W. Green (Intel)
|


Kantave Greene
35