Forum Jump

Select Group :
Select Forum :
Sorted By :
Sort Order :
From The :
 
Thread Tools  Search this thread 
abhimodak
Total Points:
2,280
Status Points:
1,780
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:
112,181
Status Points:
112,181
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,280
Status Points:
1,780
Brown Belt
February 14, 2008 12:44 PM PST
Rate
 
#2 Reply to #1
Thanks Steve.

Abhi




Intel Software Network Forums Statistics

8294 users have contributed to 31245 threads and 99123 posts to date.
In the past 24 hours, we have 11 new thread(s) 16 new posts(s), and 27 new user(s).

In the past 3 days, the most popular thread for everyone has been huge pages on linux? The most posts were made to Pipeline buffer between stages? The post with the most views is Another example attached (Tr

Please welcome our newest member babgvant