• 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

  • 相关阅读:
    SpringBoot2.x 工作流开源项目
    Nginx:终于有人把 Nginx 说清楚了,图文详解!
    MySQL8配置修改:Mysql group by this is incompatible with sql_mode=only_full_group_by
    解决错误:java.sql.SQLNonTransientConnectionException: Data source rejected establishment of connection, message from server: "Too many connections"
    工作时使用的vim配置
    工作笔记整理
    Linux mint启用内核转储
    usleep和sleep
    gdb使用
    掩码配置为255.255.255.255
  • 原文地址:https://www.cnblogs.com/wcxia1985/p/16750120.html
Copyright © 2020-2023  润新知