Hi everyone, i try to build code samples 7.1.1.013 from the guide
http://software.intel.com/en-us/articles/building-intel-ipp-71-samples#comment-1751314
I tried with lots of commands even example commands but it says invalid configuration everytime . What is the problem?
連結已複製
Hi,
Could you try one of the command provided as examples at the end of article:
perl build.pl --cmake=audio-video-codecs,ia32,vc2010,s,st,release
perl build.pl --cmake=uic,intel64,make,s,mt,debug --build
perl build.pl --cmake=uic,intel64,make,d,mt,debug --build --clean
What's happening then?
Regards,
Sergey
I checked nothing has changed
Can you explain what you mean with " all environment variables are set by running the ippvars or compilervars script"
For regular samples (excluding uic/picnic) no other, than IPPROOT, environment variables required. If the script doesn't find proper IPP configuration, the diagnostic message is defferent, i.e.
Intel(R) IPP was not found (required)!
Yes, I see the problem under Windows Powershell. While we're investigating this, please use Windows "cmd" window for samples build.
Regards,
Sergey
Found workaround :). The commands like:
perl build.pl "--cmake=uic,intel64,vc2010,s,mt,debug" "--build"
(i.e. with double quotes) work in powershell. Looks, like powershell parses the command line before Perl.
Regards,
Sergey
I have a new problem :)
Now says Intel IPP was not found <required>!
I added IPPROOT = "C:\Program Files (x86)\Intel\Composer XE 2013 SP1.083\ipp" to system variables , log off - log in , run command again it didn't fixed :) Is there anyting else that ı have to add to system variables or anywhere else?
hande b. wrote:
I added IPPROOT = "C:\Program Files (x86)\Intel\Composer XE 2013 SP1.083\ipp" to system variables
Please use directory name without double quotes
set IPPROOT = C:\Program Files (x86)\Intel\Composer XE 2013 SP1.083\ipp
Regards,
Sergey
It supposed that when setting up intel primitives the environmental variables setted automatically.
@Sergey Khlystov you misuderstood me i used quotes for emphasize the IPPROOT value :) I setted it from advanced system settings not from console .
The command files like ippvars_ia32.bat are to be submitted from open command line window. They update the environment of current cmd session. Look at my log:
C:\Users\skhlysto>dir "%IPPROOT%"
Volume in drive C is OSDisk
Volume Serial Number is 243E-FF80
Directory of C:\Users\skhlysto
File Not Found
C:\Users\skhlysto>"c:\Program Files (x86)\Intel\Composer XE 2013\ipp\bin\ippvars.bat" ia32
C:\Users\skhlysto>dir "%IPPROOT%"
Volume in drive C is OSDisk
Volume Serial Number is 243E-FF80
Directory of c:\Program Files (x86)\Intel\Composer XE 2013\ipp
07/11/2013 15:06 <DIR> .
07/11/2013 15:06 <DIR> ..
07/11/2013 15:07 <DIR> bin
07/11/2013 15:06 <DIR> demo
07/11/2013 15:06 <DIR> include
07/11/2013 15:06 <DIR> interfaces
07/11/2013 15:06 <DIR> lib
07/11/2013 15:06 <DIR> tools
0 File(s) 0 bytes
8 Dir(s) 21,207,990,272 bytes free
C:\Users\skhlysto>
After that "perl build.pl" should work. Just change the location of ipp\bin\ippvars.bat to yours. All of this is described in IPP docs.
Regards,
Sergey
Hi,
I am on vacation, thus there will be no expedite answers. Did you do "dir %IPPROOT%"? What is it showing? The rules of searching for IPP in the script are simple. It looks for ipp.h (or, ippcore.h I don't remember) in %IPPROOT%\include and it looks for library ippcorel,lib in %IPPROOT%\lib\ia32. It can be seen from Cmake script FindIPP. I have no working sandox and cannot verify .I asked out other guys to help.
Regards,
Sergey
Hello,
- I've just tried to setup IPPROOT environment variable via compilervars.cmd and it works.
- Also I have tried the same compiler environment shell-script with PowerShell andit doesn't work, %IPPROOT% variable is empty
You have attached only the logs of environment setup. What about build error in examples? Can you also attach log?
Hi Hande,
Which sample do you like to run or what command you'd like to run to build the sample? I recalled there are many build issues in the forum. So i had attached two built MSVC2010 project in
http://software.intel.com/en-us/forums/topic/339934
You can see the mscv 2010 solution under __cmake\audio-video-codecs.ia32.vc2010.s.st.
Best Regards,
Ying
I am trying to build speech-codecs on OS X. My goal is to include G.729 codec in pjsip to use in my iPhone app. It looks like the path is wrong and I don't know how to set it. I search through many docs and still no clue.
http://trac.pjsip.org/repos/wiki/Intel_IPP_Codecs#MacOSXInstructions << can't find readme.htm so I'm stuck
http://software.intel.com/en-us/articles/intel-ipp-71-samples-build/ << no information, one of intel guy's comment links to this forum, and still no information here.
Help please. This is the error.
Hlung-Oozou:builder thongchai$ perl build.pl --cmake=speech-codecs,ia32,xcode,s,mt,debug --build
CMake Error: The source directory "/Users/thongchai/Documents/Projects/Fingi/Fingi iOS resources/sip/ipp-samples.7.1.1.013/__cmake/speech-codecs.ia32.xcode.s.mt/resources/sip/ipp-samples.7.1.1.013/sources/speech-codecs" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
Not searching for unused variables given on the command line.
Unknown argument iOS
Unknown argument resources/sip/ipp-samples.7.1.1.013/builder/../__cmake/speech-codecs.ia32.xcode.s.mt
Usage: cmake --build <dir> [options] [-- [native-options]]
Options:
<dir> = Project binary directory to be built.
--target <tgt> = Build <tgt> instead of default targets.
--config <cfg> = For multi-configuration tools, choose <cfg>.
--clean-first = Build target 'clean' first, then build.
(To clean only, use --target 'clean'.)
--use-stderr = Don't merge stdout/stderr.
-- = Pass remaining options to the native tool.
[ speech-codecs.ia32.xcode.s.mt.debug State: FAIL ]
