Code Monkey home page Code Monkey logo

Comments (7)

1176551922 avatar 1176551922 commented on August 24, 2024

我也遇到了相同的问题,请问您解决了吗?

from snowboy.

Bestbbb avatar Bestbbb commented on August 24, 2024

我也遇到了相同的问题,请问您解决了吗?

from snowboy.

Hi-Barry avatar Hi-Barry commented on August 24, 2024

试试这个,替换库文件,还搞不顶就没辙了
mv snowboy/lib/aarch64-ubuntu1604/libsnowboy-detect.a snowboy/lib/aarch64-ubuntu1604/libsnowboy-detect.a.bak
cp -a snowboy/lib/rpi/libsnowboy-detect.a snowboy/lib/aarch64-ubuntu1604/libsnowboy-detect.a

from snowboy.

dengxxw avatar dengxxw commented on August 24, 2024

https://b23.tv/rcQtnM6 参考b站评论里的解决方案

from snowboy.

Roboticshwx avatar Roboticshwx commented on August 24, 2024

修改Makefile中的libsnowboy-detect.a文件,看你用的系统是什么架构,我的是树莓派,架构是aarch64,然后就可以把Makefile中的 SNOWBOYDETECTLIBFILE = $(TOPDIR)/lib/ubuntu64/libsnowboy-detect.a 改为 SNOWBOYDETECTLIBFILE = $(TOPDIR)/lib/aarch64-ubuntu1604/libsnowboy-detect.a. 就可以成功编译出_snowboydetect.so文件了

from snowboy.

0Lisixian0 avatar 0Lisixian0 commented on August 24, 2024

遇到类似的make报错但不完全一样,说一下我的解决办法:
首先我的系统是ubuntu22.04, 在make之后报错:
/bin/sh: 1: swig: not found
expr: 语法错误:未预期的参数 "30010"
make: python-config: 没有那个文件或目录
make: python-config: 没有那个文件或目录
swig -I../../ -c++ -python -o snowboy-detect-swig.cc snowboy-detect-swig.i
make: swig: 没有那个文件或目录
make: *** [Makefile:63:snowboy-detect-swig.cc] 错误 127
打开makefile发现备注里写着至少需要3.0.10:You need at least Swig 3.0.10 to run;
于是sudo apt-get install swig,
之后make就成功了,如果一样是linux系统可以先检查以下swig版本。

from snowboy.

Sunk011 avatar Sunk011 commented on August 24, 2024

我也遇到了相同的问题,请问您解决了吗?

from snowboy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.