[cmake-developers] [CMake 0011677]: Clarification of message "CMake Error in cli/CMakeLists.txt"

Mantis Bug Tracker mantis at public.kitware.com
Mon Jan 10 13:50:09 EST 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=11677 
====================================================================== 
Reported By:                Markus Elfring
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   11677
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-01-10 13:50 EST
Last Modified:              2011-01-10 13:50 EST
====================================================================== 
Summary:                    Clarification of message "CMake Error in
cli/CMakeLists.txt"
Description: 
I try to update some scripts which were published with the feature request "Add
simple CMake build files".
https://sourceforge.net/apps/trac/cppcheck/ticket/1092#comment:5

The first configuration after some edits works as expected. But I was surprised
by the message "Error in configuration process, project files may be invalid" in
a dialogue box of the tool "CMake-GUI 2.8.1" for my generation try.

I stumble on the following log display.

The C compiler identification is GNU
The CXX compiler identification is GNU
Configuring done
CMake Error in cli/CMakeLists.txt:
  Cannot find source file "filelister_unix.cpp".  Tried extensions .c .C .c++
  .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx


Now I try to repeat these steps with the graphical user interface from the
package "http://www.cmake.org/files/v2.8/cmake-2.8.3-Linux-i386.sh".

The corresponding log area displays the following informations:
The C compiler identification is GNU
The CXX compiler identification is GNU
Configuring done
CMake Error at cli/CMakeLists.txt:42 (add_executable):
  Cannot find source file "filelister_unix.cpp".  Tried extensions .c .C .c++
  .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx

I have got doubts that the displayed informations are sufficient to resolve this
in a "convenient" way because the mentioned file exists in a subdirectory so
far.
-rw-r--r-- 1 elfring users 2446 10. Jan 10:38
/home/elfring/Projekte/cppcheck/lokal/lib/filelister_unix.cpp

Are there any chances to get more debugging details?

Additional Information: 
Name        : cmake                        Relocations: (not relocatable)
Version     : 2.8.1                             Vendor: openSUSE
Release     : 3.4                           Build Date: Di 06 Jul 2010 00:03:31
CEST
Install Date: Fr 16 Jul 2010 18:50:49 CEST      Build Host: build33
Group       : Development/Tools/Building    Source RPM: cmake-2.8.1-3.4.src.rpm
Size        : 20067305                         License: BSD3c
Signature   : RSA/8, Di 06 Jul 2010 00:06:19 CEST, Key ID b88b2fd43dbdc284
Packager    : http://bugs.opensuse.org
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-01-10 13:50 Markus Elfring New Issue                                    
2011-01-10 13:50 Markus Elfring File Added: CMakeCache.txt.zip                  
 
======================================================================




More information about the cmake-developers mailing list