- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Do you set USE IPP => Yes in your project property? like the figure in KB articlehttp://software.intel.com/en-us/articles/intel-integrated-performance-primitives-intel-ipp-for-windows-compiling-and-linking-with-microsoft-visual-c-and-intel-c-compilers/#10
The trial vesion have exact same functionality as formal version.
Regards,
Ying
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
>>..._ippsAbs...
>>..._ippiConvert...
Please check Linker Settings for the Project. It is clear that libraries ( *.lib files )for Matrix ( m ), Signal
Processing ( s )and Image Processing ( i )domains are not included.
Best regards,
Sergey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
>>options -> general and debugging, how can i set that option, what is wrong here?...
Please take a look at enclosed screenshot. Even if it is from a different post it shows you a sub-tree for
'Linker' settings. Don't pay attention that it shows'System' settings.
So, you should select 'Linker' -> 'Input' itemand then on the right side you will see an item
'Additional Dependencies'
andhere youshouldadd allIPP's lib-files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, please read my comments.
>>...when i put in additional dependencies any header file such as ippi.h, it tells me
>>LINK : fatal error LNK1104: cannot open file 'ippi.h'...
[SK] Files with extension *.h are C/C++ headers. Usually, developers call them as 'headers'.
[SK] Files with extension *.lib are libraries. Usually, developers call them as 'libs'.
>>...the problem is that a have already set the path to the ipp include directory where these header files >>exist and it still gives the same linking error...
[SK] It happened because 'ippi.h' is not a library. It is a header and it has to be included in some
C/C++ source file.
>>what can i do?
Let's say:
1. IPP is installed on a drive C in a folder IPP: a full path is C:\IPP
2. You have a C/C++ VS 2010 project MyIppTest.vcxproj
3. Source file MyIppTest.cpp is added to the MyIppTest.vcxproj
4. You want to call a function ippiConvert_8u16s_C1R fromanImage Processinglibraryippi.lib
5. You will need to use a ippi.h header located at C:\IPP\Include folder to compileMyIppTest.cpp
6. You will need to use a ippi.lib library located at C:\IPP\Lib folder to link and create an executable file
MyIppTest.exe
7.In VS 2010 Solution Explorer selectMyIppTest.vcxproj and click right mouse button
Select last item Propertiesin the popup window
Select in a Tree on the left part of the dialog box:
'Configuration Properties' -> 'C/C++' -> 'General' -> 'Additional Include Directories'
Add a path to header files: C:\IPP\Include
Note: As far as I understood you've done this already. So, please verify that
C:\IPP\Includewas added
Select in a Tree on the left part of the dialog box:
'Configuration Properties' -> 'Linker' -> 'Input' -> 'AdditionalDependencies'
Add a path to an Image Processinglibrary file: C:\IPP\Lib\ippi.lib
8. Modify your source file 'MyIppTest.cpp' and itshould look like:
...
#include "ippi.h"
...
ippiConvert_8u16s_C1R( ... )
...
9. Compile your project.
In your case the most importantisstep 7.
Best regards,
Sergey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page