COCKOS
CONFEDERATED FORUMS
Cockos : REAPER : NINJAM : Forums
Forum Home : Register : FAQ : Members List : Search :
Old 10-22-2016, 03:10 AM   #1
stw
Human being with feelings
 
stw's Avatar
 
Join Date: Apr 2012
Posts: 279
Default Including Intel IPP

Since Intel IPP was released as a free community edition i'd like to give it a try. Promises some significant performance boosts in FFT and other essential functions.

However i can't get it setup the right way apparantly since i always get 'symbols not found' linker errors when any ipp functions is part of my code.
In the plugs .xcconfig i added
ADDITIONAL_INCLUDES = /opt/intel/ipp/include/
ADDITIONAL_LIBRARY_PATHS = /opt/intel/lib/

ipp.h is properly found and i can define ipp data types but can't get rid of the linker fail.
If by chance anyone got that running and/or has some hints you'd make my day

EDIT: Using XCODE 7.2.1

Last edited by stw; 10-22-2016 at 03:44 AM.
stw is offline   Reply With Quote
Old 10-22-2016, 05:46 AM   #2
gstuff
Human being with feelings
 
Join Date: Feb 2014
Posts: 63
Default

IPP isn't a header only framework, check you're linking to the IPP libs in XCode - add /opt/intel/ipp/lib/libippi.a /opt/intel/ipp/lib/libipps.a /opt/intel/ipp/lib/libippvm.a /opt/intel/ipp/lib/libippcore.a to "Extra Linker Flags" in build settings.

Last edited by gstuff; 10-22-2016 at 05:52 AM.
gstuff is offline   Reply With Quote
Old 10-22-2016, 06:31 AM   #3
stw
Human being with feelings
 
stw's Avatar
 
Join Date: Apr 2012
Posts: 279
Default

Quote:
Originally Posted by gstuff View Post
IPP isn't a header only framework, check you're linking to the IPP libs in XCode - add /opt/intel/ipp/lib/libippi.a /opt/intel/ipp/lib/libipps.a /opt/intel/ipp/lib/libippvm.a /opt/intel/ipp/lib/libippcore.a to "Extra Linker Flags" in build settings.
Great, that did it! Thanks a lot...(you made my day )
Going to discover IPPs goodies

EDIT: But that brings me to the question what ADDITIONAL_LIBRARY_PATHS is supposed to do?
stw is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:01 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.