Community
cancel
Showing results for 
Search instead for 
Did you mean: 
jbinfo
Beginner
138 Views

JPEC2000 sample code build in C++ Builder problem.

I am used IMPLIB (on the DLL) to create an import library in the Borland environment, as follows:
implib.exe ippacpx.lib ippacpx-6.1.dll
implib.exe ippcc.lib ippcc-6.1.dll
implib.exe ippccpx.lib ippccpx-6.1.dll
implib.exe ippch.lib ippch-6.1.dll
implib.exe ippcore.lib ippcore-6.1.dll
implib.exe ippcv.lib ippcv-6.1.dll
implib.exe ippcvpx.lib ippcvpx-6.1.dll
implib.exe ippi.lib ippi-6.1.dll
implib.exe ippipx.lib ippipx-6.1.dll
implib.exe ippj.lib ippj-6.1.dll
implib.exe ippjpx.lib ippjpx-6.1.dll
implib.exe ipps.lib ipps-6.1.dll
implib.exe ippspx.lib ippspx-6.1.dll
implib.exe libiomp5md.lib libiomp5md.dll
implib.exe libmmd.lib libmmd.dll
implib.exe libmmdd.lib libmmdd.dll

then addall librayfileandJPEG2000 sample code(\image-codecs\uic\src\codec\image\jpeg2000,\image-codecs\uic\src\io,\image-codecs\uic\src\core) to my project,but i got a bunch linker error:

[Linker Error] Unresolved external 'DiagnDescrCT::Context() const' referenced from D:\INTEL_IPP\OBJ\UIC_JP2_ENC.OBJ

[Linker Error] Unresolved external 'DiagnDescrCT::Context() const' referenced from D:\INTEL_IPP\OBJ\UIC_JP2_DEC.OBJ

Can someone help please ?

best regards

JBH
0 Kudos
5 Replies
Vladimir_Dudnik
Employee
138 Views

Hello,

It seems you did not link with UIC DLLs?

Regards,
Vladimir
jbinfo
Beginner
138 Views

Quoting - jbinfo

I am used IMPLIB (on the DLL) to create an import library in the Borland environment, as follows:
implib.exe ippacpx.lib ippacpx-6.1.dll
implib.exe ippcc.lib ippcc-6.1.dll
implib.exe ippccpx.lib ippccpx-6.1.dll
implib.exe ippch.lib ippch-6.1.dll
implib.exe ippcore.lib ippcore-6.1.dll
implib.exe ippcv.lib ippcv-6.1.dll
implib.exe ippcvpx.lib ippcvpx-6.1.dll
implib.exe ippi.lib ippi-6.1.dll
implib.exe ippipx.lib ippipx-6.1.dll
implib.exe ippj.lib ippj-6.1.dll
implib.exe ippjpx.lib ippjpx-6.1.dll
implib.exe ipps.lib ipps-6.1.dll
implib.exe ippspx.lib ippspx-6.1.dll
implib.exe libiomp5md.lib libiomp5md.dll
implib.exe libmmd.lib libmmd.dll
implib.exe libmmdd.lib libmmdd.dll

then addall librayfileandJPEG2000 sample code(image-codecsuicsrccodecimagejpeg2000,image-codecsuicsrcio,image-codecsuicsrccore) to my project,but i got a bunch linker error:

[Linker Error] Unresolved external 'DiagnDescrCT::Context() const' referenced from D:INTEL_IPPOBJUIC_JP2_ENC.OBJ

[Linker Error] Unresolved external 'DiagnDescrCT::Context() const' referenced from D:INTEL_IPPOBJUIC_JP2_DEC.OBJ

Can someone help please ?

best regards

JBH

Thank you reponse.
i am according of your indication to link UIC DLL as follow:
implib.exe uic_core.lib uic_core-1.0.dll
implib.exe uic_io.lib uic_io-1.0.dll
implib.exe uic_jpeg2000.lib uic_jpeg2000-1.0.dll
implib.exe uic_jpeg.lib uic_jpeg-1.0.dll

after add uic_core.lib, uic_io.lib, uic_jpeg2000.lib, uic_jpeg.lib to my project.
now, i am extra add three file dicom.cop. jpeg2k.cpp and jpeg.cpp to build project, but i got a bunch linker error:
[Linker Error] Unresolved external 'UIC::ImageColorSpec::~ImageColorSpec()' referenced from D:INTEL_NEW_DLLOBJJPEG2K.OBJ

[Linker Error] Unresolved external 'UIC::ImageBuffer::~ImageBuffer()' referenced from D:INTEL_NEW_DLLOBJJPEG2K.OBJ

[Linker Error] Unresolved external 'UIC::ImageSamplingGeometry::~ImageSamplingGeometry()' referenced from D:INTEL_NEW_DLLOBJJPEG2K.OBJ
............
How can i to deal with it?
thank for you help.

Regards, JBH
Vladimir_Dudnik
Employee
138 Views

ImageBuffer destructor should be defined in uic_core.lib

Might be the difference in C++ name mandling between MSVC and BC cause this effect?

Regards,
Vladimir

jbinfo
Beginner
138 Views

Quoting - jbinfo

I am used IMPLIB (on the DLL) to create an import library in the Borland environment, as follows:
implib.exe ippacpx.lib ippacpx-6.1.dll
implib.exe ippcc.lib ippcc-6.1.dll
implib.exe ippccpx.lib ippccpx-6.1.dll
implib.exe ippch.lib ippch-6.1.dll
implib.exe ippcore.lib ippcore-6.1.dll
implib.exe ippcv.lib ippcv-6.1.dll
implib.exe ippcvpx.lib ippcvpx-6.1.dll
implib.exe ippi.lib ippi-6.1.dll
implib.exe ippipx.lib ippipx-6.1.dll
implib.exe ippj.lib ippj-6.1.dll
implib.exe ippjpx.lib ippjpx-6.1.dll
implib.exe ipps.lib ipps-6.1.dll
implib.exe ippspx.lib ippspx-6.1.dll
implib.exe libiomp5md.lib libiomp5md.dll
implib.exe libmmd.lib libmmd.dll
implib.exe libmmdd.lib libmmdd.dll

then addall librayfileandJPEG2000 sample code(image-codecsuicsrccodecimagejpeg2000,image-codecsuicsrcio,image-codecsuicsrccore) to my project,but i got a bunch linker error:

[Linker Error] Unresolved external 'DiagnDescrCT::Context() const' referenced from D:INTEL_IPPOBJUIC_JP2_ENC.OBJ

[Linker Error] Unresolved external 'DiagnDescrCT::Context() const' referenced from D:INTEL_IPPOBJUIC_JP2_DEC.OBJ

Can someone help please ?

best regards

JBH

I am change develop tool by MSVC to package dll, and call LoadLibrary function in BCB, thatcoding was exactness.
thank for you help.

best regards
JBH.
Vladimir_Dudnik
Employee
138 Views


Glad to hear you find a solution

Vladimir
Reply