[cmake-developers] [CMake 0015155]: cmlistfilecache: error can not open file

Mantis Bug Tracker mantis at public.kitware.com
Sun Sep 14 00:37:03 EDT 2014


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=15155 
====================================================================== 
Reported By:                David Zemon
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15155
Category:                   CMake
Reproducibility:            always
Severity:                   block
Priority:                   high
Status:                     new
====================================================================== 
Date Submitted:             2014-09-14 00:37 EDT
Last Modified:              2014-09-14 00:37 EDT
====================================================================== 
Summary:                    cmlistfilecache: error can not open file
Description: 
Upon generating the Makefiles for my project, CMake prings the following two
lines for each new language that I enable:

CMake Error: cmListFileCache: error can not open file
C:/Users/David/Documents/GitHub/PropWare
CMake Error: Could not find cmake module file:

No other errors are reported. No extra text comes afterward (not even a single
space after the semicolon). The path in the first line is the root of my project
- not a file. Two lines are printed at the very bottom saying that I can look at
the CMakeOutput.log and CMakeError.log files, but they do not seem to provide
any useful information.

Steps to Reproduce: 
The PropWare project should exist on in a user-writable path. A version of GCC
ported for the Parallax Propeller is required to build my project. The
environment variable "PROPWARE_PATH" must be set to the project root directory.
All files from <root>/CMakeModules should be copied into the CMake installation
directory.

All of the above requirements can be most easily satisfied by downloading the
release-2.0-nightly branch of PropWare from github
(https://github.com/DavidZemon/PropWare/tree/release-2.0-nightly) and running
INSTALL.py from within the `util` directory. This will download PropGCC and
CMake 3.0.2 (if a version of CMake >= 3.0 is not in the PATH) and copy over the
necessary files into your CMake installation directory as well as setting a
couple environment variables.

If you choose to run INSTALL.py, it will attempt to build the PropWare libraries
and will fail with the above errors.
If you choose to configure everything manually, the error will appear as soon as
you try to configure the makefiles for the project. I use 'cmake -G "Unix
Makefiles" ..' from within a child directory of the root (GNU Make is
distributed with the Windows release of PropGCC). I found the same error occurs
when I use the default Makefile generator of Visual Studio. Attempting to use
MinGW Makefiles throws lots of different errors (can't find the compiler).

Additional Information: 
PropWare is ready to be released to the public as an easy-to-use build-system
for the Parallax Propeller, but without windows compatibility, the whole project
is nearly useless. Probably 95% of my potential users are on Windows, so until I
either find the problem or get a work around, my project isn't worth squat.

Sorry if the "severity" and "priority" are set too strong or wrong. I'm not sure
what to compare it with - but it is a blocking problem for me and I have not
been able to find a way around it.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-09-14 00:37 David Zemon    New Issue                                    
======================================================================



More information about the cmake-developers mailing list