- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Steve.
Abhi
Abhi

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page