Community
cancel
Showing results for 
Search instead for 
Did you mean: 
bk_no2
Beginner
129 Views

Using the ipl-ipp sample (compile error)

Hi,

I'm trying to migrate an ipl-based project to ipp. Therefor, I tried to build the sample ipl-ipp, but that fails. I'm using the ipp v5.3.1.064 with sample v5.3.083.

Linking fails because a library named ippcorems32pc.lib is not found. This file is not contained either in the IPP or in the samples.

Does anyone have an idea?

The log looks like this:

+----------------------------------------------------------------------------+
|Test : ipl-ipp build Die Jan 8 15:48:15 2008
|Function : no
|Description : building ipl-ipp sample
|Class : Information
|Source : D:DLIPP_5_3_Samplesipp-samples oolsenv
|Executable : ipl-ippuild32.bat
+----------------------------------------------------------------------------+
+++ IA32 architecture is picked out.
--- Intel C++ Compiler for IA32 environment is not found.
--- Intel C++ Compiler for IA32 environment is not found.
+++ Microsoft Visual Studio 2005 compiler for IA32 is taken
Setting environment for using Microsoft Visual Studio 2005 x86 tools.
***
*** WARNING: Custom environment for IPP IA32 is not found.
***
***
*** WARNING: Default IPP 5.3 environment for IA32 is not found.
***
IPL cleaning ...

************************************************************
Building IPL ...
cl.exe /nologo /c /EHsc /W4 /MD /I "C:ProgrammeIntelIPP5.0ia32include" /I ".include" /I ".\_include" /I .\_src /D "WIN32" /D "_WIN32" /D "_WINDOWS" /D "STRICT" /D "NDEBUG" /D "_MBCS" /D WINVER=0x0501 /D _CRT_SECURE_NO_DEPRECATE /Fo.\_objwin32_cl8\_ipl .\_srciplabs.c .\_srcipladd.c .\_srcipladds.c .\_srcipladdsf.c .\_srciplalloc.c .\_srciplalpha.c .\_srcipland.c .\_srciplbitnl.c .\_srciplblur.c .\_srciplborde.c .\_srciplclone.c .\_srciplclose.c .\_srciplcnv2d.c .\_srciplcolor.c .\_srciplcomp.c .\_srciplcsep2.c .\_srciplctx.c .\_srciplcvrt.c .\_srcipldct2d.c .\_srcipldecim.c .\_srcipldext.c .\_srcipldib.c .\_srcipldilat.c .\_srciplerode.c .\_srciplfft2d.c .\_srciplgenim.c .\_srciplgetpx.c .\_srciplguibo.c .\_srciplhist.c .\_srcipllshs.c .\_srciplmirr.c .\_srciplmisc.c .\_srciplmnmxf.c .\_srciplmoms.c .\_srciplmpy2d.c .\_srciplmul.c .\_srciplmuls.c .\_srciplnlf.c .\_srciplnoise.c .\_srciplnorm.c .\_srciplnot.c .\_srciplopen.c .\_srciplor.c .\_srciplputpx.c .\_srciplredb.c .\_srciplremap.c .\_srciplresiz.c .\_srciplrshs.c .\_srciplscale.c .\_srciplsce.c .\_srciplsclfp.c .\_srciplsqr.c .\_srciplstder.c .\_srciplsub.c .\_srciplsubs.c .\_srciplsubsf.c .\_srciplthres.c .\_srcipltwist.c .\_srcipltwstf.c .\_srcipluser.c .\_srciplwarp.c .\_srciplwt.c .\_srciplxcorr.c .\_srciplxor.c .\_srciplzoom.c .\_srcownctx.c .\_srcowninit.c .\_srcowntools.c
iplabs.c
ipladd.c
ipladds.c
ipladdsf.c
iplalloc.c
iplalpha.c
ipland.c
iplbitnl.c
iplblur.c
iplborde.c
iplclone.c
iplclose.c
iplcnv2d.c
iplcolor.c
iplcomp.c
iplcsep2.c
iplctx.c
iplcvrt.c
ipldct2d.c
ipldecim.c
Code wird generiert...
Kompilieren...
ipldext.c
ipldib.c
ipldilat.c
iplerode.c
iplfft2d.c
iplgenim.c
iplgetpx.c
iplguibo.c
iplhist.c
ipllshs.c
iplmirr.c
iplmisc.c
iplmnmxf.c
iplmoms.c
iplmpy2d.c
iplmul.c
iplmuls.c
iplnlf.c
iplnoise.c
iplnorm.c
Code wird generiert.. .
Kompilieren...
iplnot.c
iplopen.c
iplor.c
iplputpx.c
iplredb.c
iplremap.c
iplresiz.c
iplrshs.c
iplscale.c
iplsce.c
iplsclfp.c
iplsqr.c
iplstder.c
iplsub.c
iplsubs.c
iplsubsf.c
iplthres.c
ipltwist.c
ipltwstf.c
ipluser.c
Code wird generiert...
Kompilieren...
iplwarp.c
iplwt.c
iplxcorr.c
iplxor.c
iplzoom.c
ownctx.c
owninit.c
owntools.c
Code wird generiert...
lib.exe /machine:I386 /out:".libwin32_cl8ipll.lib" @C:DOKUME~1kaeLOKALE~1Temp m3FB.tmp
Microsoft Library Manager Version 8.00.50727.762
Copyright (C) Microsoft Corporation. All rights reserved.

