Qv2ray: Build failed: Failure to find: /xxx/Qv2ray/libs/gen/v2ray_geosite.pb.cc & .h

Created on 10 Feb 2020  ·  4Comments  ·  Source: Qv2ray/Qv2ray

简单描述这个 bug:

qmake output:

WARNING: Failure to find: /home/linger/Src/Qv2ray/libs/gen/v2ray_geosite.pb.cc
WARNING: Failure to find: /home/linger/Src/Qv2ray/libs/gen/v2ray_geosite.pb.h

make output:

../src/components/geosite/QvGeositeReader.cpp:2:10: fatal error: libs/gen/v2ray_geosite.pb.h: No such file or directory
 #include "libs/gen/v2ray_geosite.pb.h"
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Makefile:17317: recipe for target 'QvGeositeReader.o' failed

如何复现这个bug:

  1. lrelease ./Qv2ray.pro
  2. mkdir build && cd build
  3. qmake ../
  4. make

系统信息

  • 系统类型(windows, linux, macos)

    • LinuxMint 19.3, QT 5.14.1

  • 是从release下载的还是自己编译的
help wanted platforlinux compiling

All 4 comments

Check these:

tools/unix-generate-api.sh
tools/unix-generate-geosite.sh

Possibly you are missing protoc (from grpc-cli)

@alluLinger 由于你使用的是基于Debian的系统 请按照Debian control来补全依赖

consider joining Qv2ray User Group @ Telegram:
https://t.me/qv2ray

Was this page helpful?
0 / 5 - 0 ratings

Related issues

robin98 picture robin98  ·  7Comments

Passwww picture Passwww  ·  5Comments

178me picture 178me  ·  3Comments

lookforkivi picture lookforkivi  ·  6Comments

U-v-U picture U-v-U  ·  3Comments