Welcome to Intel® Software Network Quick Login | Join | Help |
Search in Intel® Software Network Forums
in Go

How to use Intel_IPP.framework for MacOS with XCode ?

Last post 11-16-2006, 5:40 PM by Vladimir Dudnik. 25 replies.
Sort Posts: Previous Next
 03-30-2006, 2:43 AM 5483790  

How to use Intel_IPP.framework for MacOS with XCode ?

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
 
 04-04-2006, 5:09 PM 5483836 in reply to 5483790  

Re: How to use Intel_IPP.framework for MacOS with XCode ?

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

Regards,
  Vladimir

 
 04-26-2006, 1:26 AM 5483998 in reply to 5483836  

Re: How to use Intel_IPP.framework for MacOS with XCode ?

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.
 
 05-02-2006, 9:15 PM 5484058 in reply to 5483998  

Re: How to use Intel_IPP.framework for MacOS with XCode ?

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” (it’s described in readme.htm)

The sample was built and run.

Regards,
  Vladimir

 
 06-19-2006, 1:47 AM 5484314 in reply to 5483790  

Re: How to use Intel_IPP.framework for MacOS with XCode ?

Hi ,
 
 
 06-19-2006, 1:47 AM 5484315 in reply to 5483790  

Re: How to use Intel_IPP.framework for MacOS with XCode ?

Hi ,
    
 
 06-19-2006, 1:55 AM 5484316 in reply to 5483790  

Re: How to use Intel_IPP.framework for MacOS with XCode ?

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

 
 06-24-2006, 9:56 AM 30220599 in reply to 5484316  

Re: How to use Intel_IPP.framework for MacOS with XCode ?

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???
 
 06-30-2006, 9:53 PM 30220861 in reply to 30220599  

Re: How to use Intel_IPP.framework for MacOS with XCode ?

Please note, that you need to add path to the IPP dynamic 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

 
 08-20-2006, 10:16 PM 30222627 in reply to 5484058  

Re: How to use Intel_IPP.framework for MacOS with XCode ?

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
 
 08-21-2006, 8:17 PM 30222672 in reply to 30222627  

Re: How to use Intel_IPP.framework for MacOS with XCode ?

Hello,

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

Regards,
  Vladimir

 
 08-22-2006, 10:58 AM 30222695 in reply to 30222672  

Re: How to use Intel_IPP.framework for MacOS with XCode ?

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
 
 08-25-2006, 8:02 PM 30222874 in reply to 30222695  

Re: How to use Intel_IPP.framework for MacOS with XCode ?

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

 
 09-28-2006, 8:57 AM 30224557 in reply to 30222874  

Re: How to use Intel_IPP.framework for MacOS with XCode ?

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.
 
 10-12-2006, 3:15 PM 30225241 in reply to 30224557  

Re: How to use Intel_IPP.framework for MacOS with XCode ?

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/ISN/Community/en-US/forums/permalink/5483790/5484058/ShowThread.aspx#5484058

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

Regards,
  Vladimir

 
 10-13-2006, 8:47 AM 30225301 in reply to 30225241  

Re: How to use Intel_IPP.framework for MacOS with XCode ?

Hello,

I have already followed the recomendations given at post :
http://softwareforums.intel.com/ISN/Community/en-US/forums/permalink/5483790/5484058/ShowThread.aspx#5484058
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.
 
 10-13-2006, 11:07 AM 30225314 in reply to 30225241  

Re: How to use Intel_IPP.framework for MacOS with XCode ?

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…”

 

 
 10-13-2006, 1:27 PM 30225317 in reply to 30225314  

Re: How to use Intel_IPP.framework for MacOS with XCode ?

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.
 
 10-13-2006, 5:14 PM 30225331 in reply to 30225317  

Re: How to use Intel_IPP.framework for MacOS with XCode ?

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” (it’s described in readme.htm)

Vladimir

 
 10-16-2006, 8:13 AM 30225409 in reply to 30225331  

Re: How to use Intel_IPP.framework for MacOS with XCode ?

Yes the step 3 has been done.

Thanks,

JP
 
 10-19-2006, 8:59 PM 30225651 in reply to 30225409  

Re: How to use Intel_IPP.framework for MacOS with XCode ?

so, is it solve your issue?

Vladimir

 
 10-20-2006, 8:05 AM 30225677 in reply to 30225651  

Re: How to use Intel_IPP.framework for MacOS with XCode ?

No but I stop working on it ...

Thanks.
 
 10-31-2006, 4:51 AM 30226075 in reply to 5483790  

Re: How to use Intel_IPP.framework for MacOS with XCode ?

ann chen:
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

The reason this does not work is that Intel have not created a proper framework. There should be a file /Library/Framework/Intel_IPP.framework/Intel_IPP, but they have not created it. You will not be able to use the IPP in Xcode like a normal framework should be used until Intel correct this error and ship a new version of the IPP.
 
 10-31-2006, 4:55 AM 30226076 in reply to 30220599  

Re: How to use Intel_IPP.framework for MacOS with XCode ?

cialz79:
I've have the same problem. Posted it into premier area and nobody could help me!!!

I can't run my AudioUnit plug-in

I've already purchased IPP 5.1 for Mac 'cause I want to use static linking, why IPP tries to link dynamic libs???

The solutions presented in this thread will only work for applications that are run inside Xcode.
Meaning: there is no solution for a plugin (AudioUnit, VST, RTAS, or other)
AND, there is no solution for shipping an application to an end-user who will run it outside Xcode.

Premier Support are completely unprepared for Mac OS X. They have many questions about how to properly use Xcode, so I sent them to Apple Developer Support, but there has been no progress for several months.

The IPP does not provide static libraries. Those would end with the .a suffix.
Instead they provide shared libraries inside a directory which uses the .framework naming convention, but which is missing the required components to make a proper framework that would work.

I would like to know if there is a single shipping application based on the IPP.
 
 11-08-2006, 9:55 PM 30226411 in reply to 30225301