.\_objwin32_cl8\_ipliplabs.obj .\_objwin32_cl8\_iplipladd.obj .\_objwin32_cl8\_iplipladds.obj .\_objwin32_cl8\_iplipladdsf.obj .\_objwin32_cl8\_ipliplalloc.obj .\_objwin32_cl8\_ipliplalpha.obj .\_objwin32_cl8\_iplipland.obj .\_objwin32_cl8\_ipliplbitnl.obj .\_objwin32_cl8\_ipliplblur.obj .\_objwin32_cl8\_ipliplborde.obj .\_objwin32_cl8\_ipliplclone.obj .\_objwin32_cl8\_ipliplclose.obj .\_objwin32_cl8\_ipliplcnv2d.obj .\_objwin32_cl8\_ipliplcolor.obj .\_objwin32_cl8\_ipliplcomp.obj .\_objwin32_cl8\_ipliplcsep2.obj .\_objwin32_cl8\_ipliplctx.obj .\_objwin32_cl8\_ipliplcvrt.obj .\_objwin32_cl8\_iplipldct2d.obj .\_objwin32_cl8\_iplipldecim.obj .\_objwin32_cl8\_iplipldext.obj .\_objwin32_cl8\_iplipldib.obj .\_objwin32_cl8\_iplipldilat.obj .\_objwin32_cl8\_ipliplerode.obj .\_objwin32_cl8\_ipliplfft2d.obj .\_objwin32_cl8\_ipliplgenim.obj .\_objwin32_cl8\_ipliplgetpx.obj .\_objwin32_cl8\_ipliplguibo.obj .\_objwin32_cl8\_ipliplhist.obj .\_objwin32_cl8\_iplipllshs.obj .\_objwin32_cl8\_ipliplmirr.obj .\_objwin32_cl8\_ipliplmisc.obj .\_objwin32_cl8\_ipliplmnmxf.obj .\_objwin32_cl8\_ipliplmoms.obj .\_objwin32_cl8\_ipliplmpy2d.obj .\_objwin32_cl8\_ipliplmul.obj .\_objwin32_cl8\_ipliplmuls.obj .\_objwin32_cl8\_ipliplnlf.obj .\_objwin32_cl8\_ipliplnoise.obj .\_objwin32_cl8\_ipliplnorm.obj .\_objwin32_cl8\_ipliplnot.obj .\_objwin32_cl8\_ipliplopen.obj .\_objwin32_cl8\_ipliplor.obj .\_objwin32_cl8\_ipliplputpx.obj .\_objwin32_cl8\_ipliplredb.obj .\_objwin32_cl8\_ipliplremap.obj .\_objwin32_cl8\_ipliplresiz.obj .\_objwin32_cl8\_ipliplrshs.obj .\_objwin32_cl8\_ipliplscale.obj .\_objwin32_cl8\_ipliplsce.obj .\_objwin32_cl8\_ipliplsclfp.obj .\_objwin32_cl8\_ipliplsqr.obj .\_objwin32_cl8\_ipliplstder.obj .\_objwin32_cl8\_ipliplsub.obj .\_objwin32_cl8\_ipliplsubs.obj .\_objwin32_cl8\_ipliplsubsf.obj .\_objwin32_cl8\_ipliplthres.obj .\_objwin32_cl8\_iplipltwist.obj .\_objwin32_cl8\_iplipltwstf.obj .\_objwin32_cl8\_iplipluser.obj .\_objwin32_cl8\_ipliplwarp.obj .\_objwin32_cl8\_ipliplwt.obj .\_objwin32_cl8\_ipliplxcorr.obj .\_objwin32_cl8\_ipliplxor.obj .\_objwin32_cl8\_ipliplzoom.obj .\_objwin32_cl8\_iplownctx.obj .\_objwin32_cl8\_iplowninit.obj .\_objwin32_cl8\_iplowntools.obj
link.exe /nologo /subsystem:windows /dll /machine:I386 /def:".\_srcipl.def" /map:".\_objwin32_cl8\_iplipl.map" /implib:".libwin32_cl8ipl.lib" kernel32.lib user32.lib gdi32.lib ippcorems32pc.lib ippsms32pc.lib ippims32pc.lib ippccms32pc.lib ".libwin32_cl8ipll.lib" /out:".inwin32_cl8ipl.dll"
LINK : fatal error LNK1181: Eingabedatei "ippcorems32pc.lib" kann nicht geffnet werden.
+-------------------------------------------------------------------------- ---+
|-FAIL ipl-ipp Die Jan 8 15:48:33 2008
+-----------------------------------------------------------------------------+

Regards
bk_no2
0 Kudos
4 Replies
Vladimir_Dudnik
Employee
129 Views

Hello,

we did not face such issue during testing of this sample before release.
Could you please provide a bit more info? In what folder did you install IPP?
is it C:Program Files?
According your log file, it seems that build script did not find IPP

*** WARNING: Default IPP 5.3 environment for IA32 is not found.
***
IPL cleaning ...

************************************************************
Building IPL ...
cl.exe /nologo /c /EHsc /W4 /MD /I "C:ProgrammeIntelIPP5.0ia32include" /I ".include"
/I "._include" /I ._src /D "WIN32" /D "_WIN32" /D "_WINDOWS" /D "STRICT" /D "NDEBUG"
/D "_MBCS" /D WINVER=0x0501 /D _CRT_SECURE_NO_DEPRECATE
/Fo._objwin32_cl8_ipl ._srciplabs.c ._srcipladd.c ._srcipladds.c ._srcipladdsf.c ._srciplalloc.c
._srciplalpha.c ._srcipland.c ._srciplbitnl.c ._srciplblur.c ._srciplborde.c ._srciplclone.c ._srciplclose.c
._srciplcnv2d.c ._srciplcolor.c ._srciplcomp.c ._srciplcsep2.c ._srciplctx.c ._srciplcvrt.c ._srcipldct2d.c
._srcipldecim.c ._srcipldext.c ._srcipldib.c ._srcipldilat.c ._srciplerode.c ._srciplfft2d.c ._srciplgenim.c
._srciplgetpx.c ._srciplguibo.c ._srciplhist.c ._srcipllshs.c ._srciplmirr.c ._srciplmisc.c ._srciplmnmxf.c
._srciplmoms.c ._srciplmpy2d.c ._srciplmul.c ._srciplmuls.c ._srciplnlf.c ._srciplnoise.c ._srciplnorm.c
._srciplnot.c ._srciplopen.c ._srciplor.c ._srciplputpx.c ._srciplredb.c ._srciplremap.c ._srciplresiz.c
._srciplrshs.c ._srciplscale.c ._srciplsce.c ._srciplsclfp.c ._srciplsqr.c ._srciplstder.c ._srciplsub.c ._srciplsubs.c
._srciplsubsf.c ._srciplthres.c ._srcipltwist.c ._srcipltwstf.c ._srcipluser.c ._srciplwarp.c ._srciplwt.c
._srciplxcorr.c ._srciplxor.c ._srciplzoom.c ._srcownctx.c ._srcowninit.c ._srcowntools.c


Regards,
Vladimir

ravpra
Beginner
129 Views

Hi Vladimir,

I am trying to build IPP-IPL in the IPP samples (w_ipp-samples_p_5.3.095) for my 64-bit Intel Xeon. But I could not find buildem64t.bat. Only build32.bat is present in the ipl-ipp. When I copied a buildem64t.bat from another directory, this is the error I am getting.

+----------------------------------------------------------------------------+
|Test : ipl-ipp build Wed Oct 15 1:22:01 PM 2008
|Function : no
|Description : building ipl-ipp sample
|Class : Information
|Source : C:IPP Evaluationw_ipp-samples_p_5.3.095ipp-samplestoolsenv
|Executable : ipl-ippbuildem64t.bat
+----------------------------------------------------------------------------+
+++ EM64T architecture is picked out.
--- Intel C++ Compiler for EM64T environment is not found.
--- Intel C++ Compiler for EM64T environment is not found.
--- Microsoft Visual Studio 2008 environment is not found.
+++ Microsoft Visual Studio 2005 compiler for EM64T is taken
Setting environment for using Microsoft Visual Studio 2005 x64 tools.
+++ Default Intel IPP 5.3 environment is found at "C:Program FilesIntelIPP
5.3.4.087EM64Ttoolsenvippenvem64t.bat"

Microsoft Program Maintenance Utility Version 8.00.50727.42
Copyright (C) Microsoft Corporation. All rights reserved.

IPL cleaning ...
Deleted file - C:IPP Evaluationw_ipp-samples_p_5.3.095ipp-samplesimage-proce
ssingipl-ipplibwinem64t_cl8ipl.lib

Microsoft Program Maintenance Utility Version 8.00.50727.42
Copyright (C) Microsoft Corporation. All rights reserved.


************************************************************
Building IPL ...
cl.exe /nologo /c /EHsc /W4 /MD /I "C:Program FilesIntelIPP5.3.4.087
em64tinclude" /I ".include" /I "._include" /I ._src /D "WIN32" /D "_WIN32"
/D "_WINDOWS" /D "STRICT" /D "NDEBUG" /D "_MBCS" /D WINVER=0x0501 /D _CRT_SECURE
_NO_DEPRECATE /D "WIN64" /D "_WIN64" /Fo._objwinem64t_cl8_ipl ._srciplabs.
c ._srcipladd.c ._srcipladds.c ._srcipladdsf.c ._srciplalloc.c ._srcip
lalpha.c ._srcipland.c ._srciplbitnl.c ._srciplblur.c ._srciplborde.c .
_srciplclone.c ._srciplclose.c ._srciplcnv2d.c ._srciplcolor.c ._srcipl
comp.c ._srciplcsep2.c ._srciplctx.c ._srciplcvrt.c ._srcipldct2d.c ._s
rcipldecim.c ._srcipldext.c ._srcipldib.c ._srcipldilat.c ._srciplerode
.c ._srciplfft2d.c ._srciplgenim.c ._srciplgetpx.c ._srciplguibo.c ._sr
ciplhist.c ._srcipllshs.c ._srciplmirr.c ._srciplmisc.c ._srciplmnmxf.c
._srciplmoms.c ._srciplmpy2d.c ._srciplmul.c ._srciplmuls.c ._srcipln
lf.c ._srciplnoise.c ._srciplnorm.c ._srciplnot.c ._srciplopen.c ._src
iplor.c ._srciplputpx.c ._srciplredb.c ._srciplremap.c ._srciplresiz.c .
_srciplrshs.c ._srciplscale.c ._srciplsce.c ._srciplsclfp.c ._srciplsq
r.c ._srciplstder.c ._srciplsub.c ._srciplsubs.c ._srciplsubsf.c ._src
iplthres.c ._srcipltwist.c ._srcipltwstf.c ._srcipluser.c ._srciplwarp.c
._srciplwt.c ._srciplxcorr.c ._srciplxor.c ._srciplzoom.c ._srcownctx
.c ._srcowninit.c ._srcowntools.c
iplabs.c
ipladd.c
ipladds.c
ipladdsf.c
iplalloc.c
._srciplalloc.c(228) : warning C4305: 'type cast' : truncation from 'char *' t
o 'unsigned long'
._srciplalloc.c(228) : warning C4306: 'type cast' : conversion from 'unsigned
long' to 'char *' of greater size
._srciplalloc.c(297) : warning C4305: 'type cast' : truncation from 'char *' t
o 'unsigned long'
._srciplalloc.c(297) : warning C4306: 'type cast' : conversion from 'unsigned
long' to 'char *' of greater size
iplalpha.c
ipland.c
iplbitnl.c
iplblur.c
iplborde.c
iplclone.c
iplclose.c
iplcnv2d.c
iplcolor.c
iplcomp.c
iplcsep2.c
iplctx.c
iplcvrt.c
ipldct2d.c
ipldecim.c
Generating Code...
Compiling...
ipldext.c
ipldib.c
ipldilat.c
iplerode.c
iplfft2d.c
iplgenim.c
iplgetpx.c
iplguibo.c
iplhist.c
ipllshs.c
iplmirr.c
iplmisc.c
iplmnmxf.c
iplmoms.c
iplmpy2d.c
iplmul.c
iplmuls.c
iplnlf.c
iplnoise.c
iplnorm.c
Generating Code...
Compiling...
iplnot.c
iplopen.c
iplor.c
iplputpx.c
iplredb.c
iplremap.c
iplresiz.c
iplrshs.c
iplscale.c
iplsce.c
iplsclfp.c
iplsqr.c
iplstder.c
iplsub.c
iplsubs.c
iplsubsf.c
iplthres.c
ipltwist.c
ipltwstf.c
ipluser.c
Generating Code...
Compiling...
iplwarp.c
iplwt.c
iplxcorr.c
iplxor.c
iplzoom.c
ownctx.c
owninit.c
owntools.c
Generating Code...
lib.exe /machine:x64 /out:".libwinem64t_cl8ipll.lib" @C:UsersADMINI
~1AppDataLocalTempnm6B50.tmp
Microsoft Library Manager Version 8.00.50727.42
Copyright (C) Microsoft Corporation. All rights reserved.

._objwinem64t_cl8_ipliplabs.obj ._objwinem64t_cl8_iplipladd.obj ._objw
inem64t_cl8_iplipladds.obj ._objwinem64t_cl8_iplipladdsf.obj ._objwinem6
4t_cl8_ipliplalloc.obj ._objwinem64t_cl8_ipliplalpha.obj ._objwinem64t_c
l8_iplipland.obj ._objwinem64t_cl8_ipliplbitnl.obj ._objwinem64t_cl8_ip
liplblur.obj ._objwinem64t_cl8_ipliplborde.obj ._objwinem64t_cl8_iplipl
clone.obj ._objwinem64t_cl8_ipliplclose.obj ._objwinem64t_cl8_ipliplcnv2
d.obj ._objwinem64t_cl8_ipliplcolor.obj ._objwinem64t_cl8_ipliplcomp.obj
._objwinem64t_cl8_ipliplcsep2.obj ._objwinem64t_cl8_ipliplctx.obj ._ob
jwinem64t_cl8_ipliplcvrt.obj ._objwinem64t_cl8_iplipldct2d.obj ._objwin
em64t_cl8_iplipldecim.obj ._objwinem64t_cl8_iplipldext.obj ._objwinem64t
_cl8_iplipldib.obj ._objwinem64t_cl8_iplipldilat.obj ._objwinem64t_cl8_
ipliplerode.obj ._objwinem64t_cl8_ipliplfft2d.obj ._objwinem64t_cl8_ipl
iplgenim.obj ._objwinem64t_cl8_ipliplgetpx.obj ._objwinem64t_cl8_ipliplg
uibo.obj ._objwinem64t_cl8_ipliplhist.obj ._objwinem64t_cl8_iplipllshs.o
bj ._objwinem64t_cl8_ipliplmirr.obj ._objwinem64t_cl8_ipliplmisc.obj ._
objwinem64t_cl8_ipliplmnmxf.obj ._objwinem64t_cl8_ipliplmoms.obj ._objw
inem64t_cl8_ipliplmpy2d.obj ._objwinem64t_cl8_ipliplmul.obj ._objwinem64
t_cl8_ipliplmuls.obj ._objwinem64t_cl8_ipliplnlf.obj ._objwinem64t_cl8_
ipliplnoise.obj ._objwinem64t_cl8_ipliplnorm.obj ._objwinem64t_cl8_ipli
plnot.obj ._objwinem64t_cl8_ipliplopen.obj ._objwinem64t_cl8_ipliplor.ob
j ._objwinem64t_cl8_ipliplputpx.obj ._objwinem64t_cl8_ipliplredb.obj ._
objwinem64t_cl8_ipliplremap.obj ._objwinem64t_cl8_ipliplresiz.obj ._obj
winem64t_cl8_ipliplrshs.obj ._objwinem64t_cl8_ipliplscale.obj ._objwinem
64t_cl8_ipliplsce.obj ._objwinem64t_cl8_ipliplsclfp.obj ._objwinem64t_cl
8_ipliplsqr.obj ._objwinem64t_cl8_ipliplstder.obj ._objwinem64t_cl8_ipl
iplsub.obj ._objwinem64t_cl8_ipliplsubs.obj ._objwinem64t_cl8_ipliplsub
sf.obj ._objwinem64t_cl8_ipliplthres.obj ._objwinem64t_cl8_iplipltwist.o
bj ._objwinem64t_cl8_iplipltwstf.obj ._objwinem64t_cl8_iplipluser.obj .
_objwinem64t_cl8_ipliplwarp.obj ._objwinem64t_cl8_ipliplwt.obj ._objwin
em64t_cl8_ipliplxcorr.obj ._objwinem64t_cl8_ipliplxor.obj ._objwinem64t_
cl8_ipliplzoom.obj ._objwinem64t_cl8_iplownctx.obj ._objwinem64t_cl8_ip
lowninit.obj ._objwinem64t_cl8_iplowntools.obj
link.exe /nologo /subsystem:windows /dll /machine:x64 /def:"._srci
pl.def" /map:"._objwinem64t_cl8_iplipl.map" /implib:".libwinem64t_cl8ip
l.lib" kernel32.lib user32.lib gdi32.lib ippcore.lib ipps.lib ippi.lib ippc
c.lib ".libwinem64t_cl8ipll.lib" /out:".binwinem64t_cl8ipl.dll"
LINK : fatal error LNK1181: cannot open input file 'ippcore.lib'
NMAKE : fatal error U1077: '"C:Program Files (x86)Microsoft Visual Studio 8VC
BINamd64link.exe"' : return code '0x49d'
Stop.
+-----------------------------------------------------------------------------+
|-FAIL ipl-ipp Wed Oct 15 1:22:11 PM 2008
+-----------------------------------------------------------------------------+

I checked in the C:Program FilesIntelIPP5.3.4.087em64tlib folder, and the libs are ippcoreem64t_t.lib and ippcoreem64tl.lib

Could you please tell me how to build IPL-IPP for 64 bit IPP? Your assistance will be greatly appreciated.

thanks,

ravi

ravpra
Beginner
129 Views

Hi again all,


I was able to solve the problem myself. For future reference ;) In the Makefile, at the top I had to change to LINK_ARCH.

LINK_ARCH = AMD64

And then

LIB_ARCH = em64t

Is all I did to get it to build with a buildem64t.bat copied from another directory.

Thanks

ravi

P.s. : Vladimir, please correct me if I am wrong.

Vladimir_Dudnik
Employee
129 Views

Quoting - ravpra

P.s. : Vladimir, please correct me if I am wrong.


Hi Ravi,

you are absolutely right!

Regards,
Vladimir

Reply