On Mon, Mar 7, 2011 at 8:43 AM, Biddiscombe, John A. <biddi...@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 > _______________________________________________ cmake-developers mailing list cmake-developers@cmake.org http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers