Forum Jump

Select Group :
Select Forum :
Sorted By :
Sort Order :
From The :
 
Thread Tools  Search this thread 
abhimodak
Total Points:
2,300
Status Points:
1,800
Brown Belt
February 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)
Total Points:
115,145
Status Points:
115,145
Black Belt
February 14, 2008 6:01 AM PST
Rate
 
#1
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.



abhimodak
Total Points:
2,300
Status Points:
1,800
Brown Belt
February 14, 2008 12:44 PM PST
Rate
 
#2 Reply to #1
Thanks Steve.

Abhi




Intel Software Network Forums Statistics

8473 users have contributed to 31605 threads and 100654 posts to date.
In the past 24 hours, we have 30 new thread(s) 110 new posts(s), and 160 new user(s).

In the past 3 days, the most popular thread for everyone has been gemm(A,A,A) like possible? The most posts were made to gemm(A,A,A) like possible? The post with the most views is Dear Steve, excuse me for a d

Please welcome our newest member Kevin Johnson