-
Notifications
You must be signed in to change notification settings - Fork 82
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
v9.0.0版本编译无法通过 #51
Comments
Hi @wawozhu, 按顺序执行下面这几行命令确认一下版本 cd CyberRT
source install/setup.bash
protoc --version 如果 |
大佬好,切换了protoc版本后,上面的报错解决了,但是有下面新的报错,感觉还是protobuf版本的问题呢? ../../libcyber.so:对‘google::protobuf::internal::InlineGreedyStringParser(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, char const, google::protobuf::internal::ParseContext*)’未定义的引用 |
在编译前, 如果是新开的Terminal, 需要加载环境 |
你好,这步是执行过的。 |
非常抱歉, 是最近一次更新的脚本出了问题, 我改一下, 稍等 |
好的大佬,看了一下install.py 安装protobuf的地方写成了glog,另外是不是还缺一些依赖啊? |
可以先使用下面的脚本安装依赖, 取代 cd CyberRT
sudo ./scripts/install.sh |
这样ok了大佬,还有一个问题大佬,我现在想用交叉编译器编译这这个工程放个工程放到arm芯片上跑,需要修改哪些地方呢,谢谢。 |
这个工程当前没有交叉编译, 你可以写一个toolchain, arm和amd只需要区分croutine这两个汇编文件就可以 |
好的,谢谢大佬~ |
我按照README的操作步骤,最后编译报错如下,请问大佬这个是什么导致的呢,protobuf版本是3.14.0
error: ‘class apollo::cyber::proto::Header’ has no member named ‘ByteSizeLong’; did you mean ‘ByteSize’?
if (static_cast<int64_t>(message->ByteSizeLong()) != size) {
~~~~~~~~~^~~~~~~~~~~~
ByteSize
/home/xiangdong/CyberRT/cyber/record/file/record_file_reader.h:86:64: error: ‘class apollo::cyber::proto::Header’ has no member named ‘ByteSizeLong’; did you mean ‘ByteSize’?
<< ", expect: " << size << ", actual: " << message->ByteSizeLong();
~~~~~~~~~^~~~~~~~~~~~
ByteSize
The text was updated successfully, but these errors were encountered: