zhooooong opened a new issue, #2770:
URL: https://github.com/apache/brpc/issues/2770
**Describe the bug (描述bug)**
```
[ 76%] Building CXX object
test/CMakeFiles/brpc_server_unittest.dir/brpc_server_unittest.cpp.o
/brpc/test/brpc_server_unittest.cpp:59:10: fatal error: v3.pb.h: No such
file or directory
59 | #include "v3.pb.h"
| ^~~~~~~~~
compilation terminated.
make[2]: *** [test/CMakeFiles/brpc_server_unittest.dir/build.make:63:
test/CMakeFiles/brpc_server_unittest.dir/brpc_server_unittest.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:741:
test/CMakeFiles/brpc_server_unittest.dir/all] Error 2
```
**To Reproduce (复现方法)**
```bash
cmake .. -DBUILD_UNIT_TESTS=ON
```
**Expected behavior (期望行为)**
cmake编译通过
**Versions (各种版本)**
OS: ubuntu 20.04
Compiler: gcc 9.4.0
brpc: 36353ef
protobuf: 3.6.1
**Additional context/screenshots (更多上下文/截图)**
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]