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