[CMake] Could not find GUID for target

Shishir Ramam sramam at gmail.com
Tue Mar 22 21:17:31 EST 2005


Bill,
Thanks much for this. It was indeed the case that I had a bad ADD_DEPENDENCIES. 
Removing it solved the problem. Wondering if the error message can be improved. 

Interestingly, this did not cause trouble creating a VC6 project. 

I will not be logging a defect, unless you think improving the error message
warrants tracking. 

thanks,
-shishir


On Tue, 22 Mar 2005 21:07:51 -0500, William A. Hoffman
<billlist at nycap.rr.com> wrote:
> This is a bad error message from cmake, please submit a bug report.
> However, I have seen this before, are you using any ADD_DEPENDENCIES
> commands?  The error happens when you have a top level target that depends
> on a target that does not exist.  ADD_DEPENDENCIES can only be used with
> target names and not source file names like my_file.c.
> 
> -Bill
> 
> 
> At 04:36 PM 3/22/2005, Shishir Ramam wrote:
> >An attempt to use Cmake 2.0.5 to generate project files for Visual
> >Studio 8.0 fails with
> >"CMake Error: Internal CMake Error, Could not find GUID for target: my_file.c"
> >
> >Any help in isolating the cause of this problem would be appreciated.
> >
> >TIA,
> >-shishir
> >_______________________________________________
> >CMake mailing list
> >CMake at cmake.org
> >http://www.cmake.org/mailman/listinfo/cmake
> 
>


More information about the CMake mailing list