我正在尝试设置我的 gtest 环境,并做了一个简单的测试用例,但是在给出构建命令时我遇到了这些错误

问题描述 投票:0回答:0

enter image description here 这是错误。我正在使用巴泽尔。 这是我的命令:“bazel run application/x6sdd/tests:sdd_unit_test --config=x86_64_linux”

我已经添加了 src 和依赖项中所需的所有文件。

enter image description here 这是我的 google test 构建文件。我尝试添加删除许多文件,但可以为它构建。

unit-testing gcc build bazel googletest
© www.soinside.com 2019 - 2024. All rights reserved.