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





  • Posts   Search Threads
  • abhimodakFebruary 13, 2008 5:51 PM PST   
    Integration with Visual Studio

    Hi

    I want to use command line building with two different versions of the visual studio (viz. 2003 and 2005). However, when installing the compiler integrations we get to choose only one of the visual studio versions.

    I can see the corresponding line in the appropriate IFORTVARS.bat file. For example, if I choose VS2005 then

    Call "C:Program Files (x86)Microsoft Visual Studio 8VCBinVcvars32.bat".

    Then to get command line building with VS2003 I thought I could just copy IFORTVARS.bat and change the above line to

    Call "C:Program Files (x86)Microsoft Visual Studio .NET 2003Vc7BinVcvars32.bat"

    I then created another shortcut and edited the new target to reflect new batch file.

    However, I found that I can only compiler but not build an executable. The error message says that "mspdb80.dll" not found. Am I missing a step here?

    I found that instead of deleting the original line I simply append the new line pointing to the  other version of VS. Then, although the exe creation is successful, I get a message about the libcmt file.

    Sincerely
    Abhi



    Steve Lionel (Intel)February 14, 2008 6:01 AM PST
    Rate
     
    Re: Integration with Visual Studio

    You also need to edit ifort.cfg (same folder as ifortvars.bat) and remove the line starting with -Qlocation.  The -Qvc8 in that file can be overridden with -Qvc7.1 in your command line when building with VS2003.


    Steve

    Attaching or including files in a post
    Doctor Fortran blog
    @DoctorFortran on Twitter

    abhimodakFebruary 14, 2008 12:44 PM PST
    Rate
     
    Re: Integration with Visual Studio

    Thanks Steve.

    Abhi


Forum jump:  

Intel Software Network Forums Statistics

16,376 users have contributed to 46,362 threads and 164,027 posts to date.

In the past 24 hours, we have 11 new thread(s) 27 new posts(s), and 25 new user(s).

In the past 3 days, the most popular thread for everyone has been Program compiles in release but not debug The most posts were made to You need to show us the whole The post with the most views is try_pop in concurrent_queue

Please welcome our newest member fruitbrown


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