PaddlePaddle / PaddlePaddle/FastDeploy
fastdeploy C++ 编译问题,cmake 中勾选ENABLE_TEXT编译报错(取消勾选编译通过)
@jiangjiajun is already working on this.
Since Aug 1, 2024.
- Dominant language
- Python
- Stars
- 3.7k
- Forks
- 756
- Avg merge
- 19h 28m
- Merged PRs (30d)
- 4
Description
环境
-
【FastDeploy版本】:FastDeploy-develop (CPU,GPU均报错)
-
【编译命令】:ENBALE_TEXT (取消勾选,编译通过)
-
【系统平台】: Windows x64(Windows11) ,cuda-11.3,cudnn-8.9.7,opencv-4.7.0,tensorRT-8.6
-
【编译语言】: C++ (cmake + vs2019)
-
【编译报错】
-
【报错代码】:std::vectorstd::string texts_pair_ds = {"收钱码,对花呗支付的金额有限制吗","为什么友付宝不支持花呗付款"};”
-
【vs2019报错】:C2001 常量中有换行符
-
【修改】:在最后一个汉字之后增加一个空格,C2001报错消失。但是又爆出连接错误
-
【vs2019报错】:LNK2019 无法解析的外部符号 "public: static bool fastdeploy::FDLogger::enable_info" (?enable_info@FDLogger@fastdeploy@@2_NA),函数 "bool __cdecl CreateRuntimeOption(struct fastdeploy::RuntimeOption *)" (?CreateRuntimeOption@@YA_NPEAURuntimeOption@fastdeploy@@@Z) 中引用了该符号 text_text_ernie-3.0_seq_cls_infer D:\sdk\FastDeploy_gpu\build\examples\seq_cls_infer.obj 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.