Loading...
You are not logged-in Login/Register





  • Posts   Search Threads
  • Jennifer Jiang (Intel)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 FilesMicrosoft Visual Studio 9.0VCPlatformSDK
    >exit /B 0
    
    UtilitiesBinx86";C:PROGRAM FILESTHINKPADUTILITIES;C:WINNTsystem32;C:WIN
    NT;C:WINNTSystem32Wbem;C:Program FilesPC-Doctor for Windowsservices;C:Pro
    gram FilesATI TechnologiesATI Control Panel C:2sdk1.4.2_07bin;C:Program Fil
    esIntelWirelessBin;C:Program FilesThinkPadConnectUtilities;C:Program Fil
    esIntelWirelessBin;C:Program FilesIntelWirelessBin;c:Program FilesMic
    rosoft SQL Server90Toolsbinn" 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
    


    Download Intel(R) Compiler Product Updates: Registration Center.
    Try Intel(R) Compiler Products: Intel Software Evaluation Center

    cvanderhoevenJuly 1, 2009 8:09 AM PDT
    Rate
     
    Re: Another case that Intel C++ Compiler can not integrate with VS2008

    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)July 1, 2009 9:33 AM PDT
    Rate
     
    Re: Another case that Intel C++ Compiler can not integrate with VS2008

    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 FilesIntelCompilerVS IntegrationC++VS2008"
    3. run following cmd to uninstall IDE integration (just to make sure the registry is clean)
        >> integrate.bat "C:Program FilesMicrosoft Visual Studio 9.0" /u
        >> integrate.bat "C:Program FilesMicrosoft Visual Studio 9.0" /u
    4. run following cmd to install IDE integration:
        >> integrate.bat "C:Program FilesMicrosoft Visual Studio 9.0"

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

    Jennifer

    Download Intel(R) Compiler Product Updates: Registration Center.
    Try Intel(R) Compiler Products: Intel Software Evaluation Center

Forum jump:  

Intel Software Network Forums Statistics

16,365 users have contributed to 46,338 threads and 163,917 posts to date.

In the past 24 hours, we have 28 new thread(s) 145 new posts(s), and 84 new user(s).

In the past 3 days, the most popular thread for everyone has been Formula for the intersection of straight lines The most posts were made to Take a look at John Burkhard&# The post with the most views is \"-check none\" generates error

Please welcome our newest member dozo1971


For more complete information about compiler optimizations, see our Optimization Notice.