Skip to content
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

AnyQ在树莓派4B上编译的问题 #232

Open
vincentking2015 opened this issue May 6, 2020 · 2 comments
Open

AnyQ在树莓派4B上编译的问题 #232

vincentking2015 opened this issue May 6, 2020 · 2 comments

Comments

@vincentking2015
Copy link

编译环境:
cmake 3.2.2(原来是比较高版本的,后来编译一直报各种乱七八糟的问题,特意按照文档改成3.2.2)
g++ 8.3.0(本来也是想降版本的,但是网上的各种方法,都表示降不到4.8,而且还出现新的各种问题,就恢复了最新的)
bison 3.3.2(觉得版本区别不大,应该是可以直接用的吧)

[ 4%] Built target extern_eigen
[ 9%] Built target extern_zlib
[ 14%] Built target extern_protobuf
[libprotobuf WARNING /home/pi/AnyQ/build/third_party/protobuf/src/extern_protobuf/src/google/protobuf/compiler/parser.cc:546] No syntax specified for the proto file: anyq.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.)
[libprotobuf WARNING /home/pi/AnyQ/build/third_party/protobuf/src/extern_protobuf/src/google/protobuf/compiler/parser.cc:546] No syntax specified for the proto file: http_service.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.)
[ 19%] Built target proto_build
[ 23%] Built target extern_xgboost
[ 28%] Built target extern_curl
[ 32%] Built target extern_jsoncpp
[ 36%] Built target extern_leveldb
[ 40%] Built target extern_glog
[ 45%] Built target extern_gflags
[ 50%] Built target extern_openssl
[ 50%] Performing install step for 'extern_brpc'
Compiling src/mcpack2pb/generator.o
g++: error: unrecognized command line option ‘-msse4’
g++: error: unrecognized command line option ‘-msse4.2’
make[3]: *** [Makefile:249:src/mcpack2pb/generator.o] 错误 1
make[2]: *** [CMakeFiles/extern_brpc.dir/build.make:67:third_party/brpc/src/extern_brpc-stamp/extern_brpc-install] 错误 2
make[1]: *** [CMakeFiles/Makefile2:249:CMakeFiles/extern_brpc.dir/all] 错误 2
make: *** [Makefile:76:all] 错误 2

绝对按照流程来做的。
查了很久的资料,还是没有解决,请教各位大佬了!

@crazymxm
Copy link

树莓派(或者ARM的系统)编译会出这个问题。官方的安装是针对x86的

@xuyixiO
Copy link

xuyixiO commented Apr 8, 2022

我也是存在这个问题,请问可以绕过msse4进行编译吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants