[CMake] Compiling fortran

Alin M Elena alin.elena at qub.ac.uk
Wed Sep 26 04:55:41 EDT 2007


On Wednesday 26 September 2007 04:37:33 cmake-request at cmake.org wrote:
> While the cmake man page does not document the proper capitalization of
> Fortran for creating a fortran based project, I am now at the point the
> compilation does not work for another reason.
>
> Does anyone have an idea what this means?
>
>
> Clearing dependencies in "CMakeFiles/pisces.dir/depend.make".
> Clearing dependencies in "CMakeFiles/pisces.dir/depend.internal".
> /usr/bin/cmake -E cmake_progress_start
> /home/anon/svn/svn_repository/relB.9009/pisces/9009/src/CMakeFiles 50
> make -f CMakeFiles/Makefile2 all
> make[1]: Entering directory
> `/home/anon/svn/svn_repository/relB.9009/pisces/9009/src'
> make -f CMakeFiles/pisces.dir/build.make CMakeFiles/pisces.dir/depend
> make[2]: Entering directory
> `/home/anon/svn/svn_repository/relB.9009/pisces/9009/src'
> Scanning dependencies of target pisces
> cd /home/anon/svn/svn_repository/relB.9009/pisces/9009/src &&
> /usr/bin/cmake -E cmake_depends "Unix Makefiles"
> /home/anon/svn/svn_repository/relB.9009/pisces/9009/src
> /home/anon/svn/svn_repository/relB.9009/pisces/9009/src
> /home/anon/svn/svn_repository/relB.9009/pisces/9009/src
> /home/anon/svn/svn_repository/relB.9009/pisces/9009/src
> /home/anon/svn/svn_repository/relB.9009/pisces/9009/src/CMakeFiles/pisces.d
>ir/DependInfo.cmake make[2]: Leaving directory
> `/home/anon/svn/svn_repository/relB.9009/pisces/9009/src'
> make -f CMakeFiles/pisces.dir/build.make CMakeFiles/pisces.dir/requires
> make[2]: Entering directory
> `/home/anon/svn/svn_repository/relB.9009/pisces/9009/src'
> make[2]: *** No rule to make target `new.mod.proxy', needed by
> `CMakeFiles/pisces.dir/filopncls.o.requires'.  Stop.
> make[2]: Leaving directory
> `/home/anon/svn/svn_repository/relB.9009/pisces/9009/src'
> make[1]: *** [CMakeFiles/pisces.dir/all] Error 2
> make[1]: Leaving directory
> `/home/anon/svn/svn_repository/relB.9009/pisces/9009/src'
>
> Thanks,
>
> Juan

Yap It is a "feature" of cmake (even there are some bug reports about it). You 
should do (in the root folder of the project, where the CMakeLists.txt 
resides)
touch new.mod.proxy
and the same for any other that complains about.

Alin

-- 
____________________________________________________________________
"...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
______________________________________________________________________


More information about the CMake mailing list