Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Ajay_N_
Beginner
54 Views

Help working with C# wrappers

Hello all,

Thanks to Vladmir I could get to know about the wrappers that IPP offers. Can someone please tell me the procedure to get them running in C#. A sample code would be really appreciated.

Thanks and Regards

Ajay Nair
0 Kudos
7 Replies
Ajay_N_
Beginner
54 Views

I have still not left hope in anticipation of reply !!
Ying_S_Intel
Employee
54 Views



I have still not left hope in anticipation of reply !!


The C# wrapper is offered as part of Intel IPP samples, you can find it from sample installation folder :
ipp-sampleslanguage-interfacedotnet-cpp

The sample can be downloaded from http://www.intel.com/software/products/ipp/samples.htm

Or you can find it along with other Intel IPP packages via Intel Registration Center.

Hope it helps.

Thanks,

Ying
Ajay_N_
Beginner
54 Views

Thanks for replying.

Yeah I have these wrappers, but I am very much new to this IPP. Can you tell me a sample program with IPP C# wrappers ?


Thanks


Ajay Nair

Ajay_N_
Beginner
54 Views

Please ! I am stuck at this point. I require help !!!

pingdrop
Beginner
54 Views

Ajay,

The sample code is located:
ipp-sampleslanguage-interfacedotnet-cppipspsrc

You can compile the application by running the batch file one directory above it. Though the program dose not import directly into VS you can still use the functions in the example to access the dll.

If this works for you please start a thread if you end up running into performance problems. Judging by the number of views on this thread their are a lot of us who have run into issues and are still looking for details.

Regards,

pingdrop
Beginner
54 Views

Ajay_N_
Beginner
54 Views

Thank you for replying !

[cpp]'cscript' is not recognized as an internal or external command,
operable program or batch file.
+----------------------------------------------------------------------------+
|Test        : ipsp build
|Function    : no
|Description : building ipsp sample
|Class       : Information
|Source      : C:Documents and SettingsAjayDesktopOpenCV and IPPw_ipp-sampl
es_b_6.0.079ipp-samplestoolsenv
|Executable  : ipspbuild32.bat
+----------------------------------------------------------------------------+
'Cmd' is not recognized as an internal or external command,
operable program or batch file.
+++ IA32 architecture is picked out.
--- Intel C++ Compiler  for IA32 environment is not found.
--- Intel C++ Compiler  for IA32 environment is not found.
--- Intel C++ Compiler  for IA32 environment is not found.
+++ Microsoft Visual Studio 2008 compiler for IA32 is taken
Setting environment for using Microsoft Visual Studio 2008 x86 tools.
The system cannot find the path specified.
***
*** WARNING: Default IPP 6.0 environment for IA32 is not found.
***

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

Cleaning All ...

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

        csc.exe /out:.binippdefs_cs.dll /target:library /unsafe /platform:x86
.srcippdefs.cs
Microsoft  Visual C# 2008 Compiler version 3.5.30729.1
for Microsoft  .NET Framework version 3.5
Copyright (C) Microsoft Corporation. All rights reserved.

warning CS1668: Invalid search path 'C:Program FilesMicrosoft Visual Studio
        9.0VCPlatformSDKlib' specified in 'LIB environment variable' -- 'The
        system cannot find the path specified. '
        csc.exe /out:.binippcore_cs.dll /target:library /r:.binippdefs_cs.dl
l /unsafe /platform:x86 .srcippcore.cs
Microsoft  Visual C# 2008 Compiler version 3.5.30729.1
for Microsoft  .NET Framework version 3.5
Copyright (C) Microsoft Corporation. All rights reserved.

warning CS1668: Invalid search path 'C:Program FilesMicrosoft Visual Studio
        9.0VCPlatformSDKlib' specified in 'LIB environment variable' -- 'The
        system cannot find the path specified. '
        csc.exe /out:.binipps_cs.dll /target:library /r:.binippdefs_cs.dll /
unsafe /platform:x86 .srcipps.cs
Microsoft  Visual C# 2008 Compiler version 3.5.30729.1
for Microsoft  .NET Framework version 3.5
Copyright (C) Microsoft Corporation. All rights reserved.

warning CS1668: Invalid search path 'C:Program FilesMicrosoft Visual Studio
        9.0VCPlatformSDKlib' specified in 'LIB environment variable' -- 'The
        system cannot find the path specified. '
        csc.exe /out:.binippi_cs.dll /target:library /r:.binippdefs_cs.dll /
unsafe /platform:x86 .srcippi.cs
Microsoft  Visual C# 2008 Compiler version 3.5.30729.1
for Microsoft  .NET Framework version 3.5
Copyright (C) Microsoft Corporation. All rights reserved.

warning CS1668: Invalid search path 'C:Program FilesMicrosoft Visual Studio
        9.0VCPlatformSDKlib' specified in 'LIB environment variable' -- 'The
        system cannot find the path specified. '
        csc.exe /out:.binippj_cs.dll /target:library /r:.binippdefs_cs.dll /
unsafe /platform:x86 .srcippj.cs
Microsoft  Visual C# 2008 Compiler version 3.5.30729.1
for Microsoft  .NET Framework version 3.5
Copyright (C) Microsoft Corporation. All rights reserved.

warning CS1668: Invalid search path 'C:Program FilesMicrosoft Visual Studio
        9.0VCPlatformSDKlib' specified in 'LIB environment variable' -- 'The
        system cannot find the path specified. '
        csc.exe /out:.binippch_cs.dll /target:library /r:.binippdefs_cs.dll
/unsafe /platform:x86 .srcippch.cs
Microsoft  Visual C# 2008 Compiler version 3.5.30729.1
for Microsoft  .NET Framework version 3.5
Copyright (C) Microsoft Corporation. All rights reserved.

warning CS1668: Invalid search path 'C:Program FilesMicrosoft Visual Studio
        9.0VCPlatformSDKlib' specified in 'LIB environment variable' -- 'The
        system cannot find the path specified. '
        csc.exe /out:.binippcc_cs.dll /target:library /r:.binippdefs_cs.dll
/unsafe /platform:x86 .srcippcc.cs
Microsoft  Visual C# 2008 Compiler version 3.5.30729.1
for Microsoft  .NET Framework version 3.5
Copyright (C) Microsoft Corporation. All rights reserved.

warning CS1668: Invalid search path 'C:Program FilesMicrosoft Visual Studio
        9.0VCPlatformSDKlib' specified in 'LIB environment variable' -- 'The
        system cannot find the path specified. '
        csc.exe /out:.binippcp_cs.dll /target:library /r:.binippdefs_cs.dll
/unsafe /platform:x86 .srcippcp.cs
Microsoft  Visual C# 2008 Compiler version 3.5.30729.1
for Microsoft  .NET Framework version 3.5
Copyright (C) Microsoft Corporation. All rights reserved.

warning CS1668: Invalid search path 'C:Program FilesMicrosoft Visual Studio
        9.0VCPlatformSDKlib' specified in 'LIB environment variable' -- 'The
        system cannot find the path specified. '
        csc.exe /out:.binippdc_cs.dll /target:library /r:.binippdefs_cs.dll
/unsafe /platform:x86 .srcippdc.cs
Microsoft  Visual C# 2008 Compiler version 3.5.30729.1
for Microsoft  .NET Framework version 3.5
Copyright (C) Microsoft Corporation. All rights reserved.

warning CS1668: Invalid search path 'C:Program FilesMicrosoft Visual Studio
        9.0VCPlatformSDKlib' specified in 'LIB environment variable' -- 'The
        system cannot find the path specified. '
        csc.exe /out:.binippm_cs.dll /target:library /r:.binippdefs_cs.dll /
unsafe /platform:x86 .srcippm.cs
Microsoft  Visual C# 2008 Compiler version 3.5.30729.1
for Microsoft  .NET Framework version 3.5
Copyright (C) Microsoft Corporation. All rights reserved.

warning CS1668: Invalid search path 'C:Program FilesMicrosoft Visual Studio
        9.0VCPlatformSDKlib' specified in 'LIB environment variable' -- 'The
        system cannot find the path specified. '
        csc.exe /out:.binippvm_cs.dll /target:library /r:.binippdefs_cs.dll
/unsafe /platform:x86 .srcippvm.cs
Microsoft  Visual C# 2008 Compiler version 3.5.30729.1
for Microsoft  .NET Framework version 3.5
Copyright (C) Microsoft Corporation. All rights reserved.

warning CS1668: Invalid search path 'C:Program FilesMicrosoft Visual Studio
        9.0VCPlatformSDKlib' specified in 'LIB environment variable' -- 'The
        system cannot find the path specified. '
        csc.exe /nologo /t:exe  /r:System.dll,System.Windows.Forms.dll,System.Dr
awing.dll /r:.binippdefs_cs.dll /r:.binippcore_cs.dll,.binipps_cs.dll,.bi
nippi_cs.dll,.binippj_cs.dll,.binippch_cs.dll,.binippcc_cs.dll,.binippc
p_cs.dll,.binippdc_cs.dll,.binippm_cs.dll,.binippvm_cs.dll /out:.binttip
pi.exe /unsafe /platform:x86 .srcttippi.cs .srcjpegbase.cs .srcdecoder.cs
.srcencoder.cs
warning CS1668: Invalid search path 'C:Program FilesMicrosoft Visual Studio
        9.0VCPlatformSDKlib' specified in 'LIB environment variable' -- 'The
        system cannot find the path specified. '
'cscript' is not recognized as an internal or external command,
operable program or batch file.
+-----------------------------------------------------------------------------+
|-OK         ipsp
+-----------------------------------------------------------------------------+[/cpp]

I tried building the batch file but i got many errors as given above ! please need help !

Thanks

Ajay