<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Link errors when use audio_video_codecs in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Link-errors-when-use-audio-video-codecs/m-p/975509#M20905</link>
    <description>&lt;P&gt;I am used Intel IPP version 6.0.167 I upgraded to&amp;nbsp;the Intel IPP&amp;nbsp;Composer XE 2011 SP1 and&amp;nbsp;ipp-samples_p_7.0.7.064. My machine OS in Win7 &amp;nbsp;32-bit my DirectX version is 11. I compile it with this command:&lt;/P&gt;
&lt;P&gt;C:\IPP\\ipp-samples\tools&amp;gt;buildall.bat ia32 "cl8"&lt;/P&gt;
&lt;P&gt;I managed to build all the projects and I wrote simple tester which create the VC1VideoDecoser.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;CAutoPtr&amp;lt;UMC::VideoDecoder&amp;gt; &amp;nbsp;pVideoDec= CAutoPtr&amp;lt;UMC::VC1VideoDecoder&amp;gt;(new UMC::VC1VideoDecoder);&lt;/P&gt;
&lt;P&gt;My tester compiled but I encountered alot of linkage errors such as:&lt;/P&gt;
&lt;P&gt;Error 1 error LNK2005: _ippStaticInit@0 already defined in ippcore.lib(ippcore-7.0.dll) ippcorel.lib&lt;/P&gt;
&lt;P&gt;Error 3 error LNK2019: unresolved external symbol "public: virtual __thiscall UMC::VideoData::~VideoData(void)" (??1VideoData@UMC@@UAE@XZ) referenced in function __unwindfunclet$??0VideoDecoder@UMC@@QAE@XZ$0 vc1_dec.lib&lt;/P&gt;
&lt;P&gt;Assistance will be much appreciate.&lt;/P&gt;</description>
    <pubDate>Sun, 16 Dec 2012 15:54:25 GMT</pubDate>
    <dc:creator>Genady_Malinsky</dc:creator>
    <dc:date>2012-12-16T15:54:25Z</dc:date>
    <item>
      <title>Link errors when use audio_video_codecs</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Link-errors-when-use-audio-video-codecs/m-p/975509#M20905</link>
      <description>&lt;P&gt;I am used Intel IPP version 6.0.167 I upgraded to&amp;nbsp;the Intel IPP&amp;nbsp;Composer XE 2011 SP1 and&amp;nbsp;ipp-samples_p_7.0.7.064. My machine OS in Win7 &amp;nbsp;32-bit my DirectX version is 11. I compile it with this command:&lt;/P&gt;
&lt;P&gt;C:\IPP\\ipp-samples\tools&amp;gt;buildall.bat ia32 "cl8"&lt;/P&gt;
&lt;P&gt;I managed to build all the projects and I wrote simple tester which create the VC1VideoDecoser.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;CAutoPtr&amp;lt;UMC::VideoDecoder&amp;gt; &amp;nbsp;pVideoDec= CAutoPtr&amp;lt;UMC::VC1VideoDecoder&amp;gt;(new UMC::VC1VideoDecoder);&lt;/P&gt;
&lt;P&gt;My tester compiled but I encountered alot of linkage errors such as:&lt;/P&gt;
&lt;P&gt;Error 1 error LNK2005: _ippStaticInit@0 already defined in ippcore.lib(ippcore-7.0.dll) ippcorel.lib&lt;/P&gt;
&lt;P&gt;Error 3 error LNK2019: unresolved external symbol "public: virtual __thiscall UMC::VideoData::~VideoData(void)" (??1VideoData@UMC@@UAE@XZ) referenced in function __unwindfunclet$??0VideoDecoder@UMC@@QAE@XZ$0 vc1_dec.lib&lt;/P&gt;
&lt;P&gt;Assistance will be much appreciate.&lt;/P&gt;</description>
      <pubDate>Sun, 16 Dec 2012 15:54:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Link-errors-when-use-audio-video-codecs/m-p/975509#M20905</guid>
      <dc:creator>Genady_Malinsky</dc:creator>
      <dc:date>2012-12-16T15:54:25Z</dc:date>
    </item>
    <item>
      <title>&gt;&gt;...Error 3 error LNK2019:</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Link-errors-when-use-audio-video-codecs/m-p/975510#M20906</link>
      <description>&amp;gt;&amp;gt;...Error 3 error LNK2019: unresolved external symbol "public: virtual __thiscall UMC::&lt;STRONG&gt;VideoData::~VideoData&lt;/STRONG&gt;(void)"

A source file with &lt;STRONG&gt;implementation&lt;/STRONG&gt; of &lt;STRONG&gt;VideoData::~VideoData&lt;/STRONG&gt; destructor is not included.

Note: In a namespace &lt;STRONG&gt;UMC&lt;/STRONG&gt;.</description>
      <pubDate>Sun, 16 Dec 2012 20:12:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Link-errors-when-use-audio-video-codecs/m-p/975510#M20906</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2012-12-16T20:12:00Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Link-errors-when-use-audio-video-codecs/m-p/975511#M20907</link>
      <description>Hi,

I managed to my other linkage errors but I still got the first error:

Error 1 error LNK2005: _ippStaticInit@0 already defined in ippcore.lib(ippcore-7.0.dll) ippcorel.lib

this is caused when I added this line:

#pragma comment(lib,"ippcorel.lib")

How can I fix it?</description>
      <pubDate>Mon, 17 Dec 2012 14:03:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Link-errors-when-use-audio-video-codecs/m-p/975511#M20907</guid>
      <dc:creator>Genady_Malinsky</dc:creator>
      <dc:date>2012-12-17T14:03:39Z</dc:date>
    </item>
    <item>
      <title>Quote:Genady Malinsky wrote:</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Link-errors-when-use-audio-video-codecs/m-p/975512#M20908</link>
      <description>&lt;BLOCKQUOTE&gt;Genady Malinsky wrote:&lt;BR /&gt;
&lt;P&gt;#pragma comment(lib,"ippcorel.lib")&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
 
Hi Genady,
It looks like both static and dynamic libraries are used in project build. What if you don't use the above pragma? Something remaing undefined?
 
Regards,
Sergey</description>
      <pubDate>Tue, 18 Dec 2012 03:31:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Link-errors-when-use-audio-video-codecs/m-p/975512#M20908</guid>
      <dc:creator>Sergey_K_Intel</dc:creator>
      <dc:date>2012-12-18T03:31:27Z</dc:date>
    </item>
    <item>
      <title>&gt;&gt;...My tester compiled but I</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Link-errors-when-use-audio-video-codecs/m-p/975513#M20909</link>
      <description>&amp;gt;&amp;gt;...My tester compiled but I encountered alot of linkage errors such as...

Genady, could you post a complete command that compiles your sources and links all objects when trying to create an executable?

&amp;gt;&amp;gt;...this is caused when I added this line:
&amp;gt;&amp;gt;
&amp;gt;&amp;gt;#pragma comment(lib,"ippcorel.lib")
&amp;gt;&amp;gt;
&amp;gt;&amp;gt;How can I fix it?

You could try to comment it. My question is why did you add it?

Best regards,
Sergey</description>
      <pubDate>Tue, 18 Dec 2012 05:26:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Link-errors-when-use-audio-video-codecs/m-p/975513#M20909</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2012-12-18T05:26:04Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Link-errors-when-use-audio-video-codecs/m-p/975514#M20910</link>
      <description>Hi,

I amnaged to fix this isuue by adding :

#pragma comment(lib,"ippcore.lib")

if I comment the "ippcorel.lib" I got another linkage erorrs. I now facng another problem.
I make a wrapper, MotionJPEG2000VideoDecoder, for the UIC::JPEG2000Decoder. When I tried to load this wrapper 
I got

Error	2	error LNK2005: "public: __thiscall UIC::ImageDataOrder::~ImageDataOrder(void)" (??1ImageDataOrder@UIC@@QAE@XZ) already defined in MotionJPEG2000_dec.lib(MotionJPEG2000_dec.obj)	uic_core_static.lib	

I added my libs and includes:

#include "stdafx.h"
#include "wrapper.h"
#include "atlbase.h"
#include "MotionJPEG2000_dec.h"
#include "umc_vc1_video_decoder.h"
#include "uic_jpeg2000_dec.h"
#include "umc_mpeg4_video_decoder.h"
#include "umc_h263_video_decoder.h"
#include "umc_h261_video_decoder.h"
#include "umc_mjpeg_video_decoder.h"


#pragma comment(lib,"ippacmerged.lib")
#pragma comment(lib,"ippccmerged.lib")
#pragma comment(lib,"ippchmerged.lib")
#pragma comment(lib,"ippcvmerged.lib")
#pragma comment(lib,"ippdcmerged.lib")
#pragma comment(lib,"ippimerged.lib")
#pragma comment(lib,"ippjmerged.lib")
#pragma comment(lib,"ippmmerged.lib")
#pragma comment(lib,"ipprmerged.lib")
#pragma comment(lib,"ippsmerged.lib")
#pragma comment(lib,"ippscmerged.lib")
#pragma comment(lib,"ippsrmerged.lib")
#pragma comment(lib,"ippvcmerged.lib")
#pragma comment(lib,"ippvmmerged.lib")
#pragma comment(lib,"ippacemerged.lib")
#pragma comment(lib,"ippccemerged.lib")
#pragma comment(lib,"ippchemerged.lib")
#pragma comment(lib,"ippcvemerged.lib")
#pragma comment(lib,"ippdcemerged.lib")
#pragma comment(lib,"ippiemerged.lib")
#pragma comment(lib,"ippjemerged.lib")
#pragma comment(lib,"ippmemerged.lib")
#pragma comment(lib,"ippremerged.lib")
#pragma comment(lib,"ippsemerged.lib")
#pragma comment(lib,"ippscemerged.lib")
#pragma comment(lib,"ippsremerged.lib")
#pragma comment(lib,"ippvcemerged.lib")
#pragma comment(lib,"ippvmemerged.lib")
#pragma comment(lib,"ippcorel.lib")
#pragma comment(lib,"ippcore.lib")
#pragma comment(lib,"ippsremerged.lib")
#pragma comment(lib,"ippvcemerged.lib")
#pragma comment(lib,"ippvmemerged.lib")

#pragma comment(lib,"h263_dec.lib")
#pragma comment(lib,"h261_dec.lib")
#pragma comment(lib,"mpeg4_dec.lib")
//#pragma comment(lib,"mpeg2_dec.lib")
#pragma comment(lib,"jpeg.lib")
#pragma comment(lib,"umc.lib")
#pragma comment(lib,"vm.lib")
#pragma comment(lib,"vm_plus.lib")
#pragma comment(lib,"media_buffers.lib")
#pragma comment(lib,"demuxer.lib")
#pragma comment(lib,"color_space_converter.lib")



#pragma comment(lib,"uic_core_static.lib")
//#pragma comment(lib,"uic_core.lib")
#pragma comment(lib,"uic_io_static.lib")
//#pragma comment(lib,"uic_io.lib")
#pragma comment(lib,"uic_bmp_static.lib")
//#pragma comment(lib,"uic_bmp.lib")
#pragma comment(lib,"uic_pnm_static.lib")
//#pragma comment(lib,"uic_pnm.lib")
#pragma comment(lib,"uic_jpeg_static.lib")
//#pragma comment(lib,"uic_jpeg.lib")
#pragma comment(lib,"uic_jpeg2000_common_l.lib")
#pragma comment(lib,"uic_jpeg2000_dec_l.lib")
#pragma comment(lib,"uic_transcoder_lib.lib")
#pragma comment(lib,"MotionJPEG2000_dec.lib")
//#pragma comment(lib,"uic_jpeg2000_enc_l.lib")


#pragma comment(lib,"vc1_dec.lib")
#pragma comment(lib,"vc1_common.lib")

#include "D:\UMI\ACS\3rd Party\IPP\ipp-samples\audio-video-codecs\core\umc\include\umc_media_data.h"

Thanks.</description>
      <pubDate>Tue, 18 Dec 2012 11:10:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Link-errors-when-use-audio-video-codecs/m-p/975514#M20910</guid>
      <dc:creator>Genady_Malinsky</dc:creator>
      <dc:date>2012-12-18T11:10:56Z</dc:date>
    </item>
    <item>
      <title>Genady,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Link-errors-when-use-audio-video-codecs/m-p/975515#M20911</link>
      <description>Genady,
 
First of all, you don't need all these libraries. Though they anyway are ignored by linker, it's better not to include them to keep build requirements clean. 
If I had to build the project like this, I would remove all IPP libraries from build process (may be except ippcorel.lib),  try to build, look at undefined external references in linker output and add required libraries one by one. 
For example, you start build, you get "ippi&lt;BLA-BLA-BLA&gt; symbol undefined". This means, that you need to add image processing library (or, may be CV - computer vision - library). Add "ippiemerged,lib" and "ippimerged.lib". Repeat the build. 
Suppose you get "ipps&lt;BLA-BLA-BLA&gt; symbol undefined". Add "ippsemerged.lib" and "ippsmerged.lib" and so on.
You can define what particular IPP library you need if you search %IPPROOT%\include\*.h files for a specific function declaration. In this case name of .h file will be the name of .lib library you need to add to build process.
 
Regards,
Sergey&lt;/BLA-BLA-BLA&gt;&lt;/BLA-BLA-BLA&gt;</description>
      <pubDate>Tue, 18 Dec 2012 11:58:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Link-errors-when-use-audio-video-codecs/m-p/975515#M20911</guid>
      <dc:creator>Sergey_K_Intel</dc:creator>
      <dc:date>2012-12-18T11:58:31Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Link-errors-when-use-audio-video-codecs/m-p/975516#M20912</link>
      <description>Hi,

I took your advice and I comment all the IPP libs and it works but I still got errors:

Error	8	error LNK2019: unresolved external symbol "public: enum UIC::BaseStream::TStatus __thiscall CMemBuffInput::Open(unsigned char const *,int)" (?Open@CMemBuffInput@@QAE?AW4TStatus@BaseStream@UIC@@PBEH@Z) referenced in function "public: virtual int __thiscall UMC::MotionJPEG2000VideoDecoder::GetFrame(class UMC::MediaData *,class UMC::MediaData *)" (?GetFrame@MotionJPEG2000VideoDecoder@UMC@@UAEHPAVMediaData@2@0@Z)	MotionJPEG2000_dec.lib	

Error	9	error LNK2019: unresolved external symbol "void __cdecl UIC::ArrFree(void const *)" (?ArrFree@UIC@@YAXPBX@Z) referenced in function "void __cdecl UIC::DeleteArr&lt;CLASS :imagedatarange=""&gt;(class UIC::ImageDataRange *)" (??$DeleteArr@VImageDataRange@UIC@@@UIC@@YAXPAVImageDataRange@0@@Z)	MotionJPEG2000_dec.lib	

Error	10	error LNK2019: unresolved external symbol "unsigned int __cdecl UIC::ArrCountOf(void const *)" (?ArrCountOf@UIC@@YAIPBX@Z) referenced in function "void __cdecl UIC::DeleteArr&lt;CLASS :imagedatarange=""&gt;(class UIC::ImageDataRange *)" (??$DeleteArr@VImageDataRange@UIC@@@UIC@@YAXPAVImageDataRange@0@@Z)	MotionJPEG2000_dec.lib	

Error	11	error LNK2019: unresolved external symbol "void * __cdecl UIC::ArrAlloc(unsigned int,unsigned int)" (?ArrAlloc@UIC@@YAPAXII@Z) referenced in function "int * __cdecl UIC::NewArr&lt;INT&gt;(unsigned int,int const *)" (??$NewArr@H@UIC@@YAPAHIPBH@Z)	MotionJPEG2000_dec.lib&lt;/INT&gt;&lt;/CLASS&gt;&lt;/CLASS&gt;</description>
      <pubDate>Tue, 18 Dec 2012 13:05:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Link-errors-when-use-audio-video-codecs/m-p/975516#M20912</guid>
      <dc:creator>Genady_Malinsky</dc:creator>
      <dc:date>2012-12-18T13:05:50Z</dc:date>
    </item>
    <item>
      <title>You need to add uic_io.lib</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Link-errors-when-use-audio-video-codecs/m-p/975517#M20913</link>
      <description>You need to add uic_io.lib and uic_core.lib from UIC to you linker input files.
  
Regards,
Sergey</description>
      <pubDate>Tue, 18 Dec 2012 14:38:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Link-errors-when-use-audio-video-codecs/m-p/975517#M20913</guid>
      <dc:creator>Sergey_K_Intel</dc:creator>
      <dc:date>2012-12-18T14:38:43Z</dc:date>
    </item>
    <item>
      <title>Hello,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Link-errors-when-use-audio-video-codecs/m-p/975518#M20914</link>
      <description>Hello,

If you can notice above I added this code:

#pragma comment(lib,"uic_core_static.lib")
//#pragma comment(lib,"uic_core.lib")
#pragma comment(lib,"uic_io_static.lib")
//#pragma comment(lib,"uic_io.lib")

I used the static libs and I get the errors above - But when I used the "comment" libs ( uic_io.lib and uic_core.lib)  insted of the static libs I get system error popup when I run my tester:

"The program can't start because uic_io-1.0.dll is missing from your computer. Tray reinstalling the program to fix this problem."

but I got this dll in machine.

