当前位置: 首页 > 工具软件 > AnyQ > 使用案例 >

AnyQ编译问题

殳凯捷
2023-12-01

系统:ubuntu 16.04
问题一:

CMakeFiles/extern_paddle.dir/build.make:111: recipe for target ‘third_party/paddle/src/extern_paddle-stamp/extern_paddle-build’ failed

解决方案:所有重新编译,用 make -i 代替 make

问题二:

Linking CXX executable run_server
third_party/lib/libleveldb.a(table_builder.o): In function leveldb::TableBuilder::WriteBlock(leveldb::BlockBuilder*, leveldb::BlockHandle*)’: table_builder.cc:(.text+0x96f): undefined reference to snappy::MaxCompressedLength(unsigned long)’

利用 whereis snappy.h,找到其位置,将其 先换个名,mv snappy.h snappy.h.ori,
删掉AnyQ/build/third_party中leveldb文件夹,再用make重新编译就ok了

 类似资料: