[CMake] Fortan interface bug

Alin M Elena alin.elena at qub.ac.uk
Tue Oct 9 10:10:26 EDT 2007


Hi, 

I get  the following error using the cvs version of cmake (9th of October 
2007).
Compilers tested
ifort version 10.0
gfortran version 4.1.2

[ 50%] Building Fortran object CMakeFiles/hello.dir/Source/test_mod.o
Error copying Fortran module "procedure".  Tried "PROCEDURE.mod" 
and "procedure.mod".
make[3]: *** [CMakeFiles/hello.dir/Source/test_mod.o.provides.build] Error 1

I put in the attach the files that replicate the error.

Alin

P.S. Compiling it manually everything goes ok.

-- 
____________________________________________________________________
"...if the universities will not study useless subjects, who will?"
                           G. F. Fitzgerald, Nature, 45/46, 392 (1892)
______________________________________________________________________
Mr. Alin M. ELENA
Atomistic Simulation Centre
School of Mathematics and Physics
Queen's University Belfast
Office: +44 (0)28 9097 1428
Fax: +44 (0)28 9097 5359
http://titus.phy.qub.ac.uk/group/Alin/
alin.elena at yahoo.co.uk
alin.elena at qub.ac.uk
______________________________________________________________________
-------------- next part --------------
Project(hello Fortran)

###source files
set(src_dir Source)
###bin files
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)


add_executable(hello 
${src_dir}/test_mod.f90
${src_dir}/hello.f90 )
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hello.f90
Type: text/x-fortran
Size: 139 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/cmake/attachments/20071009/2794673d/hello-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_mod.f90
Type: text/x-fortran
Size: 489 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/cmake/attachments/20071009/2794673d/test_mod-0001.bin


More information about the CMake mailing list