- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm write below code to link the IPP libraries:
#pragma comment(lib, "../lib/Intelipp/ipps_t.lib")
#pragma comment(lib, "../lib/Intelipp/ippsc_t.lib")
#pragma comment(lib, "../lib/Intelipp/ippvc_t.lib")
#pragma comment(lib, "../lib/Intelipp/ippcc_t.lib")
#pragma comment(lib, "../lib/Intelipp/ippi_t.lib")
#pragma comment(lib, "../lib/Intelipp/ippcore_t.lib")
#pragma comment(lib, "../lib/Intelipp/libiomp5mt.lib")
When I compile it, got an error:
1>LINK : fatal error LNK1104: cannot open file 'ipps.lib'
I tried link to ipps.lib(#pragma comment(lib, "../lib/Intelipp/ipps.lib")) then compile succeeded, when I run my EXE, it reuqires the "ippcore-7.0.dll" file, but I expect use IPP as static library no DLL file requires, how to do ?
Thanks in advance.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Have you seen the knowledge base article"Introduction to Linking with the Intel IPP 7.0 Library"? This might help.
http://software.intel.com/en-us/articles/introduction-to-linking-with-intel-ipp-70-library/
Depending on whether your Visual Studio environmentis integrated with IPPas described in "Compiling and Linking Intel IPP with Microsoft* Visual C++* and Intel C++ Compiler" you may not need to use the #pragmalinesto specify library namesat all.
http://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/
Visual Studio integration is set up during installation (of IPP or the package it was bundled with.) If your environment is integrated, you should be able to select one of the static options for "Use IPP". Without the integration, it should still work if your paths are correct and yourcompiler command line is set as described in the first KB article.
Please write back if this doesn't help you get started.
Regards,
Jeff
Have you seen the knowledge base article"Introduction to Linking with the Intel IPP 7.0 Library"? This might help.
http://software.intel.com/en-us/articles/introduction-to-linking-with-intel-ipp-70-library/
Depending on whether your Visual Studio environmentis integrated with IPPas described in "Compiling and Linking Intel IPP with Microsoft* Visual C++* and Intel C++ Compiler" you may not need to use the #pragmalinesto specify library namesat all.
http://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/
Visual Studio integration is set up during installation (of IPP or the package it was bundled with.) If your environment is integrated, you should be able to select one of the static options for "Use IPP". Without the integration, it should still work if your paths are correct and yourcompiler command line is set as described in the first KB article.
Please write back if this doesn't help you get started.
Regards,
Jeff
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page