[CMake] How to search archives? CMake error code documentation?

Eric Noulard eric.noulard at gmail.com
Sat Feb 21 06:26:52 EST 2009


2009/2/20  <rick at transpireinc.com>:
> A couple basic items, but I haven't been able to find the answers in the
> docs or wiki:
>
> 1.) I can browse the mail list archives, but is there a way to search them?

Yes at least here:
http://www.mail-archive.com/cmake@cmake.org/

there should be other too.

> 2.) Is there a list of CMake error codes, and what their cause is?  For
> example, I get:
>
> make[3]: *** [CMakeFiles/Experimental] Error 32
> make[2]: *** [CMakeFiles/Experimental.dir/all] Error 2
> make[1]: *** [CMakeFiles/Experimental.dir/rule] Error 2
> make: *** [Experimental] Error 2

Those may not be CMake errors, they should be make reported error
which may in turn be error code returned by some executable launched
by make:
http://www.gnu.org/software/make/manual/html_node/Error-Messages.html#Error-Messages

Did you try:

make VERBOSE=1  Experimental

in order to have more visibility on the failing steps?

> 3.) Also, I have a couple coverage errors, which occur on the last line
> (closing brace) of several files (...and there are no compiler warnings or
> errors associated with these files):
>
> Error(s) while acumulating results:
>   Problem reading source file:
> /home/rick/myproject/src/mylibrary/tests/tsphostname.cpp line:13
>   Problem reading source file:
> /home/rick/myproject/src/mylibrary/tests/tsptime.cpp line:13
>   Problem reading source file:
> /home/rick/myproject/src/mylibrary/tests/tsptimer.cpp line:27

Don't know for that :-(


-- 
Erk


More information about the CMake mailing list