The IPP 6.0 installation package includes ia32, em64t, and itanium.
The ijl 2.0 (Intel JPEG Library) is provided in the sample. If you need to compile ijl2.0 by yourself, download w_ipp-samples_p_6.0.0.130.zip from the producer. After decompression, build32.bat is visible under IPP-samples/image-codecs/JPEG-ijl /.
Run the command directly to compile and generate the ijl20l. Lib (library files required for static link) and ijl1_lib (library files required for dynamic link) required for Win32 (x86)
Here, we need to introduce how to generate ijl20l. lib and ijl1_lib required by win64 (x64 ).
Referring to the compilation files in other directories, we found that the compilation file build32.bat contains various compilers and systems, so you do not need to modify this bat file, you only need to modify win32.ini in the same directory as him.
Win32.ini:
#! Include <win32.mak>
Lib_arch =
Link_arch = i386
For win64 (x64), you only need to change it to winem64t. ini.
Winem64t. ini:
#! Include <win32.mak>
Lib_arch = em64t
Link_arch = amd64
Copy and rename build32.bat to buildem64t. BAT:
@ Echo off <br/> REM Intel Corporation Proprietary Information <br/> REM this software is supplied under the terms of a license agreement or <br/> REM nondisclosure agreement with Intel Corporation and may not be copied <br/> REM or disclosed compression t in accordance with the terms of that agreement. <br/> REM copyright (c) 2007-2008 Intel Corporation. all rights reserved. <br/> REM <br/> CLS </P> <p> Rem <Br/> REM usage: <br/> REM build {32 | 64 | em64t }. bat [cl7 | Cl8 | cl9 | icl101 | icl110] <br/> REM <br/> :::::::::::::::::: <br/> setlocal <br/> set Arg = % 1 <br/> @ call: get_vars <br/> @ % header % <br/> @ % get_environment % <br/> nmake clean arch = % arch % <br/> nmake arch = % arch % cc = % compiler % linkage = "dynamic" <br/> @ % footer % <br/> endlocal </P> <p> Goto: EOF <br/>::::::::::::::::::::< br/>:get_vars <br/> set script = % ~ N0 <br/> set env_file = Env. bat <br/> set pltf = % script: build = % <br/> set arch = Win % pltf % <br/> If "% pltf %" = "32" set arch_c = <br/> If "% pltf % "=" 64 "set arch_c = 64 <br/> If" % pltf % "=" em64t "set arch_c = em64t <br/> set X = % ~ D0 % ~ P0 <br/> set Y = % x: /IPP-samples/= * % <br/> for/F "tokens = 1 delims = *" % I in ("% Y % ") do set samples_root = % I/IPP-samples/<br/> set header = call "% samples_root %/tools/ENV/tools" type_header <br/> set footer = call "% samples_root %/tools/ENV/tools" type_footer <br/> set get_environment = pushd "% samples_root %/tools/ENV" ^ & call % env_file % ^ & popd <br /> exit/B <br/>
Click RUN buildem64t. bat.
The generated lib file is in the folder corresponding to the compiler type under the IPP-samples/image-codecs/JPEG-ijl/lib/directory.