1165
- 收藏
- 点赞
- 分享
- 举报
编译dronecodesdk失败
[root@localhost build-arm]# make
[ 2%] Built target gtest
[ 3%] Built target gtest_main
[ 5%] Built target tinyxml2_static
[ 15%] Built target zlibstatic
[ 15%] Built target version
[ 15%] Building CXX object core/CMakeFiles/dronecode_sdk.dir/system_impl.cpp.o
/home/russ/tempsdk/DronecodeSDK/core/system_impl.cpp: In member function ‘std::pair dronecode_sdk::SystemImpl::get_param_float(const string&)’:
/home/russ/tempsdk/DronecodeSDK/core/system_impl.cpp:646:97: error: invalid use of incomplete type ‘class std::promise >’
auto prom = std::promise>();
^
In file included from /home/russ/tempsdk/DronecodeSDK/core/system_impl.h:20:0,
from /home/russ/tempsdk/DronecodeSDK/core/system_impl.cpp:5:
/opt/hisi-linux/x86-arm/arm-hisiv400-linux/arm-hisiv400-linux-gnueabi/include/c++/4.8.3/future:122:11: error: declaration of ‘class std::promise >’
class promise;
^
/home/russ/tempsdk/DronecodeSDK/core/system_impl.cpp: In member function ‘std::pair dronecode_sdk::SystemImpl::get_param_int(const string&)’:
/home/russ/tempsdk/DronecodeSDK/core/system_impl.cpp:668:95: error: invalid use of incomplete type ‘class std::promise >’
auto prom = std::promise>();
^
In file included from /home/russ/tempsdk/DronecodeSDK/core/system_impl.h:20:0,
from /home/russ/tempsdk/DronecodeSDK/core/system_impl.cpp:5:
/opt/hisi-linux/x86-arm/arm-hisiv400-linux/arm-hisiv400-linux-gnueabi/include/c++/4.8.3/future:122:11: error: declaration of ‘class std::promise >’
class promise;
^
/home/russ/tempsdk/DronecodeSDK/core/system_impl.cpp: In member function ‘std::pair dronecode_sdk::SystemImpl::get_param_ext_float(const string&)’:
/home/russ/tempsdk/DronecodeSDK/core/system_impl.cpp:690:97: error: invalid use of incomplete type ‘class std::promise >’
auto prom = std::promise>();
^
In file included from /home/russ/tempsdk/DronecodeSDK/core/system_impl.h:20:0,
from /home/russ/tempsdk/DronecodeSDK/core/system_impl.cpp:5:
/opt/hisi-linux/x86-arm/arm-hisiv400-linux/arm-hisiv400-linux-gnueabi/include/c++/4.8.3/future:122:11: error: declaration of ‘class std::promise >’
class promise;
^
/home/russ/tempsdk/DronecodeSDK/core/system_impl.cpp: In member function ‘std::pair dronecode_sdk::SystemImpl::get_param_ext_int(const string&)’:
/home/russ/tempsdk/DronecodeSDK/core/system_impl.cpp:713:95: error: invalid use of incomplete type ‘class std::promise >’
auto prom = std::promise>();
^
In file included from /home/russ/tempsdk/DronecodeSDK/core/system_impl.h:20:0,
from /home/russ/tempsdk/DronecodeSDK/core/system_impl.cpp:5:
/opt/hisi-linux/x86-arm/arm-hisiv400-linux/arm-hisiv400-linux-gnueabi/include/c++/4.8.3/future:122:11: error: declaration of ‘class std::promise >’
class promise;
^
/home/russ/tempsdk/DronecodeSDK/core/system_impl.cpp: In member function ‘std::pair dronecode_sdk::SystemImpl::get_param_float(const string&)’:
/home/russ/tempsdk/DronecodeSDK/core/system_impl.cpp:664:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
/home/russ/tempsdk/DronecodeSDK/core/system_impl.cpp: In member function ‘std::pair dronecode_sdk::SystemImpl::get_param_int(const string&)’:
/home/russ/tempsdk/DronecodeSDK/core/system_impl.cpp:686:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
/home/russ/tempsdk/DronecodeSDK/core/system_impl.cpp: In member function ‘std::pair dronecode_sdk::SystemImpl::get_param_ext_float(const string&)’:
/home/russ/tempsdk/DronecodeSDK/core/system_impl.cpp:709:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
/home/russ/tempsdk/DronecodeSDK/core/system_impl.cpp: In member function ‘std::pair dronecode_sdk::SystemImpl::get_param_ext_int(const string&)’:
/home/russ/tempsdk/DronecodeSDK/core/system_impl.cpp:732:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
cc1plus: all warnings being treated as errors
make[2]: *** [core/CMakeFiles/dronecode_sdk.dir/system_impl.cpp.o] 错误 1
make[1]: *** [core/CMakeFiles/dronecode_sdk.dir/all] 错误 2
make: *** [all] 错误 2
有没有什么建议??
[ 2%] Built target gtest
[ 3%] Built target gtest_main
[ 5%] Built target tinyxml2_static
[ 15%] Built target zlibstatic
[ 15%] Built target version
[ 15%] Building CXX object core/CMakeFiles/dronecode_sdk.dir/system_impl.cpp.o
/home/russ/tempsdk/DronecodeSDK/core/system_impl.cpp: In member function ‘std::pair
/home/russ/tempsdk/DronecodeSDK/core/system_impl.cpp:646:97: error: invalid use of incomplete type ‘class std::promise
auto prom = std::promise
^
In file included from /home/russ/tempsdk/DronecodeSDK/core/system_impl.h:20:0,
from /home/russ/tempsdk/DronecodeSDK/core/system_impl.cpp:5:
/opt/hisi-linux/x86-arm/arm-hisiv400-linux/arm-hisiv400-linux-gnueabi/include/c++/4.8.3/future:122:11: error: declaration of ‘class std::promise
class promise;
^
/home/russ/tempsdk/DronecodeSDK/core/system_impl.cpp: In member function ‘std::pair
/home/russ/tempsdk/DronecodeSDK/core/system_impl.cpp:668:95: error: invalid use of incomplete type ‘class std::promise
auto prom = std::promise
^
In file included from /home/russ/tempsdk/DronecodeSDK/core/system_impl.h:20:0,
from /home/russ/tempsdk/DronecodeSDK/core/system_impl.cpp:5:
/opt/hisi-linux/x86-arm/arm-hisiv400-linux/arm-hisiv400-linux-gnueabi/include/c++/4.8.3/future:122:11: error: declaration of ‘class std::promise
class promise;
^
/home/russ/tempsdk/DronecodeSDK/core/system_impl.cpp: In member function ‘std::pair
/home/russ/tempsdk/DronecodeSDK/core/system_impl.cpp:690:97: error: invalid use of incomplete type ‘class std::promise
auto prom = std::promise
^
In file included from /home/russ/tempsdk/DronecodeSDK/core/system_impl.h:20:0,
from /home/russ/tempsdk/DronecodeSDK/core/system_impl.cpp:5:
/opt/hisi-linux/x86-arm/arm-hisiv400-linux/arm-hisiv400-linux-gnueabi/include/c++/4.8.3/future:122:11: error: declaration of ‘class std::promise
class promise;
^
/home/russ/tempsdk/DronecodeSDK/core/system_impl.cpp: In member function ‘std::pair
/home/russ/tempsdk/DronecodeSDK/core/system_impl.cpp:713:95: error: invalid use of incomplete type ‘class std::promise
auto prom = std::promise
^
In file included from /home/russ/tempsdk/DronecodeSDK/core/system_impl.h:20:0,
from /home/russ/tempsdk/DronecodeSDK/core/system_impl.cpp:5:
/opt/hisi-linux/x86-arm/arm-hisiv400-linux/arm-hisiv400-linux-gnueabi/include/c++/4.8.3/future:122:11: error: declaration of ‘class std::promise
class promise;
^
/home/russ/tempsdk/DronecodeSDK/core/system_impl.cpp: In member function ‘std::pair
/home/russ/tempsdk/DronecodeSDK/core/system_impl.cpp:664:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
/home/russ/tempsdk/DronecodeSDK/core/system_impl.cpp: In member function ‘std::pair
/home/russ/tempsdk/DronecodeSDK/core/system_impl.cpp:686:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
/home/russ/tempsdk/DronecodeSDK/core/system_impl.cpp: In member function ‘std::pair
/home/russ/tempsdk/DronecodeSDK/core/system_impl.cpp:709:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
/home/russ/tempsdk/DronecodeSDK/core/system_impl.cpp: In member function ‘std::pair
/home/russ/tempsdk/DronecodeSDK/core/system_impl.cpp:732:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
cc1plus: all warnings being treated as errors
make[2]: *** [core/CMakeFiles/dronecode_sdk.dir/system_impl.cpp.o] 错误 1
make[1]: *** [core/CMakeFiles/dronecode_sdk.dir/all] 错误 2
make: *** [all] 错误 2
有没有什么建议??
我来回答
回答1个
时间排序
认可量排序
认可0
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
12023-03-20 11:23:53
-
2015-08-27 10:19:12
-
2020-06-30 15:16:26
-
2016-04-20 16:09:24
-
2024-11-11 17:06:20
-
2017-01-10 16:25:23
-
2020-11-17 14:04:06
-
2017-12-20 15:19:12
-
2015-12-29 16:25:03
-
2018-12-11 09:46:44
-
2020-08-13 14:28:21
-
2020-02-15 18:55:39
-
2023-09-19 11:50:03
-
2024-03-06 15:32:04
-
2018-11-26 14:54:52
-
2019-12-06 12:58:03
-
42016-09-12 16:16:58
-
2018-12-26 18:17:33
-
122019-07-16 16:39:45
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
5Hi3516CV610 如何使用SD卡升级固件
-
5cat /dev/logmpp 报错 <3>[ vi] [func]:vi_send_frame_node [line]:99 [info]:vi pic queue is full!
-
50如何获取vpss chn的图像修改后发送至vo
-
5FPGA通过Bt1120传YUV422数据过来,vi接收不到数据——3516dv500
-
50SS928 运行PQtools 拼接 推到设备里有一半画面会异常
-
53536AV100的sample_vdec输出到CVBS显示
-
10海思板子mpp怎么在vi阶段改变视频数据尺寸
-
10HI3559AV100 多摄像头同步模式
-
9海思ss928单路摄像头vio中加入opencv处理并显示
-
10EB-RV1126-BC-191板子运行自己编码的程序
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认