Cyril, Andrew, On 6/9/2010 4:00 AM, Giraudon Cyril wrote: > I use Visual Studio Express 9 2008 and ifort 11.1 under Windows XP. > > When I try to generate the fortran binding of a project a "No > FortranCInterface mangling known for mysub" message (reported hereafter) > is printed. > > It seems CMake can't deal with the couple (Visual Studio Express 2008, > Ifort 11.1). [snip] On 2010-06-28 15:25 EDT, Andrew Trachenko wrote: > http://www.cmake.org/Bug/view.php?id=10904 > FortranCInterface_HEADER macro produces "No FortranCInterface mangling > known for XXX" error. > > Generator: Visual Studio 9 2008 Win64 > CMAKE_Fortran_COMPILER=ifort > OS: Windows Server 2008 R2 (x64) > > The same configuration for Win32 works OK.
We've received reports from both of you about this problem. However, I'm unable to reproduce it with Visual Studio Professional 2008 and Intel Fortran 11.1. The FortranCInterface is properly detected for me, and I can configure hdf5 with Fortran enabled. It works with both the Win32 and Win64 generators. Does the problem still occur for you with CMake 2.8.2? > Correct name mangling is just ALL_UPPERCASE. This is known. See the list of known manglings here: http://cmake.org/gitweb?p=cmake.git;a=blob;f=Modules/FortranCInterface/CMakeLists.txt;h=18014af5;hb=f9116d02 -Brad _______________________________________________ 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