c:\IPP\ipp-samples\image-codecs\uic\_bin\ia32_cl8\bin\uic_io-1.0.dll

Regards.</description>
      <pubDate>Wed, 19 Dec 2012 08:55:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Link-errors-when-use-audio-video-codecs/m-p/975518#M20914</guid>
      <dc:creator>Genady_Malinsky</dc:creator>
      <dc:date>2012-12-19T08:55:16Z</dc:date>
    </item>
    <item>
      <title>Quote:Genady Malinsky wrote:</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Link-errors-when-use-audio-video-codecs/m-p/975519#M20915</link>
      <description>&lt;BLOCKQUOTE&gt;Genady Malinsky wrote:&lt;BR /&gt;&lt;P&gt;because uic_io-1.0.dll is missing&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
 
Genady,
 
set PATH=c:\IPP\ipp-samples\image-codecs\uic\_bin\ia32_cl8\bin;%PATH%
 
Or, copy required dll to your exe folder.
Regards,
Sergey</description>
      <pubDate>Wed, 19 Dec 2012 11:21:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Link-errors-when-use-audio-video-codecs/m-p/975519#M20915</guid>
      <dc:creator>Sergey_K_Intel</dc:creator>
      <dc:date>2012-12-19T11:21:11Z</dc:date>
    </item>
    <item>
      <title>I tried to copy it to the</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Link-errors-when-use-audio-video-codecs/m-p/975520#M20916</link>
      <description>I tried to copy it to the same folder where the exe - And I still got the same error.</description>
      <pubDate>Wed, 19 Dec 2012 12:32:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Link-errors-when-use-audio-video-codecs/m-p/975520#M20916</guid>
      <dc:creator>Genady_Malinsky</dc:creator>
      <dc:date>2012-12-19T12:32:09Z</dc:date>
    </item>
    <item>
      <title>&gt;&gt;..."The program can't start</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Link-errors-when-use-audio-video-codecs/m-p/975521#M20917</link>
      <description>&amp;gt;&amp;gt;..."The program can't start because uic_io-1.0.dll is missing from your computer. Tray reinstalling the program to fix this problem."

There are two ways of getting a list of all dependent DLLs for some module:

- MS Depends utility ( however, it doesn't show DLLs loaded with &lt;STRONG&gt;LoadLibrary&lt;/STRONG&gt; Win32 API function )

- Use a binary viewer, open &lt;STRONG&gt;uic_io-1.0.dll&lt;/STRONG&gt; and search for a substring &lt;STRONG&gt;.dll&lt;/STRONG&gt;

As soon as you have a &lt;STRONG&gt;complete list&lt;/STRONG&gt; of all DLLs used by &lt;STRONG&gt;uic_io-1.0.dll&lt;/STRONG&gt; verify that they are in some system search paths.

&amp;gt;&amp;gt;...I tried to copy it to the same folder where the exe - And I still got the same error...

Please follow the procedure described above. There are no any miracles here and when all DLLs could be found the application will work.</description>
      <pubDate>Wed, 19 Dec 2012 13:57:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Link-errors-when-use-audio-video-codecs/m-p/975521#M20917</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2012-12-19T13:57:55Z</dc:date>
    </item>
    <item>
      <title>Do I need those libs (uic_io</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Link-errors-when-use-audio-video-codecs/m-p/975522#M20918</link>
      <description>Do I need those libs (uic_io.lib and uic_core.lib)? Why can't I use the static libs insted?</description>
      <pubDate>Wed, 19 Dec 2012 17:10:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Link-errors-when-use-audio-video-codecs/m-p/975522#M20918</guid>
      <dc:creator>Genady_Malinsky</dc:creator>
      <dc:date>2012-12-19T17:10:44Z</dc:date>
    </item>
    <item>
      <title>Hi Genady,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Link-errors-when-use-audio-video-codecs/m-p/975523#M20919</link>
      <description>Hi Genady,
 
The libs generated by UIC build procedure are import libs (stub libs). They do not contain functions object code, but describe corresponding DLLs, contain references to DLL tables. They are produced by linker as a result of /IMPLIB option. To have real static libs you need to substitute the final "$(LD)" command in sub-project makefiles with MS "LIB" command.
Could you try IPP samples of 7.1? They have better build system, which can generate MS VS projects.
 
Regards,
Sergey</description>
      <pubDate>Thu, 20 Dec 2012 05:36:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Link-errors-when-use-audio-video-codecs/m-p/975523#M20919</guid>
      <dc:creator>Sergey_K_Intel</dc:creator>
      <dc:date>2012-12-20T05:36:22Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Link-errors-when-use-audio-video-codecs/m-p/975524#M20920</link>
      <description>Hi,

I tried to replace the  "$(LD)" command in sub-project makefiles with MS "LIB" command but I did not manage to compile it. 

Orig code of the ipp-samples\image-codecs\uic\src\io\uic_io\uic_io.mak:

so: $(OBJS)
#  $(AR) $(ARFLAGS) $(OBJS) /out:"$(TARGET1)"
  $(LD) $(LDFLAGS) uic_core.lib /out:"$(TARGET2)" $?
  @if not "%VSINSTALLDIR:~-16,4%"=="2003" if not "%VSINSTALLDIR:~-5,4%"=="10.0" ( mt.exe -manifest "$(TARGET2).manifest" -outputresource:"$(TARGET2)";2 )


Changed to:

so: $(OBJS)
#  $(AR) $(ARFLAGS) $(OBJS) /out:"$(TARGET1)"
  LIB $(LDFLAGS) uic_core.lib /out:"$(TARGET2)" $?
  @if not "%VSINSTALLDIR:~-16,4%"=="2003" if not "%VSINSTALLDIR:~-5,4%"=="10.0" ( mt.exe -manifest "$(TARGET2).manifest" -outputresource:"$(TARGET2)";2 )

I could not compile it - this is the error taken from the log file:

_bin\ia32_cl8\bin\uic_io-1.0.dll.manifest : general error c1010070: Failed to load and parse the manifest. The system cannot find the file specified.

NMAKE : fatal error U1077: 'if' : return code '0x1f'
Stop.

Regards.</description>
      <pubDate>Sun, 23 Dec 2012 13:52:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Link-errors-when-use-audio-video-codecs/m-p/975524#M20920</guid>
      <dc:creator>Genady_Malinsky</dc:creator>
      <dc:date>2012-12-23T13:52:24Z</dc:date>
    </item>
    <item>
      <title>Hi Genady,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Link-errors-when-use-audio-video-codecs/m-p/975525#M20921</link>
      <description>Hi Genady,
Do the following
 comment last two lines in codec makefiles, before them insert command line to create plain static libray:
 
  $(AR) $(ARFLAGS) $(OBJS) /out:"$(IMP_LIB)" $?
#  $(LD) $(LDFLAGS) /out:"$(TARGET2)" $?
#  @if not "%VSINSTALLDIR:~-16,4%"=="2003" if not "%VSINSTALLDIR:~-5,4%"=="10.0" ( mt.exe -manifest "$(TARGET2).manifest" -outputresource:"$(TARGET2)";2 )
 
Now all your libs created in _bin\&lt;COMPILER&gt;\stublib are static libs (not DLL import libs). They can be used in further application builds.
 
Regards,
Sergey&lt;/COMPILER&gt;</description>
      <pubDate>Mon, 24 Dec 2012 04:35:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Link-errors-when-use-audio-video-codecs/m-p/975525#M20921</guid>
      <dc:creator>Sergey_K_Intel</dc:creator>
      <dc:date>2012-12-24T04:35:40Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Link-errors-when-use-audio-video-codecs/m-p/975526#M20922</link>
      <description>Hi,

Do I need to do it only in the Codec makefiles?
I tried to do it in the ipp-samples\image-codecs\uic\src\io\uic_io\uic_io.mak :

all: so

so: $(OBJS)
 $(AR) $(ARFLAGS) $(OBJS) /out:"$(TARGET1)"
#  $(LD) $(LDFLAGS) uic_core.lib /out:"$(TARGET2)" $?
#  @if not "%VSINSTALLDIR:~-16,4%"=="2003" if not "%VSINSTALLDIR:~-5,4%"=="10.0" ( mt.exe -manifest "$(TARGET2).manifest" -outputresource:"$(TARGET2)";2 )

but the compilation failed in :

Building: Only UIC
+
******* uic_core PASSED
******* uic_io PASSED
******* uic_dds PASSED
******* uic_bmp PASSED
******* uic_pnm PASSED
******* uic_jpeg PASSED
******* uic_jpeg2000 PASSED
******* ipp_zlib PASSED
******* uic_png PASSED
******* uic_tiff PASSED
******* uic_jpegxr PASSED
******* uic_core_dotnet PASSED
******* uic_io_dotnet FAILED {see log file for details}
******* uic_jpeg_dotnet FAILED {see log file for details}
******* uic_transcoder_con FAILED {see log file for details}
******* wic_uic_codec PASSED
There were errors found

When I open the logs I notice that:

LINK : fatal error LNK1181: cannot open input file 'uic_io.lib'
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\link.EXE"' : return code '0x49d'
Stop.

I looked for the uic_io.lib and it wasn't created. As you can see from the compilation uic_io Passed compilation.

Can you please help?</description>
      <pubDate>Mon, 24 Dec 2012 12:51:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Link-errors-when-use-audio-video-codecs/m-p/975526#M20922</guid>
      <dc:creator>Genady_Malinsky</dc:creator>
      <dc:date>2012-12-24T12:51:54Z</dc:date>
    </item>
    <item>
      <title>Hi Genady,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Link-errors-when-use-audio-video-codecs/m-p/975527#M20923</link>
      <description>Hi Genady,
 
This is why I proposed to specify IMP_LIB as an output to (AR) rule. If you look at top of uic_core.mak you will see
 
TARGET1   = $(LIB_DIR)\uic_core_l.lib
TARGET2   = $(BIN_DIR)\uic_core-1.0.dll
IMP_LIB   = $(STUBLIB_DIR)\uic_core.lib
 
So, with your modification you've created uic_core_l.lib.
 
Regards,
Sergey</description>
      <pubDate>Tue, 25 Dec 2012 04:03:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Link-errors-when-use-audio-video-codecs/m-p/975527#M20923</guid>
      <dc:creator>Sergey_K_Intel</dc:creator>
      <dc:date>2012-12-25T04:03:23Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Link-errors-when-use-audio-video-codecs/m-p/975528#M20924</link>
      <description>Hi,

I changed the make file of I tried to do it in the ipp-samples\image-codecs\uic\src\io\uic_io\uic_io.mak into this:

...

all: so

so: $(OBJS)
  $(AR) $(ARFLAGS) $(OBJS) /out:"$(IMP_LIB)" $?
# $(LD) $(LDFLAGS) uic_core.lib /out:"$(TARGET2)" $?
# @if not "%VSINSTALLDIR:~-16,4%"=="2003" if not "%VSINSTALLDIR:~-5,4%"=="10.0" ( mt.exe -manifest "$(TARGET2).manifest" -outputresource:"$(TARGET2)";2 )

and also the ipp-samples\image-codecs\uic\src\core\uic\uic_core.mak into this:

...
so: $(OBJS)
  $(AR) $(ARFLAGS) $(OBJS) /out:"$(IMP_LIB)" 
#  $(LD) $(LDFLAGS) /out:"$(TARGET2)" $?
#  @if not "%VSINSTALLDIR:~-16,4%"=="2003" if not "%VSINSTALLDIR:~-5,4%"=="10.0" ( mt.exe /manifest "$(TARGET2).manifest" /outputresource:"$(TARGET2)";2 )

I also changed all the codecs image into this:

all: $(OBJS)
   $(AR) $(ARFLAGS) $(OBJS) /out:"$(IMP_LIB)" 
#  $(LD) $(LDFLAGS) /out:"$(TARGET2)" $?
#  @if not "%VSINSTALLDIR:~-16,4%"=="2003" if not "%VSINSTALLDIR:~-5,4%"=="10.0" ( mt.exe -manifest "$(TARGET2).manifest" -outputresource:"$(TARGET2)";2 )

the makefiles that I changed are: bmp, dds, jpeg, jpeg2000, jpegxr, pnm, and tiff.

When I tried to change the uic_png.mak I get error when compiling in the build:

Building: Only UIC
+
******* uic_core PASSED
******* uic_io PASSED
******* uic_dds PASSED
******* uic_bmp PASSED
******* uic_pnm PASSED
******* uic_jpeg PASSED
******* uic_jpeg2000 PASSED
******* ipp_zlib PASSED
******* uic_png PASSED
******* uic_tiff PASSED
******* uic_jpegxr PASSED
******* uic_core_dotnet PASSED
******* uic_io_dotnet PASSED
******* uic_jpeg_dotnet PASSED
******* uic_transcoder_con FAILED {see log file for details}
******* wic_uic_codec PASSED
There were errors found
+-----------------------------------------------------------------------------+
|-FAIL         uic                   יום דצמ 30 16:32:17 2012
+-----------------------------------------------------------------------------+

looking into the log I notice that:

	link /NOLOGO  /SUBSYSTEM:CONSOLE  /MACHINE:I386  /LIBPATH:"_bin\ia32_cl8\stublib"  /LIBPATH:"C:\Program Files\Intel\Composer XE 2011 SP1\ipp\stublib"  uic_core.lib  uic_io.lib  uic_bmp.lib  uic_pnm.lib  uic_jpeg.lib  uic_jpeg2000.lib  uic_dds.lib  uic_png.lib  uic_tiff.lib  uic_jpegxr.lib  kernel32.lib user32.lib gdi32.lib /OUT:_bin\ia32_cl8\bin\uic_transcoder_con.exe "_bin\ia32_cl8\obj\_uic_transcoder_con\bmp.obj" "_bin\ia32_cl8\obj\_uic_transcoder_con\cmdline.obj" "_bin\ia32_cl8\obj\_uic_transcoder_con\detector.obj" "_bin\ia32_cl8\obj\_uic_transcoder_con\dicom.obj" "_bin\ia32_cl8\obj\_uic_transcoder_con\ippimage.obj" "_bin\ia32_cl8\obj\_uic_transcoder_con\jpeg.obj" "_bin\ia32_cl8\obj\_uic_transcoder_con\jpeg2k.obj" "_bin\ia32_cl8\obj\_uic_transcoder_con\pnm.obj" "_bin\ia32_cl8\obj\_uic_transcoder_con\dds.obj" "_bin\ia32_cl8\obj\_uic_transcoder_con\png.obj" "_bin\ia32_cl8\obj\_uic_transcoder_con\tiff.obj" "_bin\ia32_cl8\obj\_uic_transcoder_con\jpegxr.obj" "_bin\ia32_cl8\obj\_uic_transcoder_con\precomp.obj" "_bin\ia32_cl8\obj\_uic_transcoder_con\strnaturechar.obj" "_bin\ia32_cl8\obj\_uic_transcoder_con\timer.obj" "_bin\ia32_cl8\obj\_uic_transcoder_con\uic_transcoder_con.obj"
   Creating library _bin\ia32_cl8\bin\uic_transcoder_con.lib and object _bin\ia32_cl8\bin\uic_transcoder_con.exp
uic_png.lib(pngread.obj) : error LNK2019: unresolved external symbol _inflateInit_ referenced in function _png_create_read_struct_2
uic_png.lib(pngread.obj) : error LNK2019: unresolved external symbol _inflate referenced in function _png_read_row
uic_png.lib(pngrutil.obj) : error LNK2001: unresolved external symbol _inflate
uic_png.lib(pngread.obj) : error LNK2019: unresolved external symbol _inflateEnd referenced in function _png_read_destroy
uic_png.lib(png.obj) : error LNK2019: unresolved external symbol _crc32 referenced in function _png_reset_crc
uic_png.lib(png.obj) : error LNK2019: unresolved external symbol _inflateReset referenced in function _png_reset_zstream
uic_png.lib(pngrutil.obj) : error LNK2001: unresolved external symbol _inflateReset
uic_png.lib(pngwrite.obj) : error LNK2019: unresolved external symbol _deflate referenced in function _png_write_flush
uic_png.lib(pngwutil.obj) : error LNK2001: unresolved external symbol _deflate
uic_png.lib(pngwrite.obj) : error LNK2019: unresolved external symbol _deflateEnd referenced in function _png_write_destroy
uic_png.lib(pngwutil.obj) : error LNK2019: unresolved external symbol _deflateReset referenced in function _png_write_compressed_data_out
uic_png.lib(pngwutil.obj) : error LNK2019: unresolved external symbol _deflateInit2_ referenced in function _png_write_IHDR
_bin\ia32_cl8\bin\uic_transcoder_con.exe : fatal error LNK1120: 9 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\link.EXE"' : return code '0x460'
Stop.

I changed the png to work as before and I tried to run my application - I got this error popup:

"The program can't start because uic_jpeg2000-1.0.dll is missing from your computer. Tray reinstalling the program to fix this problem."

I need help - Shouldn't it be static after my changing?</description>
      <pubDate>Sun, 30 Dec 2012 14:37:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Link-errors-when-use-audio-video-codecs/m-p/975528#M20924</guid>
      <dc:creator>Genady_Malinsky</dc:creator>
      <dc:date>2012-12-30T14:37:14Z</dc:date>
    </item>
  </channel>
</rss>

