It looks like your fortran compiler by default compiles in 32 bit (i386) where
as GCC on OS X 10.6 defaults to 64 bit (x64). You probably need to provide some
compiler flags to the fortran compiler in order to get it to compile in 64 bit
mode.
The error is actually pretty easy to read:
> -lgfor
Hi,
I am quite new to CMake. I want to use it for compiling an application
mixing C & Fortran.
I have narrowed down a CMake file to this:
PROJECT(dummy)
# Set the minimum version of cmake required to 2.6
CMAKE_MINIMUM_REQUIRED( VERSION 2.6 )
ENABLE_LANGUAGE(Fortran)
INCLUDE(FortranCInterface)