-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
有相关的说明吗?在运行时报错 #1
Comments
不好意思啊,一直没有写说明,最近才把代码稳定下来。目前我只编译了ubuntu上的seetaface6。我这几天抽时间编译一个windows版本的吧。如果你可以在ubuntu下运行,你留一个邮箱,我先把模型发给你。我准备今天先写一个简单的说明。 |
我写了一个简单的帮助,这几天有时间了,我会增加windows系统的动态链接库 |
好的,点赞~! |
我在Ubuntu上面运行看看 |
好的,如果有问题你再问我。 |
好的,有问题我及时反馈 |
Ubuntu 18.04 在go build cmd下的main.go的时候报: 在bashrc下也配置了环境变量LD_LIBRARY_PATH 是缺少gcc的环境?还是只能用Ubuntu 20.04? |
你是直接运行的这个项目还是引入别的项目运行的? |
直接运行的这个项目的。1 和2 都有,因为Ubuntu的当前帐号是读取home目录下的.bashrc,所以我配置在这个里面的 ubun@DESKTOP-B1ADODD:~/workspace/sf6go/cmd$ echo $LD_LIBRARY_PATH ubun@DESKTOP-B1ADODD:~/workspace/sf6go/cmd$ sudo apt install cmake g++ gcc -y |
不好意思,因为我用的是ubuntu20.04,它和18.04之间系统的一些基础组件,尤其是Standard C++ Library版本差异还是比较大的。目前项目里面动态连接库是在ubuntu20.04下编译的。所以可能在ubunut18.04下无法正常运行。我手上没有ubuntu18.04如果你能换ubuntu20.04的话可以换下版本试试。 |
好的,那我用20.04试试吧 |
运行时出现下面这个提示信息,没有其他输出,请问一下你这边遇到过没? |
你的cpu是什么型号,需要AVX指令集支持的。 |
我刚才看了下,之前忘记引入不支持AVX2和FMA指令集的其他库的,我已经修改了代码,你可以测试下看看现在可以成功运行不。 |
i5-2400,查了一下是支持avx指令集的,但是不支持avx2和fma。最新代码运营的话还是这个异常
|
麻烦你这样试一下: |
已解决,3q |
D:/dev/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lSeetaFaceAntiSpoofingX600
D:/dev/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lSeetaFaceDetector600
D:/dev/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lSeetaFaceLandmarker600
D:/dev/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lSeetaFaceRecognizer610
D:/dev/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lSeetaFaceTracking600
D:/dev/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lSeetaMaskDetector200
D:/dev/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -ltennis
D:/dev/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lSeetaAuthorize
D:/dev/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -ltennis
D:/dev/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lSeetaAuthorize
D:/dev/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lSeetaQualityAssessor300
D:/dev/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lSeetaPoseEstimation600
collect2.exe: error: ld returned 1 exit status
The text was updated successfully, but these errors were encountered: