• openfst编译首先会遇到下面的错误:


    https://blog.csdn.net/xxm524/article/details/126239910?ops_request_misc=&request_id=&biz_id=102&utm_term=error:%20redeclaration%20%E2%80%98Weight%20f&utm_medium=distribute.pc_search_result.none-task-blog-2~all~sobaiduweb~default-0-126239910.142^v51^control,201^v3^control_2&spm=1018.2226.3001.4187

    2、openfst
    openfst编译首先会遇到下面的错误:

    1) ERROR: cannot verify www.openfst.org’s certificate, issued by ‘/C=US/O=Let’s Encrypt/CN=R3’: Issued certificate has expired.To connect to www.openfst.org insecurely, use `–no-check-certificate’

    ERROR: cannot verify www.openfst.org's certificate, issued by ‘/C=US/O=Let's Encrypt/CN=R3’:
    Issued certificate has expired.
    To connect to www.openfst.org insecurely, use `--no-check-certificate'.
    ERROR: cannot verify www.openslr.org's certificate, issued by ‘/C=US/O=Let's Encrypt/CN=R3’:
    Issued certificate has expired.
    To connect to www.openslr.org insecurely, use `--no-check-certificate'.
    make: *** [openfst-1.7.2.tar.gz] Error 5
    1
    2
    3
    4
    5
    6
    7
    按错误提示添加--no-check-certificate, 修改tools/Makefile

    2) error: redeclaration ‘Weight fst::Power(const Weight& size_t)’…
    然后编译时遇到下面错误:


    通过错误信息看是, 有函数重复定义了,不可思议,也只能接受。最后还是找到了解决办法:
    https://www.openfst.org/twiki/bin/view/Forum/FstForum
    很明显了,修改tools/openfst-1.7.2/src/include/fst/weight.h如下:

    重新编译: make openfst 一切正常了。
    ————————————————
    版权声明:本文为CSDN博主「小小马车夫」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
    原文链接:https://blog.csdn.net/xxm524/article/details/126239910

  • 相关阅读:
    MVC 4 中 WEB API 选择 返回格式
    用XML配置菜单的一种思路,附一些不太准确的测试代码
    2020.11.15(每周总结)
    2020.11.19
    2020.11.22
    2020.11.21
    2020.11.14
    202.11.13
    2020.11.20
    2020.11.17
  • 原文地址:https://www.cnblogs.com/wcxia1985/p/16750120.html
Copyright © 2020-2023  润新知