Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
4 Views

Java Interface?

Some samples (apparently older ones) had an example of a Java interface. They would not compile - missing ippcp.h.

I installed the samples that correspond to the latest IPP version 6.1.1.035 - and they did not have any examples of a java interface. Is this no longer supported?

For my needs, I would need a java interface
OR
a simple command line interface would do.

I simply want to resample jpegs using an interpolation filter - I know IPP can do much more than that.

Nathan
0 Kudos
4 Replies
Highlighted
Employee
4 Views

Quoting - nathanm
Some samples (apparently older ones) had an example of a Java interface. They would not compile - missing ippcp.h.

I installed the samples that correspond to the latest IPP version 6.1.1.035 - and they did not have any examples of a java interface. Is this no longer supported?

For my needs, I would need a java interface
OR
a simple command line interface would do.

I simply want to resample jpegs using an interpolation filter - I know IPP can do much more than that.

Nathan

Nathan,

First, the Java sample is located in ipp-sampleslanguage-interfacejava if you download the Intel IPP sample for Windows* in v6.1.

There are few changes in Intel IPP samples in the latest IPP sample v6.1 based, please go to our knowledge base at: http://software.intel.com/en-us/articles/sample-changes-in-intel-ipp/ for more details.

Secondly, if you notice the missing ippcp.h file, please check if you have the Intel IPP cryptography libraires installed. It is a sperate library install due to U.S. export control requirements, please refer our recent posting at:
http://software.intel.com/en-us/forums/showthread.php?t=67023 for reference or add your comments there.

Thanks,
Ying
0 Kudos
Highlighted
Beginner
4 Views

Quoting - Ying S (Intel)

Nathan,

First, the Java sample is located in ipp-sampleslanguage-interfacejava if you download the Intel IPP sample for Windows* in v6.1.

There are few changes in Intel IPP samples in the latest IPP sample v6.1 based, please go to our knowledge base at: http://software.intel.com/en-us/articles/sample-changes-in-intel-ipp/ for more details.

Secondly, if you notice the missing ippcp.h file, please check if you have the Intel IPP cryptography libraires installed. It is a sperate library install due to U.S. export control requirements, please refer our recent posting at:
http://software.intel.com/en-us/forums/showthread.php?t=67023 for reference or add your comments there.

Thanks,
Ying

Yes, I do need the Cryptography libraries.

But I don't think I'll be able to get them till you fix the premier support web page.

It keeps redirecting to here:

https://welcome.intel.com/scripts-util/500.asp?aspxerrorpath=/Login.aspx

Nathan
0 Kudos
Highlighted
Beginner
4 Views

Well. Ive gotten the crypto libraries but I still can't compile the example.

I'm a bit frustrated with having to reverse engineer the build scripts.The Readme says "Edit the build32.bat file to make sure it sets the appropriate environment for the desired build tools". I wish it would say more about setting what environment variables to what so I wouldn't just keep guesssing.I'm running it from a VS 200 command prompt and trying to use that as the compiler.

Can anyone who has gotten this example to work offer suggestions?

Below is as far as I've gotten.

cl /nologo -I"C:Program FilesJavajdk1.6.0_13"include -I"C:Program F
ilesJavajdk1.6.0_13"includewin32 -I"C:Program FilesIntelIPP6.1.1.035ia3
2"include -I"srcnativewin32_IA" /EHsc /w /O2 -LD objwin32_IAjipp_dc.obj "C
:Program FilesIntelIPP6.1.1.035ia32"stublibippdc.lib -Felibwin32_IAjipp
dc.dll
Creating library libwin32_IAjippdc.lib and object libwin32_IAjippdc.exp
cl /nologo -I"C:Program FilesJavajdk1.6.0_13"include -I"C:Program F
ilesJavajdk1.6.0_13"includewin32 -I"C:Program FilesIntelIPP6.1.1.035ia3
2"include -I"srcnativewin32_IA" /EHsc /w /O2 /c /Foobjwin32_IAjipp_core.ob
j srcnativejipp_core.c
jipp_core.c
cl /nologo -I"C:Program FilesJavajdk1.6.0_13"include -I"C:Program F
ilesJavajdk1.6.0_13"includewin32 -I"C:Program FilesIntelIPP6.1.1.035ia3
2"include -I"srcnativewin32_IA" /EHsc /w /O2 -LD objwin32_IAjipp_core.obj
"C:Program FilesIntelIPP6.1.1.035ia32"stublibippcore.lib -Felibwin32_IA
jippcore.dll
Creating library libwin32_IAjippcore.lib and object libwin32_IAjippcore.e
xp
The system cannot find the path specified.

C:Samplesipp-sampleslanguage-interfacejava>endlocal

C:Samplesipp-sampleslanguage-interfacejava>GOTO:EOF

C:Samplesipp-sampleslanguage-interfacejava>

0 Kudos
Highlighted
Employee
4 Views

Quoting - nathanm
Well. Ive gotten the crypto libraries but I still can't compile the example.

I'm a bit frustrated with having to reverse engineer the build scripts.The Readme says "Edit the build32.bat file to make sure it sets the appropriate environment for the desired build tools". I wish it would say more about setting what environment variables to what so I wouldn't just keep guesssing.I'm running it from a VS 200 command prompt and trying to use that as the compiler.

Can anyone who has gotten this example to work offer suggestions?

Below is as far as I've gotten.

cl /nologo -I"C:Program FilesJavajdk1.6.0_13"include -I"C:Program F
ilesJavajdk1.6.0_13"includewin32 -I"C:Program FilesIntelIPP6.1.1.035ia3
2"include -I"srcnativewin32_IA" /EHsc /w /O2 -LD objwin32_IAjipp_dc.obj "C
:Program FilesIntelIPP6.1.1.035ia32"stublibippdc.lib -Felibwin32_IAjipp
dc.dll
Creating library libwin32_IAjippdc.lib and object libwin32_IAjippdc.exp
cl /nologo -I"C:Program FilesJavajdk1.6.0_13"include -I"C:Program F
ilesJavajdk1.6.0_13"includewin32 -I"C:Program FilesIntelIPP6.1.1.035ia3
2"include -I"srcnativewin32_IA" /EHsc /w /O2 /c /Foobjwin32_IAjipp_core.ob
j srcnativejipp_core.c
jipp_core.c
cl /nologo -I"C:Program FilesJavajdk1.6.0_13"include -I"C:Program F
ilesJavajdk1.6.0_13"includewin32 -I"C:Program FilesIntelIPP6.1.1.035ia3
2"include -I"srcnativewin32_IA" /EHsc /w /O2 -LD objwin32_IAjipp_core.obj
"C:Program FilesIntelIPP6.1.1.035ia32"stublibippcore.lib -Felibwin32_IA
jippcore.dll
Creating library libwin32_IAjippcore.lib and object libwin32_IAjippcore.e
xp
The system cannot find the path specified.

C:Samplesipp-sampleslanguage-interfacejava>endlocal

C:Samplesipp-sampleslanguage-interfacejava>GOTO:EOF

C:Samplesipp-sampleslanguage-interfacejava>


It seemed a path problem, by default, the sample will be installed under directory C:Program FilesIntelIPP6.1.1.035 where you installed the Intel IPP libraires. So you may need to modfiy the make file from this Java sample to point out your sample installation folder.

Thanks,
Ying S


0 Kudos