Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.

Updating from cvf6.6 to XE 2011

davidgraham
Beginner
1,731 Views
I have just installed Intel Visual Fortran Composer XE 2011 for Windows and opened Parallel Studio XE 2011 with VS2011.
I went to File|Open|Project/Solution and selected the MyProject.dsw project file of the cvf6.6 project. I get the message The project file ........MyProject.dsp has been corrupted and cannot be opened.
Maybe I'm doing the wrong thing.

I cannot find any documentation with the CD that explaining how to update a cvf6.6 project. I'm sure I read before that upgrading was a 'simple' exercise. Can you point me in where to find how do do this.

Thanks
0 Kudos
20 Replies
mecej4
Honored Contributor III
1,721 Views
Did you read this article to see if it covers your questions (a link to it is stuck on to the top of the forum entry page).

http://software.intel.com/en-us/articles/migrating-from-compaq-visual-fortran/

0 Kudos
Steven_L_Intel1
Employee
1,721 Views
Exactly which version of VS do you have installed? Do you mean VS2010?

I have seen some cases where this error is reported, but I have always found that if the customer sends me the .dsp file, I can't reproduce the problem. Maybe yours will be different - can you attach your .dsp to a reply here?

My usual recommendation is that in most cases trying to get around this error is a waste of time - just create a new project and add your sources to it. I realize that some projects are complex and recreating it difficult - if yours is such a case I'll be glad to convert the project(s) for you. All I need is the .dsw and the .dsp files, no sources. Put them in a ZIP and attach to a reply.
0 Kudos
davidgraham
Beginner
1,721 Views
Thanks, I hadn't seen that.
0 Kudos
davidgraham
Beginner
1,721 Views
I have Visual Studio 2008 - I think it is just the Visual Studio 2008 Shell.

The documentation says that the project will not convert automatically, so I created a new project and copied the files into it.
I wasn't sure what files to copy, so copied the .f90, .ico and resourse.* files.
When I try to run it I get the message 'The project could not be deployed to the 'localhost' server .... etc.' Which I don't understand.

I will send the files once I have worked out how to add files.

Thanks
0 Kudos
davidgraham
Beginner
1,721 Views
I have added the dsp and dsw files.
This is the first and maybe simplest of projects I need to upgrade.
Thanks
0 Kudos
davidgraham
Beginner
1,721 Views
Thanks, I hadn't noticed where you selected the type of project - I will do that next time - I have a varity of projects to upgrade.

I get the message "Deployment Failed" with the following details, I don't understand it.


Error 1 The project could not be deployed to the 'localhost' server because of the following connectivity problems : A connection cannot be made. Ensure that the server is running. To verify or update the name of the target server, right-click on the project in Solution Explorer, select Project Properties, click on the Deployment tab, and then enter the name of the server. 0 0

0 Kudos
Steven_L_Intel1
Employee
1,721 Views
Are you seeing that with the project I converted? My first guess is that when you created a new project you specified some odd Visual Studio project type rather than a Fortran project - for an example, Other Project Types > Setup and Deployment.
0 Kudos
davidgraham
Beginner
1,721 Views
Thanks, I had misunderstood and added the files you returned, to the project I had unseccessfully converted - I should have added the files to the original project and opened it.
I have now done that and it now looks good - the solution explorer cantains what I expect.
The now get the error "fatal error RC1015: cannot open include file 'winresrc.h'. (c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\include\winres.h)" which doesn't look too frightening. I checked and the file exists. How do I sort this?

Did you say that I could send you the .dsp & .dsw files you would convert them for me. I have 20 projects to convert. - That would be very kind of you.

0 Kudos
Steven_L_Intel1
Employee
1,721 Views
If you want to attach a ZIP of the .dsw and .dsp files from the projects, I will convert them for you.

The file it is looking for is winresrc.h, referenced by winres.h. This is in the Windows SDK and should be in C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include In Visual Studio, select Tools > Options > Intel Visual Fortran > Compilers. Click the ... button to the right of Includes. The list should include this line:

$(WindowsSdkDir)include

If it doesn't, close the list and click Reset All, then check to see if it has been added. If not, add it manually.
0 Kudos
davidgraham
Beginner
1,721 Views
Steve,
I have added a zip file of my projects, thanks.

In Visual Studio, select Tools > Options > Intel Visual Fortran > Compilers. Click the ... button to the right of Includes. The list does include this line: $(WindowsSdkDir)include.

But I don't have C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include on my computer.
I only have C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin and C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper - not the 'include' directory.

Where do I get these files?
Thanks,
David
0 Kudos
Steven_L_Intel1
Employee
1,721 Views
Interesting. You have the VS Shell, and it SHOULD have installed those files. I will check on that. In the meantime if you want you can install the Windows SDK from here. When you get to Installation Options, uncheck all the categories except for Windows Native Code Development > Windows Headers and Libraries.

I will check to see if the VS Shell should install those files.
0 Kudos
davidgraham
Beginner
1,721 Views
Steve,
I installed the files you suggested, they have gone in a different location:
C:\Program Files\Microsoft SDKs\Windows\v7.1\Include

Can I move them to
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include

Or are they different files?

0 Kudos
Steven_L_Intel1
Employee
1,721 Views
They are different files. Your builds should work because the WindowsSDKDir location will now be the new one. Let me know if that is not the case.
0 Kudos
davidgraham
Beginner
1,721 Views
I'm getting the same error as before:
"fatal error RC1015: cannot open include file 'winresrc.h'. c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\include\winres.h"

Intel Visulal Fortran - Compilers - Includes, now has:
$(IFortInstallDir)compiler\include
$(IFortInstallDir)compiler\include\ia32
$(IFortInstallDir)mkl\include
$(VCInstallDir)atlmfc\include
$(VCInstallDir)include
$(WindowsSdkDir)include
$(FrameworkSDKDir)include

0 Kudos
Steven_L_Intel1
Employee
1,721 Views
Hmm. Well, the easy fix is to add:

C:\Program Files\Microsoft SDKs\Windows\v7.1\Include

to that list.
0 Kudos
davidgraham
Beginner
1,721 Views
That's good, I will add the include statements as required.

Maybe a different question or maybe my project hasn't been upgraded correctly - but after opening my projects (some are winapi, some quickwin) I was expecting to see the dialogs. In cvf there is 'file view' tab and a 'resources tab' and in the resurces tab there are the dialogs, where is the equivelent in XE 2011.

Thanks,
David
0 Kudos
Steven_L_Intel1
Employee
1,721 Views
You are looking for the Visual Studio Resource Editor. Unfortunately, Microsoft doesn't make that available to us with the VS Shell. Many people successfully use the freeware Resedit program for this.
0 Kudos
davidgraham
Beginner
1,721 Views
Thanks, I have now got ResEdit working.

Back to my compilation errors, I am working through them but have got the following error.

fatal error LNK1104: cannot open file 'comsuppw.lib'

I have 'comsupp.lib' & 'comsuppd.lib' in C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\Lib but not 'comsuppw.lib'.

I have added C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\Lib to the includes and libraries.

Is this a file missing from Visual Studio Shell?

Thanks
0 Kudos
davidgraham
Beginner
1,721 Views
I have found the solution myself, it was in this forum, but I couldn't find find if using search, just in google.
In Project Properties|Linker|Input|Ignore Specific files - specify 'comsuppw.lib'



0 Kudos
Steven_L_Intel1
Employee
1,640 Views
Yes, it is. I believe this is fixed in Update 3 but you'll have to uninstall Fortran and the Visual Studio Shell, and then download the new "full" installer and install that.
0 Kudos
Reply