<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hello,<br>
<br>
I use Visual Studio Express 9 2008 and ifort 11.1 under Windows XP.<br>
<br>
When I try to generate the fortran binding of a project a "<span
 style="color: rgb(255, 0, 0);">No FortranCInterface mangling known for
mysub</span>" message
(reported hereafter) is printed.<br>
<br>
It seems CMake can't deal with the couple (Visual Studio Express 2008,
Ifort 11.1).<br>
<br>
Do I something wrong ?<br>
Is there anything to do to fix the problem ?<br>
<br>
Thanks a lot,<br>
<br>
Regards,<br>
<br>
Cyril.<br>
<br>
"""<br>
Configure Checks that still need to be implemented
<p style="margin: 0px; text-indent: 0px;"> GetConsoleScreenBufferInfo
function for Windows</p>
<p style="margin: 0px; text-indent: 0px;">The Fortran compiler
identification is Intel</p>
<p style="margin: 0px; text-indent: 0px;">Check for working Fortran
compiler: C:/Program Files/Intel/Compiler/11.1/060/bin/ia32/ifort.exe</p>
<p style="margin: 0px; text-indent: 0px;">Check for working Fortran
compiler: C:/Program Files/Intel/Compiler/11.1/060/bin/ia32/ifort.exe
-- works</p>
<p style="margin: 0px; text-indent: 0px;">Detecting Fortran compiler
ABI info</p>
<p style="margin: 0px; text-indent: 0px;">Detecting Fortran compiler
ABI info - done</p>
<p style="margin: 0px; text-indent: 0px;">Checking whether C:/Program
Files/Intel/Compiler/11.1/060/bin/ia32/ifort.exe supports Fortran 90</p>
<p style="margin: 0px; text-indent: 0px;">Checking whether C:/Program
Files/Intel/Compiler/11.1/060/bin/ia32/ifort.exe supports Fortran 90 --
yes</p>
<p style="margin: 0px; text-indent: 0px;">Detecting Fortran/C Interface</p>
<p style="margin: 0px; text-indent: 0px;">Detecting Fortran/C Interface
- Failed to compile</p>
<p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);">CMake Warning (dev) at C:/Program
Files/CMake 2.8/share/cmake-2.8/Modules/FortranCInterface.cmake:207
(message):</span></p>
<p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);"> No FortranCInterface mangling known
for mysub</span></p>
<p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);">Call Stack (most recent call first):</span></p>
<p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);"> fortran/CMakeLists.txt:8
(FortranCInterface_HEADER)</span></p>
<p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);">This warning is for project developers.
Use -Wno-dev to suppress it.</span></p>
<p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);">CMake Warning (dev) at C:/Program
Files/CMake 2.8/share/cmake-2.8/Modules/FortranCInterface.cmake:193
(message):</span></p>
<p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);"> No FortranCInterface mangling known
for mymod:my_sub</span></p>
<p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);">Call Stack (most recent call first):</span></p>
<p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);"> fortran/CMakeLists.txt:8
(FortranCInterface_HEADER)</span></p>
<p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);">This warning is for project developers.
Use -Wno-dev to suppress it.</span></p>
<p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);">CMake Error at
fortran/CMakeLists.txt:16 (STRING):</span></p>
<p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);"> string sub-command REGEX, mode MATCH
needs at least 5 arguments total to</span></p>
<p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);"> command.</span></p>
<p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);">CMake Error at
fortran/CMakeLists.txt:20 (STRING):</span></p>
<p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);"> string sub-command REGEX, mode MATCH
needs at least 5 arguments total to</span></p>
<p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);"> command.</span></p>
<p style="margin: 0px; text-indent: 0px;">Testing Fortran sizeof</p>
<p style="margin: 0px; text-indent: 0px;">Testing Fortran sizeof - OK</p>
<p style="margin: 0px; text-indent: 0px;">Testing Fortran
RealIsNotDouble</p>
<p style="margin: 0px; text-indent: 0px;">Testing Fortran
RealIsNotDouble - OK</p>
<p style="margin: 0px; text-indent: 0px;">SKIP h5repack_layout.h5
-f;dset1:GZIP=1;-l;dset1:CHUNK=20x10</p>
<p style="margin: 0px; text-indent: 0px;">SKIP h5repack_layout.h5
-f;GZIP=1</p>
<p style="margin: 0px; text-indent: 0px;">SKIP h5repack_layout.h5
-f;dset2:SZIP=8,EC;-l;dset2:CHUNK=20x10</p>
<p style="margin: 0px; text-indent: 0px;">SKIP h5repack_layout.h5
-f;SZIP=8,NN</p>
<p style="margin: 0px; text-indent: 0px;">SKIP h5repack_layout.h5
-f;dset2:SHUF;-f;dset2:FLET;-f;dset2:SZIP=8,NN;-f;dset2:GZIP=1;-l;dset2:CHUNK=20x10</p>
<p style="margin: 0px; text-indent: 0px;">SKIP h5repack_szip.h5 </p>
<p style="margin: 0px; text-indent: 0px;">SKIP h5repack_szip.h5
--filter=dset_szip:NONE</p>
<p style="margin: 0px; text-indent: 0px;">SKIP h5repack_deflate.h5 </p>
<p style="margin: 0px; text-indent: 0px;">SKIP h5repack_deflate.h5
-f;dset_deflate:NONE</p>
<p style="margin: 0px; text-indent: 0px;">SKIP h5repack_filters.h5
-f;NONE</p>
<p style="margin: 0px; text-indent: 0px;">SKIP h5repack_deflate.h5
-f;dset_deflate:SZIP=8,NN</p>
<p style="margin: 0px; text-indent: 0px;">SKIP h5repack_szip.h5
-f;dset_szip:GZIP=1</p>
<p style="margin: 0px; text-indent: 0px;">SKIP h5repack_layout.h5
-f;GZIP=1;-m;1024</p>
<p style="margin: 0px; text-indent: 0px;">SKIP h5repack_layout.h5
-e;testfiles/h5repack.info</p>
<p style="margin: 0px; text-indent: 0px;">SKIP h5repack_layout.h5
--layout;CHUNK=20x10;--filter;GZIP=1;--minimum=10;--native;--latest;--compact=8;--indexed=6;--ssize=8[:dtype]</p>
<p style="margin: 0px; text-indent: 0px;">SKIP h5repack_layout.h5
-l;CHUNK=20x10;-f;GZIP=1;-m;10;-n;-L;-c;8;-d;6;-s;8[:dtype]</p>
<p style="margin: 0px; text-indent: 0px;">SKIP h5repack_layout.h5
--filter;GZIP=1;--filter;SHUF</p>
<p style="margin: 0px; text-indent: 0px;">Configuring incomplete,
errors occurred!<br>
""""<br>
</p>
<br>
<br>
<br>
<br>
<br>
<br>
Le 08/06/2010 19:37, Giraudon Cyril a &eacute;crit&nbsp;:
<blockquote cite="mid:4C0E7FBD.8010405@free.fr" type="cite">
  <meta http-equiv="content-type"
 content="text/html; charset=ISO-8859-1">
  <div class="moz-text-html" lang="x-western"> Hello,<br>
  <br>
