[cmake-developers] VS2010 fortran composer

Bill Hoffman bill.hoffman at kitware.com
Mon Mar 7 09:07:17 EST 2011


http://software.intel.com/en-us/forums/showthread.php?t=81140

"
This is explained in the release notes for the Fortran compiler.
Please read the section on VS2010.."

John, do you have the release notes?

On Mon, Mar 7, 2011 at 8:57 AM, Bill Hoffman <bill.hoffman at kitware.com> wrote:
> On Mon, Mar 7, 2011 at 8:43 AM, Biddiscombe, John A. <biddisco at cscs.ch> wrote:
>> No. The cmake generated project is identical to the one I create using visual studio - and both compile fine inside the IDE
>>
>> but both give the same error when I try to compile using MSBuild
>>
>> here is the outpur from a simple TestApp generated using the IDE (New Project ....etc etc)
>>
>
> Sounds like a bug report for Intel.  If you create a project with the
> IDE, and it fails to build with MSBuild, then I don't really see how
> you are going to figure it out....
>
> You could try something like this:
> http://stackoverflow.com/questions/956163/msbuild-error-when-building-projects-for-the-first-time
>
> What if you run DevEnv.exe from the command line with the /Upgrade on
> the vfproj file?  Does it change it?  Does it work with MSBuild after?
>
>>
>> C:\Code\fortrantest\TestApp\TestApp>C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe TestApp.vfproj
>> Microsoft (R) Build Engine Version 4.0.30319.1
>> [Microsoft .NET Framework, Version 4.0.30319.1]
>> Copyright (C) Microsoft Corporation 2007. All rights reserved.
>>
>> Build started 07/03/2011 14:41:43.
>> Project "C:\Code\fortrantest\TestApp\TestApp\TestApp.vfproj" on node 1 (default targets).
>> C:\Code\fortrantest\TestApp\TestApp\TestApp.vfproj(2,1): error MSB4075: The project file "C:\Code\fortrantest\TestApp\TestApp\TestApp.vfpro
>> j" must be opened in the Visual Studio IDE and converted to the latest version before it can be built by MSBuild.
>> Done Building Project "C:\Code\fortrantest\TestApp\TestApp\TestApp.vfproj" (default targets) -- FAILED.
>>
>>
>> Build FAILED.
>>
>> "C:\Code\fortrantest\TestApp\TestApp\TestApp.vfproj" (default target) (1) ->
>>  C:\Code\fortrantest\TestApp\TestApp\TestApp.vfproj(2,1): error MSB4075: The project file "C:\Code\fortrantest\TestApp\TestApp\TestApp.vfproj" must be opened in the Visual Studio IDE and converted to the latest version before it can be built by MSBuild.
>>
>>    0 Warning(s)
>>    1 Error(s)
>>
>> Time Elapsed 00:00:00.04
>>
>



More information about the cmake-developers mailing list