- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear experts
How can I compile the IPP sample code (ex. audio-video-codecs) with the Intel compiler if the compiler is not install at the default location? I try to compile it with the command build32.bat icl110. I got the error message
"ERROR: Compiler "icl110" environment is not found". which part I should modify to compile the sample code??
Thanks for your reply.
How can I compile the IPP sample code (ex. audio-video-codecs) with the Intel compiler if the compiler is not install at the default location? I try to compile it with the command build32.bat icl110. I got the error message
"ERROR: Compiler "icl110" environment is not found". which part I should modify to compile the sample code??
Thanks for your reply.
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
You can check the file:
ipp-samplestoolsenvsearch_compilers.bat
In the part:
:SET_INTEL_ENV
set COMPILER=icl.exe
set ptn= dir /B /ON "%PrF%IntelCompilerC++%1.*"
@%ptn% 2>NUL 1>&2
if "%errorlevel%"=="0" for /F "usebackq" %%i in (`%ptn%`) do set LASTVERSION=%%i
set ENV="%PrF%IntelCompilerC++%LASTVERSION%%AR%Biniclvars.bat"
if exist %ENV% (
set TOOL=%ENV%
@echo +++ Intel C++ Compiler v.%LASTVERSION% for %AR% is taken
exit /b
)
echo --- Intel C++ Compiler %ARG% for %AR% environment is not found.
exit /b 1
Change:
set ENV="%PrF%IntelCompilerC++%LASTVERSION%%AR%Biniclvars.bat"
to your compile enviroment settings.
Thanks,
Chao
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - Chao Y (Intel)
Hi,
You can check the file:
ipp-samplestoolsenvsearch_compilers.bat
In the part:
:SET_INTEL_ENV
set COMPILER=icl.exe
set ptn= dir /B /ON "%PrF%IntelCompilerC++%1.*"
@%ptn% 2>NUL 1>&2
if "%errorlevel%"=="0" for /F "usebackq" %%i in (`%ptn%`) do set LASTVERSION=%%i
set ENV="%PrF%IntelCompilerC++%LASTVERSION%%AR%Biniclvars.bat"
if exist %ENV% (
set TOOL=%ENV%
@echo +++ Intel C++ Compiler v.%LASTVERSION% for %AR% is taken
exit /b
)
echo --- Intel C++ Compiler %ARG% for %AR% environment is not found.
exit /b 1
Change:
set ENV="%PrF%IntelCompilerC++%LASTVERSION%%AR%Biniclvars.bat"
to your compile enviroment settings.
Thanks,
Chao
Thanks Chao^^
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There should be more elegant way.
Regards,
Vladimir
To use custom compiler (for example if compiler is not at the default location) you need to set few environment variables:
set CUSTOM=yes
set COMP=icl110
set COMPILER=icl.exe
set __EXTERN_TOOL=%COMPILER_HOME%biniclvars.bat
and rerun build32.bat icl110
Regards,
Vladimir
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