[CMake] No FortranCInterface mangling known with (VCExpress & Intel Ifort 2008)
brad.king at kitware.com
Fri Jul 2 09:57:31 EDT 2010
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).
On 2010-06-28 15:25 EDT, Andrew Trachenko wrote:
> FortranCInterface_HEADER macro produces "No FortranCInterface mangling
> known for XXX" error.
> Generator: Visual Studio 9 2008 Win64
> 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:
More information about the CMake