Hi, I've done this test with a CMakeLists.txt including only the project line and the output is the same.
When I go to CMakeTmp and open CMAKE_TRY_COMPILE.sln, the popup is shown saying that the project was created with a later version. Then the cmtrycompilerexe project is unavailable and cant be loaded. If you want me to do more test, just tell me. Thanks! Trace: ------------------------------------- C:\Documents and Settings\Administrator\Desktop\pruebas>"c:\Intel\Composer XE 2011 SP1\bin\compilervars_arch.bat" intel64 vs2010 Intel Parallel Studio XE 2011 SP1 Copyright (C) 1985-2011 Intel Corporation. All rights reserved. Intel Composer XE 2011 Update 6 (package 233) Setting environment for using Microsoft Visual Studio 2010 x64 tools. C:\Documents and Settings\Administrator\Desktop\pruebas>"c:\Program Files (x86)\CMake\bin\cmake.exe" -G "Visual Studio 10 Win64" . --debug-trycompile debug trycompile on -- Check for working Fortran compiler using: Visual Studio 10 Win64 -- Check for working Fortran compiler using: Visual Studio 10 Win64 -- broken CMake Error at c:/Program Files (x86)/CMake/share/cmake-2.8/Modules/CMakeTestFortranCompiler.cmake:40 (MESSAGE): The Fortran compiler "c:/Intel/Composer XE 2011 SP1/bin/intel64/ifort.exe" is not able to compile a simple test program. It fails with the following output: Change Dir: C:/Documents and Settings/Administrator/Desktop/pruebas/CMakeFiles/CMakeTmp Run Build Command:C:\PROGRA~2\MICROS~2.0\Common7\IDE\devenv.com CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec Microsoft (R) Visual Studio Version 10.0.30319.1. Copyright (C) Microsoft Corp. All rights reserved. Invalid project Use: devenv [solutionfile | projectfile | anyfile.ext] [switches] ------------------------------------- 2011/9/30 Bill Hoffman <[email protected]> > On 9/30/2011 5:50 AM, Mario Rodríguez wrote: > >> I've tested it again in more computers and building others new versions >> of cmake git next, release, 2.8.6,... and the result is the same >> >> > I have this version and it works perfect: > > C:\ProgramData\Microsoft\**Windows\Start Menu\Programs\Intel(R) Software > Developme > nt Tools\Intel(R) Cluster Studio 2011>ifort /v > Intel(R) Visual Fortran Intel(R) 64 Compiler XE for applications running on > Inte > l(R) 64, Version 12.0.0.104 Build 20101006 > Copyright (C) 1985-2010 Intel Corporation. All rights reserved. > > > Can you create a very simple fortran project and run debug try compile? > > > > project(foo Fortran) > > > Then run cmake from the command line with --debug-trycompile like this: > > C:\Users\hoffman\Work\My Builds\t\b>"\Program Files (x86)\CMake > 2.8\bin\cmake.exe" -G"Visual Studio 10 Win64" .. --debug-trycompile > > Then try to load the .sln file in CMakeFiles/CMakeTmp with VS. > > > -Bill > > > >> 2011/9/27 Mario Rodríguez <[email protected] <mailto:[email protected]>> >> >> >> Hi, >> >> I'm testing the new feature described in this comment of the ticket >> in >> http://www.cmake.org/Bug/view.**php?id=11517<http://www.cmake.org/Bug/view.php?id=11517> >> >> "I have pushed a fix for this to next. To test you will have to >> build CMake from git next branch source. If you can do that, please >> let me know if it works for youheck for working Fortran compiler >> using: Visual Studio 10 Win64" >> >> but it shows the error in a popup that says that >> CMAKE_TRY_COMPILE.sln was not created with the same version of >> Visual Studio that I'm using to open that project. If I try to open >> the .sln manually, the error is the same. >> >> Thanks in advance! >> >> ------------------------------**----------------- >> -- Check for working Fortran compiler using: Visual Studio 10 Win64 >> -- broken >> CMake Error at C:/Program Files >> >> (x86)/CMake/share/cmake-2.8/**Modules/**CMakeTestFortranCompiler.**cmake:40 >> (MESSAGE): >> The Fortran compiler "C:\Intel\Composer XE 2011 >> SP1\bin\intel64\ifort.exe" >> is not able to compile a simple test program. >> >> It fails with the following output: >> >> Change Dir: G:/xxxxxxxxx/build/CMakeFiles/**CMakeTmp >> >> >> >> Run Build Command:C:\PROGRA~2\MICROS~2.**0\Common7\IDE\devenv.com >> <http://devenv.com> >> >> CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec >> >> >> >> Microsoft (R) Visual Studio Version 10.0.30319.1. >> >> Copyright (C) Microsoft Corp. All rights reserved. >> >> >> >> Invalid project >> >> >> >> Use: >> >> devenv [solutionfile | projectfile | anyfile.ext] [switches] >> >> ------------------------------**----------------- >> >> >> >> SO: Win XP 64 >> Intel Fortran: 12.1.0.233 >> cmake: 2.8.5.20110926 >> Visual Studio: 10.0.30319 >> >> >> >> >> -- >> >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at http://www.kitware.com/** >> opensource/opensource.html<http://www.kitware.com/opensource/opensource.html> >> >> Please keep messages on-topic and check the CMake FAQ at: >> http://www.cmake.org/Wiki/**CMake_FAQ<http://www.cmake.org/Wiki/CMake_FAQ> >> >> Follow this link to subscribe/unsubscribe: >> http://www.cmake.org/mailman/**listinfo/cmake<http://www.cmake.org/mailman/listinfo/cmake> >> > > > -- > Bill Hoffman > Kitware, Inc. > 28 Corporate Drive > Clifton Park, NY 12065 > [email protected] > http://www.kitware.com > 518 881-4905 (Direct) > 518 371-3971 x105 > Fax (518) 371-4573 > -- > > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/** > opensource/opensource.html<http://www.kitware.com/opensource/opensource.html> > > Please keep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/**CMake_FAQ<http://www.cmake.org/Wiki/CMake_FAQ> > > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/**listinfo/cmake<http://www.cmake.org/mailman/listinfo/cmake> >
-- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
