【发布时间】:2019-01-07 07:56:21
【问题描述】:
我拉下 example-1 并为它生成了一个 CMake 项目,使用:
cmake -G "Unix Makefiles" -DCMAKE_EXPORT_COMPILE_COMMANDS=On -DCMAKE_BUILD_TYPE=Debug <source-dir>
当我构建项目时,我看到了以下输出:
[ 40%] Built target pvs-studio-cmake-example-1
[ 60%] Analyzing CXX file main.cpp
Your license will expire in 0 days. Contact us at support@viva64.com.
make[2]: *** [CMakeFiles/example1.analyze.dir/build.make:73: PVS-
Studio/main.cpp.plog] Error 2
make[2]: *** Deleting file 'PVS-Studio/main.cpp.plog'
make[1]: *** [CMakeFiles/Makefile2:105:
CMakeFiles/example1.analyze.dir/all] Error 2
make: *** [Makefile:84: all] 错误 2
我正在使用 Fedora 28。
gcc (GCC) 8.1.1 20180712 (Red Hat 8.1.1-5)
有人知道我在这里做错了什么吗?
谢谢,
【问题讨论】:
-
这个? > 您的许可证将在 0 天后到期。通过 support@viva64.com 联系我们。
-
@arrowd:我使用的是免费版 (viva64.com/en/b/0457/#ID0E4VAE)。所以我不需要许可证。
标签: cmake pvs-studio