[CMake] No debugging symbols found when using -DCMAKE_BUILD_TYPE=Debug
Chuck Atkins
chuck.atkins at kitware.com
Wed Jun 1 10:05:21 EDT 2016
>
> [eschnigma at manjaro build]$ cmake .. -DCMAKE_BUILD_TYPE:STRING="Debug"
> -- The C compiler identification is unknown
> -- The CXX compiler identification is unknown
>
This is definitely the reason for no debug symbols. If the compiler is
unknown then CMake won't know the right flags to pass to generate debug
info. The more important question though is why the compiler can't be
identified. What compiler is being used? Can check with /usr/bin/c++
--version ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160601/8123764a/attachment.html>
More information about the CMake
mailing list