Forum Jump

Select Group :
Select Forum :
Sorted By :
Sort Order :
From The :
 
Thread Tools  Search this thread 
Jennifer Jiang (Intel)
Total Points:
20,357
Status Points:
19,857
Brown Belt
June 12, 2009 12:21 PM PDT
Another case that Intel C++ Compiler can not integrate with VS2008
Resently there're several issues about our IDE integration. Here is one case that you will need a work-around. See more info here: http://social.msdn.microsoft.com/forums/en-US/vssetup/thread/ccb680b7-d205-4f39-b2a2-a4cf1de91e1c/

The symptoms are:
1. the command prompt of VS2008 gives an error from vsvars32.bat.
>if errorlevel 1 set WindowsSdkDir=c:\Program Files\Microsoft Visual Studio 9.0\VC\PlatformSDK\
>exit /B 0

\Utilities\Bin\x86";C:\PROGRAM FILES\THINKPAD\UTILITIES;C:\WINNT\system32;C:\WIN
NT;C:\WINNT\System32\Wbem;C:\Program Files\PC-Doctor for Windows\services;C:\Pro
gram Files\ATI Technologies\ATI Control Panel C:\2sdk1.4.2_07\bin;C:\Program Fil
es\Intel\Wireless\Bin\;C:\Program Files\ThinkPad\ConnectUtilities;C:\Program Fil
es\Intel\Wireless\Bin\;C:\Program Files\Intel\Wireless\Bin\;c:\Program Files\Mic
rosoft SQL Server\90\Tools\binn\" was unexpected at this time.

2. you will not see the Intel C++ Compiler's toolbar or Intel C++ in the Options dlg.

The work around is to modify the VS2008 vsvars32.bat:

Update following:

@if not "%WindowsSdkDir%" == "" (
    set "PATH=%WindowsSdkDir%bin;%PATH%"
    set "INCLUDE=%WindowsSdkDir%include;%INCLUDE%"
    set "LIB=%WindowsSdkDir%lib;%LIB%"
)


with following:

@if "%WindowsSdkDir%" == "" goto NoSDK

@set "PATH=%WindowsSdkDir%bin;%PATH%"
@set "INCLUDE=%WindowsSdkDir%include;%INCLUDE%"
@set "LIB=%WindowsSdkDir%lib;%LIB%"

:NoSDK
cvanderhoeven
Total Points:
20
Registered User
July 1, 2009 8:09 AM PDT
Rate
 
#1
Hello Jennifer,

I have the same problem, with the exact same symptoms. I made the changes you suggested, and I had to make similar changes to vcvarsamd64.bat, vcvarsia64.bat, vcvarsx86_amd64.bat and vcvarsx86_ia64.bat. This solves the error message on the build environment command prompt, but there is still no toolbar or menu item for Intel C++ Compiler in Visual Studio 2008.

You mention that there are other integration issues as well. Can I find a list to these issues anywhere? I think this information should be presented more prominently!

My setup:

AMD AthlonX2
windows Vista Home Premium (64-bit)
Visual Studio Team System 2008





Jennifer Jiang (Intel)
Total Points:
20,357
Status Points:
19,857
Brown Belt
July 1, 2009 9:33 AM PDT
Rate
 
#2 Reply to #1
Quoting - cvanderhoeven
This solves the error message on the build environment command prompt, but there is still no toolbar or menu item for Intel C++ Compiler in Visual Studio 2008.
Sorry the steps are not completed. You should do following after making the changes:
0. open a cmd window that has regsvr32 on the path.
2. go to the IDE integration directory, e.g. "C:\Program Files\Intel\Compiler\VS Integration\C++\VS2008"
3. run following cmd to uninstall IDE integration (just to make sure the registry is clean)
    >> integrate.bat "C:\Program Files\Microsoft Visual Studio 9.0" /u
    >> integrate.bat "C:\Program Files\Microsoft Visual Studio 9.0" /u
4. run following cmd to install IDE integration:
    >> integrate.bat "C:\Program Files\Microsoft Visual Studio 9.0"

5. now open VS2008 to see if the toolbar is there.

Jennifer



Intel Software Network Forums Statistics

8491 users have contributed to 31629 threads and 100770 posts to date.
In the past 24 hours, we have 28 new thread(s) 124 new posts(s), and 174 new user(s).

In the past 3 days, the most popular thread for everyone has been Implicite multithreading ??? The most posts were made to Crash when loading skeleton The post with the most views is Dear Steve, excuse me for a d

Please welcome our newest member shadowwolf99