I try to compile the next version of HDF5 project which can be
generated/compiled with CMake.<br>
  <br>
I use Visual Studio Express 9 2008 and ifort 11.1 under Windows XP.<br>
  <br>
  <br>
Generation without Fortran binding :<br>
After modifying the CMAKE_MAKE_PROGRAM from<br>
devcom.com<br>
to<br>
VCExpress.exe<br>
The configure operation succeeds, I choose a mingw makefile and I can
generate binaries, dll ...<br>
  <br>
  <br>
  <br>
When I try to generate the fortran binding the reported message
(hereafter) is printed.<br>
  <br>
It seems CMake can't deal with the couple (Visual Studio Express 2008,
Ifort 11.1).<br>
  <br>
Do I something wrong ?<br>
Is there anything to do to fix the problem ?<br>
  <br>
Thanks a lot,<br>
  <br>
Regards,<br>
  <br>
Cyril Giraudon.<br>
  <br>
  <br>
"""<br>
Configure Checks that still need to be implemented
  <p style="margin: 0px; text-indent: 0px;"> GetConsoleScreenBufferInfo
function for Windows</p>
  <p style="margin: 0px; text-indent: 0px;">The Fortran compiler
identification is unknown</p>
  <p style="margin: 0px; text-indent: 0px;">Check for working Fortran
compiler: C:/Program Files/Intel/Compiler/11.1/060/bin/ia32/ifort.exe</p>
  <p style="margin: 0px; text-indent: 0px;">Check for working Fortran
compiler: C:/Program Files/Intel/Compiler/11.1/060/bin/ia32/ifort.exe
-- broken</p>
  <p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);">CMake Error at C:/Program Files/CMake
2.8/share/cmake-2.8/Modules/CMakeTestFortranCompiler.cmake:40 (MESSAGE):</span></p>
  <p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);"> The Fortran compiler "C:/Program</span></p>
  <p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);">
Files/Intel/Compiler/11.1/060/bin/ia32/ifort.exe" is not able to
compile a</span></p>
  <p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);"> simple test program.</span></p>
  <p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);"> It fails with the following output:</span></p>
  <p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);"> Change Dir:
C:/dev/outils/hdf5/hdf5-1.8.5-pre2.tar/hdf5-1.8.5-pre2/build/CMakeFiles/CMakeTmp</span></p>
  <p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);"> </span></p>
  <p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);"> Run Build
Command:C:/dev/programs/MinGW/bin/mingw32-make.exe</span></p>
  <p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);"> "cmTryCompileExec/fast"</span></p>
  <p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);">
C:/dev/programs/MinGW/bin/mingw32-make.exe -f</span></p>
  <p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);">
CMakeFiles\cmTryCompileExec.dir\build.make</span></p>
  <p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);"> CMakeFiles/cmTryCompileExec.dir/build</span></p>
  <p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);"> mingw32-make.exe[1]: Entering directory</span></p>
  <p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);">
`C:/dev/outils/hdf5/hdf5-1.8.5-pre2.tar/hdf5-1.8.5-pre2/build/CMakeFiles/CMakeTmp'</span></p>
  <p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);"> "C:\Program Files\CMake
2.8\bin\cmake.exe" -E cmake_progress_report</span></p>
  <p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);">
C:\dev\outils\hdf5\hdf5-1.8.5-pre2.tar\hdf5-1.8.5-pre2\build\CMakeFiles\CMakeTmp\CMakeFiles</span></p>
  <p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);"> 1</span></p>
  <p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);"> Building Fortran object</span></p>
  <p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);">
CMakeFiles/cmTryCompileExec.dir/testFortranCompiler.f.obj</span></p>
  <p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);">
C:\PROGRA~1\Intel\Compiler\11.1\060\bin\ia32\ifort.exe /nologo /fpp</span></p>
  <p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);">
/FoCMakeFiles\cmTryCompileExec.dir\testFortranCompiler.f.obj /debug:full</span></p>
  <p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);"> /dbglibs -c</span></p>
  <p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);">
C:\dev\outils\hdf5\hdf5-1.8.5-pre2.tar\hdf5-1.8.5-pre2\build\CMakeFiles\CMakeTmp\testFortranCompiler.f</span></p>
  <p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);"> Linking Fortran executable
cmTryCompileExec.exe</span></p>
  <p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);"> "C:\Program Files\CMake
2.8\bin\cmake.exe" -E cmake_link_script</span></p>
  <p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);">
CMakeFiles\cmTryCompileExec.dir\link.txt --verbose=1</span></p>
  <p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);">
C:\PROGRA~1\Intel\Compiler\11.1\060\bin\ia32\ifort.exe /nologo</span></p>
  <p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);">
@CMakeFiles\cmTryCompileExec.dir\objects1.rsp /debug:full /dbglibs</span></p>
  <p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);"> /FecmTryCompileExec.exe -link
/implib:cmTryCompileExec.lib /INCREMENTAL:YES</span></p>
  <p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);"> /debug /subsystem:console user32.lib </span></p>
  <p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);"> LINK : fatal error LNK1104: impossible
d'ouvrir le fichier 'ifconsol.lib'</span></p>
  <p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);"> mingw32-make.exe[1]: ***
[cmTryCompileExec.exe] Error 1104</span></p>
  <p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);"> mingw32-make.exe[1]: Leaving directory</span></p>
  <p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);">
`C:/dev/outils/hdf5/hdf5-1.8.5-pre2.tar/hdf5-1.8.5-pre2/build/CMakeFiles/CMakeTmp'</span></p>
  <p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);"> mingw32-make.exe: ***
[cmTryCompileExec/fast] Error 2</span></p>
  <p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);"> </span></p>
  <p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);"> </span></p>
  <p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);"> CMake will not be able to correctly
generate this project.</span></p>
  <p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);">Call Stack (most recent call first):</span></p>
  <p style="margin: 0px; text-indent: 0px;"><span
 style="color: rgb(255, 0, 0);"> fortran/CMakeLists.txt:2 (PROJECT)</span></p>
  <p style="margin: 0px; text-indent: 0px;">Configuring incomplete,
errors occurred!</p>
"""<br>
  <br>
  </div>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>

Visit other Kitware open-source projects at <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>

Please keep messages on-topic and check the CMake FAQ at: <a class="moz-txt-link-freetext" href="http://www.cmake.org/Wiki/CMake_FAQ">http://www.cmake.org/Wiki/CMake_FAQ</a>

Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake</a></pre>
</blockquote>
<br>
</body>
</html>