Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
6811 Discussions

How to use Intel_IPP.framework for MacOS with XCode ?

ann_chen1
Beginner
3,193 Views
Hi All ,
I download the IPP beta for MacOS , and install in my Intel-Mac
. The Intel_IPP.framework has been installed on /Library/framework/
. But when i add this framework into my XCode project . there is one link error. Cann't locate the framework for : -framework Intel_IPP . is there one demo to show how to use the Intel_IPP.framework in XCode or other compiler .Thanks very much .

^-^
Ann
0 Kudos
25 Replies
Vladimir_Dudnik
Employee
2,623 Views

Ann, according our expert, you need just add folder to your project, nothing special.

Regards,
Vladimir

0 Kudos
Anonymous9
Beginner
2,623 Views
Has anyone been successful doing this? I get the same error from Xcode: Command /usr/bin/gcc-4.0 failed with exit code 1 can't locate framework for: -framework Intel_IPP IPP is installed at /Library/Frameworks on my machine. I tried doing a Project > Add to Project and selecting the Intel_IPP.framework with both the "Copy items into destination group's folder" checked and unchecked - same result. The reference is valid, since the "Groups & Files" shows the framework listed after adding it to the project and I can browse the headers and documentation resources.
0 Kudos
Vladimir_Dudnik
Employee
2,623 Views

Hello,

our expert successfully applied the following steps to build ippiDemo sample on Mac OS

Add to project from /Libraries/Frameworks/Intel_IPP.framework/Versions/5.1/ia32/Libraries all needed libraries (libippcore-5.1.dylib, libippi-5.1.dylib, libipps-5.1.dylib).

In menu Project -> Edit Project Settings in tab Build sets:

Header Search Paths to /Library/Frameworks/Intel_IPP.framework/Versions/5.1/ia32/Headers

Library Search Paths to /Library/Frameworks/Intel_IPP.framework/Versions/5.1/ia32/Libraries

3. In menu Project -> Edit Active Executable ippDemo in tab Arguments added Variables to be set in the environment as DYLD_LIBRARY_PATH = /Library/Frameworks/Intel_IPP.framework/Versions/5.1/ia32/Libraries (its described in readme.htm)

The sample was built and run.

Regards,
Vladimir

0 Kudos
rod_ma
Beginner
2,623 Views
Hi ,
0 Kudos
rod_ma
Beginner
2,623 Views
Hi ,
0 Kudos
rod_ma
Beginner
2,623 Views

hi,

I has compiled the Ipp5.1 for macos use XCode2.2 following vdudnik said .But also can't use the API . the Error Code is :

dyld: Library not loaded:

/nfs/site/proj/ipp/build/ipp/ipp51gold-20060228-5-1- 0080/lib/osx32/libippvmt7-5.1.dylib

Referenced from:

/Users/mac3testuser/Desktop/AnnProject/IntelIPPDTest/build/Debug/IntelIPPDTest

Reason: image not found

And i post the question to Intel Premier Support,but nobody reply to me . I want to buy the IPP5.1 for macos after i comfirm it can be used . Now how ? thanks very much

--ann

0 Kudos
cialz79
Beginner
2,623 Views
I've have the same problem. Posted it into premier area and nobody could help me!!! I can't run my AudioUnit plug-in, here is the log: 2006-06-24 10:44:05.155 Live[907] CFLog (21): Error loading /Library/Audio/Plug-Ins/Components/XVolverAU.component/Contents/MacOS/XVolverAU: error code 4, error number 0 (Library not loaded: /nfs/site/proj/ipp/build/ipp/ipp51gold-20060228-5-1-0080/lib/osx32/libippcore-5.1.dylib Referenced from: /Library/Audio/Plug-Ins/Components/XVolverAU.component/Contents/MacOS/XVolverAU Reason: image not found) I've already purchased IPP 5.1 for Mac 'cause I want to use static linking, why IPP tries to link dynamic libs???
0 Kudos
Vladimir_Dudnik
Employee
2,623 Views

Please note, that you need to add path to the IPPdynamic libraries into your DYLIB_LIBRARY_PATH environment variable and to add libraries to you XCode project. Doing so we were able to build and run IPP samples.

Regards,
Vladimir

0 Kudos
cghuebner
Beginner
2,623 Views
Hello,

I followed this recipe to get the dftc example from the Intel MKL running with Xcode. The build succeeds, however, when running the executable, I receive the following message:

dyld: Library not loaded: libguide.dylib
Referenced from: /test2/build/Debug/test2
Reason: image not found
Trace/BPT trap

Help very much appreciated.

Christian Huebner
0 Kudos
Vladimir_Dudnik
Employee
2,623 Views

Hello,

can you check that the path to your libguide.dylib was listed in DYLIB_LIBRARY_PATH environment variable?

Regards,
Vladimir

0 Kudos
cghuebner
Beginner
2,623 Views
Well, I set the path via the project->edit active executable menu, in the arguments tab. I added in the bottom panel (Variables to be set in the environment) a line with Name DYLIB_LIBRARY_PATH
and with Value
/Library/Frameworks/Intel_MKL.framework/Versions/8.1/lib/32
which is the path to the directory with the dylib

Regards, Christian
0 Kudos
Vladimir_Dudnik
Employee
2,623 Views

Hi Christian,

great, by the way, what the expression you got from IPP? Do you find that product useful for your purposes? Were you satisfied with performance and functionality? What is missed from your point of view?

Regards,
Vladimir

0 Kudos
perez
Beginner
2,623 Views
Hello,

I have configured Xcode like it is said just bellow but I still have a problem when executing the code. When I click on "Build and Go", it successfully builds but the execution stops suddently with the following error :

ZeroLinK: unknown symbol '_ippsFFTInitAlloc_C_32fc'

If I disable ZeroLinK, it is the built that stops with one error (unknown symbol and all my IPP functions listing ...).

Thanks for your support,

JP.
0 Kudos
Vladimir_Dudnik
Employee
2,623 Views

Hello, you get this error message if you did not do steps suggested in posts before. Please see recomendation given at post

http://softwareforums.intel.com/en-us/forums//topic/50291#32191

and make sure you do all the steps (did you add libraries to your project?).

Regards,
Vladimir

0 Kudos
perez
Beginner
2,623 Views
Hello,

I have already followed the recomendations given at post :
http://softwareforums.intel.com/en-us/forums//topic/50291#32191
I am just not sure about the syntaxe, quote the path or not, quote the variable name or not ?

What do you mean by "did you add libraries to your project?"

Thanks,

JP.
0 Kudos
Vladimir_Dudnik
Employee
2,623 Views

Q: How to add IPP Libraries to Xcode project?

A: To add libraries to project you can select desired libraries from Xcode menu
Project->Add to Project choose ipp libraries from /Library/Frameworks/Intel_IPP.framework/Libraries
or
Action->Add->Existing Files

0 Kudos
perez
Beginner
2,623 Views
Thanks, it now builds without error.

But I have got an error while executing, xcode says :

[Session started at 2006-10-13 14:23:10 +0200.]
dyld: Library not loaded: libguide.dylib
Referenced from: /Users/jpp/Documents/Benchmark/IPP Library/Bench_IPP/build/Debug/Bench_IPP
Reason: image not found

Bench_IPP has exited due to signal 5 (SIGTRAP).

What does that mean ?

Normally in manual Makefile, I specify "-lipps -lippcore -lguide" but here in xcode project I didn't file where to put it ... Can the problem come from that ?

Thanks.
0 Kudos
Vladimir_Dudnik
Employee
2,623 Views

Did you take step #3, descibed in this thread several post before?

3. In menu Project -> Edit Active Executable ippDemo in tab Arguments added Variables to be set in the environment as DYLD_LIBRARY_PATH = /Library/Frameworks/Intel_IPP.framework/Versions/5.1/ia32/Libraries (its described in readme.htm)

Vladimir

0 Kudos
perez
Beginner
2,623 Views
Yes the step 3 has been done.

Thanks,

JP
0 Kudos
Vladimir_Dudnik
Employee
2,465 Views

so, is it solve your issue?

Vladimir

0 Kudos
Reply