
Administrator
2025-09-12 08:24:07
要终止并取消开机自启动的 dji_windread.service,可以按照下面步骤操作:
1️⃣ 停止正在运行的服务
sudo systemctl stop dji_windread.service
这会立即停止当前启动的脚本和相关进程。
2️⃣ 禁用开机自启动
sudo systemctl disable dji_windread.service
这样重启系统时不会再自动启动。
3️⃣ (可选)彻底删除服务文件
如果以后完全不需要这个自启动,可以删除配置文件:
sudo rm /etc/systemd/system/dji_windread.service
然后让 systemd 重新加载:
sudo systemctl daemon-reexec
4️⃣ 验证状态
systemctl status dji_windread.service
应该会显示 inactive (dead) 或提示找不到该服务。
✅ 总结
stop:立刻终止运行
disable:取消开机自启
(可选)rm + daemon-reexec:彻底删除服务配置
退学stock心态

Administrator
2025-09-12 08:21:59
nvidia@nvidia-desktop:~$ systemctl status dji_windread.service
● dji_windread.service - Start DJI SDK demo and windread on boot
Loaded: loaded (/etc/systemd/system/dji_windread.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) since Fri 2025-09-12 08:21:11 CST; 4s ago
Process: 24802 ExecStart=/home/nvidia/start_dji_windread.sh (code=exited, status=0/SUCCESS)
Main PID: 24802 (code=exited, status=0/SUCCESS)
nvidia@nvidia-desktop:~$
退学stock心态

Administrator
2025-09-12 08:11:53
你可以通过 systemd 来添加开机自启动,并按照你描述的顺序运行两个程序。下面是完整步骤:
1. 创建启动脚本
在你的主目录下创建一个脚本,例如:
nano ~/start_dji_windread.sh
写入以下内容:
#!/bin/bash
# 启动 DJI 程序
cd /home/nvidia/kfd-test/Payload-SDK-master-0903/build/bin
sudo ./dji_sdk_demo_linux_cxx &
# 等待 5 秒
sleep 5
# 启动 windread
cd /home/nvidia/kfd-test/windread
python3 wind_read.py &
保存后赋予执行权限:
chmod +x ~/start_dji_windread.sh
2. 允许免密 sudo(仅针对 dji 程序)
因为 systemd 在启动时没有图形界面无法输入密码,可以为特定命令配置免密:
sudo visudo
在文件末尾添加一行:
nvidia ALL=(ALL) NOPASSWD: /home/nvidia/kfd-test/Payload-SDK-master-0903/build/bin/dji_sdk_demo_linux_cxx
⚠️ 注意:只针对该二进制文件免密,而不是对所有命令免密,降低风险。
3. 创建 systemd 服务
创建一个新的服务文件:
sudo nano /etc/systemd/system/dji_windread.service
写入以下内容:
[Unit]
Description=Start DJI SDK demo and windread on boot
After=network.target
[Service]
User=nvidia
Group=nvidia
Type=simple
ExecStart=/home/nvidia/start_dji_windread.sh
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target
4. 重新加载并启用服务
sudo systemctl daemon-reexec
sudo systemctl enable dji_windread.service
立即测试:
sudo systemctl start dji_windread.service
查看运行状态:
systemctl status dji_windread.service
5. 验证开机启动
重启系统:
sudo reboot
重启后使用以下命令确认服务是否正在运行:
systemctl status dji_windread.service
✅ 总结
用一个启动脚本封装启动顺序与延时。
用 visudo 为 dji_sdk_demo_linux_cxx 配置免密 sudo。
用 systemd 创建服务,设置为 multi-user.target 下开机自启动。
这种方式安全且可维护,重启后会自动先运行 DJI 程序,再延迟 5 秒启动 windread。
退学stock心态

Administrator
2025-09-12 08:09:11
nvidia@nvidia-desktop:~/kfd-test/Payload-SDK-master-0903/build/bin$ pwd
/home/nvidia/kfd-test/Payload-SDK-master-0903/build/bin
nvidia@nvidia-desktop:~/kfd-test/Payload-SDK-master-0903/build/bin$ sudo ./dji_sdk_demo_linux_cxx
退学stock心态

Administrator
2025-09-12 08:07:18
nvidia@nvidia-desktop:~/kfd-test/Payload-SDK-master-0903/build/bin$ ./dji_sdk_demo_linux_cxx
'Logs/latest.log' -> 'DJI_0015_20250912_08-06-39.log'
[0.027][core]-[Info]-[DjiCore_Init:106) Payload SDK Version : V3.9.1-beta.0-build.2090
chmod: changing permissions of '/dev/ttyTHS1': Operation not permitted
chmod: changing permissions of '/dev/ttyTHS1': Operation not permitted
chmod: changing permissions of '/dev/ttyTHS1': Operation not permitted
退学stock心态

Administrator
2025-09-12 08:05:57
nvidia@nvidia-desktop:~/kfd-test/windread$ pwd
/home/nvidia/kfd-test/windread
nvidia@nvidia-desktop:~/kfd-test/windread$ python wind_read.py
退学stock心态

Administrator
2025-09-12 08:00:37
sudo chown -R nvidia:nvidia ~/kfd-test/Payload-SDK-master-0903/build/bin
退学stock心态

Administrator
2025-09-12 07:57:52
nvidia@nvidia-desktop:~/kfd-test/Payload-SDK-master-0903/build/bin$ ls -l
total 31196
-rw-r--r-- 1 root root 1517658 9月 9 11:36 112808_w.txt
-rw-r--r-- 1 root root 1078627 9月 9 11:45 113744_w.txt
-rw-r--r-- 1 root root 22519 9月 9 12:24 121628_w.txt
-rw-r--r-- 1 root root 1089139 9月 9 12:29 122403_w.txt
-rw-r--r-- 1 root root 1736704 9月 9 12:40 123131_w.txt
-rw-r--r-- 1 root root 5951934 9月 9 15:30 150000_w.txt
-rw-r--r-- 1 root root 560590 9月 4 22:06 201167_w.txt
-rw-r--r-- 1 root root 979982 9月 4 22:12 220606_w.txt
-rw-r--r-- 1 root root 255039 9月 4 22:14 221212_w.txt
-rw-r--r-- 1 root root 3235089 9月 4 22:31 '22126^_w.txt'
-rw-r--r-- 1 root root 8472038 9月 8 22:41 223344_w.txt
-rw-r--r-- 1 root root 301296 9月 8 22:43 223366_w.txt
-rw-r--r-- 1 root root 64881 9月 8 22:44 223388_w.txt
-rwxr-xr-x 1 root root 2722176 9月 4 21:57 dji_sdk_demo_linux
-rwxr-xr-x 1 root root 3918760 9月 4 21:58 dji_sdk_demo_linux_cxx
drwxr-xr-x 2 root root 4096 9月 9 14:43 Logs
nvidia@nvidia-desktop:~/kfd-test/Payload-SDK-master-0903/build/bin$
退学stock心态

Administrator
2025-09-12 07:52:54
sudo chmod -R u+rwX /路径/到/文件夹
退学stock心态

Administrator
2025-09-04 22:01:47
[1.513][linker]-[Warn]-[DjiProtocol_v1Unpack:178) protocol frame crc8 error
退学stock心态

Administrator
2025-09-04 22:01:34
nvidia@nvidia-desktop:~/kfd-test/Payload-SDK-master-0903/build/bin$ sudo ./dji_sdk_demo_linux_cxx
'Logs/latest.log' -> 'DJI_0000_20250904_21-59-47.log'
[0.016][core]-[Info]-[DjiCore_Init:106) Payload SDK Version : V3.9.1-beta.0-build.2090
[1.513][linker]-[Warn]-[DjiProtocol_v1Unpack:178) protocol frame crc8 error
[2.149][utils]-[Info]-[DjiSdkVersionAck_Parse:183) Identify aircraft serial number = 1ZNBL4K00C002X, Firmware = 3.4.18.68
[2.150][adapter]-[Info]-[DjiAccessAdapter_Init:231) Identify aircraft series is Matrice 300 Series
[2.150][adapter]-[Info]-[DjiAccessAdapter_Init:264) Identify mount position type is Extension Port Type
[2.179][adapter]-[Info]-[DjiAccessAdapter_Init:365) Identity uart0 baudrate is 921600 bps
[2.179][adapter]-[Info]-[DjiPayloadNegotiate_Init:147) No need negotiate device info
[3.334][core]-[Info]-[DjiIdentityVerify_UpdatePolicy:474) Updating dji sdk policy file...
[4.334][core]-[Info]-[DjiIdentityVerify_UpdatePolicy:482) Update dji sdk policy file successfully
[4.341][core]-[Info]-[DjiCore_Init:174) Identify AircraftType = Matrice 300 RTK, MountPosition = Extension Port, SdkAdapterType = None
[4.377][gimbal]-[Error]-[DjiGimbal_Init:205) Can't support this function
[4.377][user]-[Error]-[DjiTest_GimbalStartService:154) init gimbal module error: 0x000000E0
[4.377][user]-[Error]-[DjiUser_ApplicationStart:316) psdk gimbal init error
[5.380][user]-[Info]-[SetVolume:580) Set widget speaker volume: 60
[5.380][user]-[Warn]-[SetVolume:598) No audio device found, please add audio device and init speaker volume here!!!
[9.881][core]-[Info]-[DjiCore_ApplicationStart:238) Start dji sdk application
[9.882][user]-[Info]-[DjiUser_ApplicationStart:363) Application start.
[10.403][infor]-[Info]-[DjiAircraftInfo_NotifyMobileAppInfoHandle:715) Set mobile app info, language is Chinese, screen type is Big Screen
退学stock心态

Administrator
2025-09-04 20:12:25
[1922.547][user]-[Info]-[ReceiveDataFromMobile:330) receive data from mobile: 201115, len:6, set filename=999_w.txt.
[1932.628][user]-[Info]-[ReceiveDataFromMobile:330) receive data from mobile: 201115, len:6, set filename=999_w.txt.
[1942.887][user]-[Info]-[ReceiveDataFromMobile:330) receive data from mobile: 201167, len:6, set filename=999_w.txt.
[1944.447][user]-[Info]-[ReceiveDataFromMobile:330) receive data from mobile: 201167, len:6, set filename=999_w.txt.
退学stock心态

Administrator
2025-09-04 19:11:24
:-1.000156,"rtk_yaw":0,"rtk_yaw_info":0,"gps_date":"20250904","gps_time":"110804","compass_x":420,"compass_y":-1190,"compass_z":1794,"quaternion_q0":0.362743,"quaternion_q1":-0.003219,"quaternion_q2":0.000382,"quaternion_q3":0.931884,"pitch":0.36,"roll":-0.09,"yaw":137.47,"psi":0.37,"gps_position_x":1162034710,"gps_position_y":399020613,"gps_position_z":72196,"timestamp":"2025-09-04T11:08:05.089Z"}}{"success":true,"message":"GPS数据保存成功","data":{"id":1709,"device_token":"fpahfh6vt3qd5znqulqx","timestamp_millisecond":"1583755","velocity_x":-0.000353,"velocity_y":-0.001814,"velocity_z":-0.000149,"rtk_velocity_x":-17.855736,"rtk_velocity_y":2.713362,"rtk_velocity_z":-29.28628,"gps_velocity_x":-10,"gps_velocity_y":2,"gps_velocity_z":-2,"acceleration_ground_x":0.001829,"acceleration_ground_y":-0.00696,"acceleration_ground_z":-0.002769,"acceleration_body_x":-0.00607,"acceleration_body_y":0.003889,"acceleration_body_z":-0.002738,"acceleration_raw_x":0.019847,"acceleration_raw_y":-0.003158,"acceleration_raw_z":-0.999037,"rtk_yaw":0,"rtk_yaw_info":0,"gps_date":"20250904","gps_time":"110805","compass_x":420,"compass_y":-1185,"compass_z":1794,"quaternion_q0":0.362659,"quaternion_q1":-0.003223,"quaternion_q2":0.000396,"quaternion_q3":0.931916,"pitch":0.36,"roll":-0.09,"yaw":137.48,"psi":0.37,"gps_position_x":1162034700,"gps_position_y":399020631,"gps_position_z":72191,"timestamp":"2025-09-04T11:08:06.106Z"}}[342.406][user]-[Error]-[UserFcSubscription_Task:572) post gps json failed
[343.409][user]-[Error]-[UserFcSubscription_Task:572) post gps json failed
[344.411][user]-[Error]-[UserFcSubscription_Task:572) post gps json failed
[345.414][user]-[Error]-[UserFcSubscription_Task:572) post gps json failed
[346.416][user]-[Error]-[UserFcSubscription_Task:572) post gps json failed
{"success":true,"message":"GPS数据保存成功","data":{"id":1715,"device_token":"fpahfh6vt3qd5znqulqx","timestamp_millisecond":"1589755","velocity_x":-0.00043,"velocity_y":-0.002432,"velocity_z":-0.000144,"rtk_velocity_x":-17.855736,"rtk_velocity_y":2.713362,"rtk_velocity_z":-29.28628,"gps_velocity_x":-5,"gps_velocity_y":0,"gps_velocity_z":-2,"acceleration_ground_x":0.001048,"acceleration_ground_y":-0.007453,"acceleration_ground_z":0.002908,"acceleration_body_x":-0.005791,"acceleration_body_y":0.004789,"acceleration_body_z":0.002937,"acceleration_raw_x":0.018975,"acceleration_raw_y":-0.002993,"acceleration_raw_z":-0.999731,"rtk_yaw":0,"rtk_yaw_info":0,"gps_date":"20250904","gps_time":"110811","compass_x":420,"compass_y":-1185,"compass_z":1794,"quaternion_q0":0.362577,"quaternion_q1":-0.003247,"quaternion_q2":0.000412,"quaternion_q3":0.931948,"pitch":0.36,"roll":-0.09,"yaw":137.49,"psi":0.38,"gps_position_x":1162034718,"gps_position_y":399020668,"gps_position_z":72139,"timestamp":"2025-09-04T11:08:12.159Z"}}[348.427][user]-[Error]-[UserFcSubscription_Task:572) post gps json failed
{"success":true,"message":"GPS数据保存成功","data":{"id":1717,"device_token":"fpahfh6vt3qd5znqulqx","timestamp_millisecond":"1591755","velocity_x":-0.001355,"velocity_y":-0.001423,"velocity_z":-0.000885,"rtk_velocity_x":-17.855736,"rtk_velocity_y":2.713362,"rtk_velocity_z":-29.28628,"gps_velocity_x":-5,"gps_velocity_y":0,"gps_velocity_z":-2,"acceleration_ground_x":-0.00541,"acceleration_ground_y":-0.006765,"acceleration_ground_z":0.012946,"acceleration_body_x":-0.000507,"acceleration_body_y":0.008663,"acceleration_body_z":0.012936,"acceleration_raw_x":0.01922,"acceleration_raw_y":-0.003316,"acceleration_raw_z":-1.000673,"rtk_yaw":0,"rtk_yaw_info":0,"gps_date":"20250904","gps_time":"110813","compass_x":420,"compass_y":-1185,"compass_z":1790,"quaternion_q0":0.362591,"quaternion_q1":-0.003112,"quaternion_q2":0.000348,"quaternion_q3":0.931943,"pitch":0.35,"roll":-0.09,"yaw":137.49,"psi":0.36,"gps_position_x":1162034701,"gps_position_y":399020695,"gps_position_z":72060,"timestamp":"2025-09-04T11:08:14.166Z"}}
退学stock心态

Administrator
2025-09-04 18:54:08
[71.861][infor]-[Info]-[DjiAircraftInfo_NotifyMobileAppInfoHandle:715) Set mobile app info, language is Chinese, screen type is Big Screen
[96.164][user]-[Info]-[ReceiveDataFromMobile:330) receive data from mobile: 688, len:3, set filename=688_w.txt.
[105.428][user]-[Info]-[DjiTestWidget_SetWidgetValue:310) Set widget value, widgetType = Button, widgetIndex = 4 ,widgetValue = 1
[105.508][user]-[Info]-[DjiTestWidget_SetWidgetValue:310) Set widget value, widgetType = Button, widgetIndex = 4 ,widgetValue = 0
[105.972][user]-[Info]-[DjiTest_WidgetInteractionTask:276) --------------------------------------------------------------------------------------------->
[105.972][user]-[Info]-[DjiTest_FcSubscriptionStartService:83) Fc subscription Task start
[105.972][user]-[Info]-[DjiTest_FcSubscriptionStartService:85) --> Step 1: Init fc subscription module
[105.972][user]-[Info]-[DjiTest_FcSubscriptionStartService:92) --> Step 2: Subscribe the topics
[106.484][user]-[Info]-[DjiTest_WidgetInteractionTask:293) --------------------------------------------------------------------------------------------->
[106.484][user]-[Info]-[UserFcSubscription_Task:279) --> Step 3: Get latest value of the subscribed topics&save to logfile
{"success":true,"message":"GPS数据保存成功","data":{"id":1462,"device_token":"fpahfh6vt3qd5znqulqx","timestamp_millisecond":null,"velocity_x":"-0.003217","velocity_y":"0.000775","velocity_z":"0.000713","rtk_velocity_x":null,"rtk_velocity_y":null,"rtk_velocity_z":null,"gps_velocity_x":null,"gps_velocity_y":null,"gps_velocity_z":null,"acceleration_ground_x":"-0.016982","acceleration_ground_y":"0.004721","acceleration_ground_z":"-0.000215","acceleration_body_x":"0.015767","acceleration_body_y":"0.007875","acceleration_body_z":"-0.000313","acceleration_raw_x":"0.020231","acceleration_raw_y":"-0.003329","acceleration_raw_z":"-0.999826","rtk_yaw":null,"rtk_yaw_info":null,"gps_date":null,"gps_time":null,"compass_x":420,"compass_y":-1185,"compass_z":1799,"quaternion_q0":"0.358984","quaternion_q1":"-0.002816","quaternion_q2":"0.000201","quaternion_q3":"0.933339","pitch":"0.3100","roll":"-0.0900","yaw":"137.9300","psi":"0.3200","gps_position_x":null,"gps_position_y":null,"gps_position_z":null,"timestamp":"2025-09-04T10:50:35.109Z"}}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}[155.283][user]-[Error]-[UserFcSubscription_Task:572) post gps json failed
{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失败","error":"数字字段溢出"}{"success":false,"message":"保存GPS数据失��^C
退学stock心态

Administrator
2025-09-04 18:12:55
nvidia@nvidia-desktop:~/kfd-test/windread$ python wind_read.py
020306002DD9213F27A33F
020306002A2D243F21B4CC
020306002B000000001183
020306002B000000001183
020306002B000000001183
❌ 网络错误: HTTPConnectionPool(host='127.0.0.1', port=3001): Max retries exceeded with url: /api/wind-data (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fac02adc0>: Failed to establish a new connection: [Errno 111] Connection refused'))
020306002B000000001183
020306002B000000001183
020306002AD0EE3F8064E6
退学stock心态

Administrator
2025-09-04 18:10:21
ls /dev/tty*
退学stock心态

Administrator
2025-09-04 17:30:33
nvidia@nvidia-desktop:~/kfd-test/windread$ python wind_read.py
Traceback (most recent call last):
File "wind_read.py", line 25, in <module>
ser = serial.Serial(port, baud_rate, timeout=0)
File "/home/nvidia/anaconda3/lib/python3.8/site-packages/serial/serialutil.py", line 244, in __init__
self.open()
File "/home/nvidia/anaconda3/lib/python3.8/site-packages/serial/serialposix.py", line 336, in open
self._update_dtr_state()
File "/home/nvidia/anaconda3/lib/python3.8/site-packages/serial/serialposix.py", line 713, in _update_dtr_state
fcntl.ioctl(self.fd, TIOCMBIS, TIOCM_DTR_str)
BrokenPipeError: [Errno 32] Broken pipe
退学stock心态

Administrator
2025-09-04 17:13:27
C:\kfd\SDS\Payload-SDK-master-0903\samples\sample_c++\platform\linux\manifold2
退学stock心态

Administrator
2025-09-04 17:11:04
C:\kfd\SDS\Payload-SDK-master-0903\samples\sample_c\platform\linux\manifold2
退学stock心态

Administrator
2025-09-04 17:02:57
cd ~/kfd-test/Payload-SDK-master-0903/build
rm -f CMakeCache.txt
export LDFLAGS="-lcurl"
sudo -E cmake ..
sudo -E make -j$(nproc)
退学stock心态

Administrator
2025-09-04 17:00:50
[ 87%] Building CXX object samples/sample_c++/platform/linux/manifold2/CMakeFiles/dji_sdk_demo_linux_cxx.dir/__/__/__/module_sample/gimbal/test_gimbal_entry.cpp.o
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
CMake Deprecation Warning at samples/sample_c/platform/linux/manifold2/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
-- Found OPUS installed in the system
-- - Includes: /usr/local/include/opus
-- - Libraries: /usr/local/lib/libopus.so
-- Found LIBUSB installed in the system
-- - Includes: /usr/include/libusb-1.0
-- - Libraries: /usr/lib/aarch64-linux-gnu/libusb-1.0.so
CMake Deprecation Warning at samples/sample_c++/platform/linux/manifold2/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
[ 87%] Building CXX object samples/sample_c++/platform/linux/manifold2/CMakeFiles/dji_sdk_demo_linux_cxx.dir/__/__/__/module_sample/hms_manager/hms_manager_entry.cpp.o
CMake Warning (dev) at /usr/lib/aarch64-linux-gnu/cmake/opencv4/OpenCVConfig.cmake:86 (find_package):
Policy CMP0146 is not set: The FindCUDA module is removed. Run "cmake
--help-policy CMP0146" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
Call Stack (most recent call first):
/usr/lib/aarch64-linux-gnu/cmake/opencv4/OpenCVConfig.cmake:108 (find_host_package)
samples/sample_c++/platform/linux/manifold2/CMakeLists.txt:67 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
dji_sdk_demo_linux_cxx...
-- Found OpenCV installed in the system, will use it to display image in AdvancedSensing APIs
-- - Includes: /usr/include/opencv4
-- - Libraries: opencv_calib3d;opencv_core;opencv_dnn;opencv_features2d;opencv_flann;opencv_highgui;opencv_imgcodecs;opencv_imgproc;opencv_ml;opencv_objdetect;opencv_photo;opencv_stitching;opencv_video;opencv_videoio;opencv_alphamat;opencv_aruco;opencv_bgsegm;opencv_bioinspired;opencv_ccalib;opencv_cudaarithm;opencv_cudabgsegm;opencv_cudacodec;opencv_cudafeatures2d;opencv_cudafilters;opencv_cudaimgproc;opencv_cudalegacy;opencv_cudaobjdetect;opencv_cudaoptflow;opencv_cudastereo;opencv_cudawarping;opencv_cudev;opencv_datasets;opencv_dnn_objdetect;opencv_dnn_superres;opencv_dpm;opencv_face;opencv_freetype;opencv_fuzzy;opencv_hdf;opencv_hfs;opencv_img_hash;opencv_intensity_transform;opencv_line_descriptor;opencv_mcc;opencv_optflow;opencv_phase_unwrapping;opencv_plot;opencv_quality;opencv_rapid;opencv_reg;opencv_rgbd;opencv_saliency;opencv_sfm;opencv_shape;opencv_stereo;opencv_structured_light;opencv_superres;opencv_surface_matching;opencv_text;opencv_tracking;opencv_videostab;opencv_xfeatures2d;opencv_ximgproc;opencv_xobjdetect;opencv_xphoto
-- Found FFMPEG installed in the system
-- - Includes: /usr/include/aarch64-linux-gnu
-- - Libraries: /usr/lib/aarch64-linux-gnu/libavcodec.so;/usr/lib/aarch64-linux-gnu/libavformat.so;/usr/lib/aarch64-linux-gnu/libavutil.so;/usr/lib/aarch64-linux-gnu/libswscale.so;/usr/lib/aarch64-linux-gnu/libvorbis.so;/usr/lib/aarch64-linux-gnu/libvorbisenc.so;/usr/lib/aarch64-linux-gnu/libtheora.so;/usr/lib/aarch64-linux-gnu/libz.so
-- - Version: 3.4.11-0ubuntu0.1
-- Found OPUS installed in the system
-- - Includes: /usr/local/include/opus
-- - Libraries: /usr/local/lib/libopus.so
-- Found LIBUSB installed in the system
-- - Includes: /usr/include/libusb-1.0
-- - Libraries: /usr/lib/aarch64-linux-gnu/libusb-1.0.so
-- Configuring done (0.6s)
[ 88%] Building CXX object samples/sample_c++/platform/linux/manifold2/CMakeFiles/dji_sdk_demo_linux_cxx.dir/__/__/__/module_sample/liveview/dji_camera_image_handler.cpp.o
-- Generating done (0.2s)
-- Build files have been written to: /home/nvidia/kfd-test/Payload-SDK-master-0903/build
[ 89%] Building CXX object samples/sample_c++/platform/linux/manifold2/CMakeFiles/dji_sdk_demo_linux_cxx.dir/__/__/__/module_sample/liveview/dji_camera_stream_decoder.cpp.o
[ 90%] Building CXX object samples/sample_c++/platform/linux/manifold2/CMakeFiles/dji_sdk_demo_linux_cxx.dir/__/__/__/module_sample/liveview/test_liveview.cpp.o
[ 91%] Building CXX object samples/sample_c++/platform/linux/manifold2/CMakeFiles/dji_sdk_demo_linux_cxx.dir/__/__/__/module_sample/liveview/test_liveview_entry.cpp.o
CMakeFiles/dji_sdk_demo_linux.dir/__/__/__/module_sample/fc_subscription/test_fc_subscription.c.o: In function `PostJson':
test_fc_subscription.c:(.text+0xfc): undefined reference to `curl_easy_init'
test_fc_subscription.c:(.text+0x12c): undefined reference to `curl_slist_append'
test_fc_subscription.c:(.text+0x14c): undefined reference to `curl_easy_setopt'
test_fc_subscription.c:(.text+0x168): undefined reference to `curl_easy_setopt'
test_fc_subscription.c:(.text+0x184): undefined reference to `curl_easy_setopt'
test_fc_subscription.c:(.text+0x1a0): undefined reference to `curl_easy_setopt'
test_fc_subscription.c:(.text+0x1a8): undefined reference to `curl_easy_perform'
test_fc_subscription.c:(.text+0x1b4): undefined reference to `curl_slist_free_all'
test_fc_subscription.c:(.text+0x1bc): undefined reference to `curl_easy_cleanup'
collect2: error: ld returned 1 exit status
samples/sample_c/platform/linux/manifold2/CMakeFiles/dji_sdk_demo_linux.dir/build.make:853: recipe for target 'bin/dji_sdk_demo_linux' failed
make[2]: *** [bin/dji_sdk_demo_linux] Error 1
CMakeFiles/Makefile2:163: recipe for target 'samples/sample_c/platform/linux/manifold2/CMakeFiles/dji_sdk_demo_linux.dir/all' failed
make[1]: *** [samples/sample_c/platform/linux/manifold2/CMakeFiles/dji_sdk_demo_linux.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 92%] Building CXX object samples/sample_c++/platform/linux/manifold2/CMakeFiles/dji_sdk_demo_linux_cxx.dir/__/__/__/module_sample/perception/test_perception.cpp.o
[ 93%] Building CXX object samples/sample_c++/platform/linux/manifold2/CMakeFiles/dji_sdk_demo_linux_cxx.dir/__/__/__/module_sample/perception/test_perception_entry.cpp.o
/home/nvidia/kfd-test/Payload-SDK-master-0903/samples/sample_c++/module_sample/liveview/dji_camera_stream_decoder.cpp: In member function ‘void DJICameraStreamDecoder::decodeBuffer(const uint8_t*, int)’:
/home/nvidia/kfd-test/Payload-SDK-master-0903/samples/sample_c++/module_sample/liveview/dji_camera_stream_decoder.cpp:210:74: warning: ‘int avcodec_decode_video2(AVCodecContext*, AVFrame*, int*, const AVPacket*)’ is deprecated [-Wdeprecated-declarations]
avcodec_decode_video2(pCodecCtx, pFrameYUV, &gotPicture, &pkt);
^
In file included from /home/nvidia/kfd-test/Payload-SDK-master-0903/samples/sample_c++/module_sample/liveview/dji_camera_stream_decoder.hpp:33:0,
from /home/nvidia/kfd-test/Payload-SDK-master-0903/samples/sample_c++/module_sample/liveview/dji_camera_stream_decoder.cpp:26:
/usr/include/aarch64-linux-gnu/libavcodec/avcodec.h:4993:5: note: declared here
int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
^~~~~~~~~~~~~~~~~~~~~
/home/nvidia/kfd-test/Payload-SDK-master-0903/samples/sample_c++/module_sample/liveview/dji_camera_stream_decoder.cpp:227:72: warning: ‘int avpicture_get_size(AVPixelFormat, int, int)’ is deprecated [-Wdeprecated-declarations]
bufSize = avpicture_get_size(AV_PIX_FMT_RGB24, w, h);
^
In file included from /home/nvidia/kfd-test/Payload-SDK-master-0903/samples/sample_c++/module_sample/liveview/dji_camera_stream_decoder.hpp:33:0,
from /home/nvidia/kfd-test/Payload-SDK-master-0903/samples/sample_c++/module_sample/liveview/dji_camera_stream_decoder.cpp:26:
/usr/include/aarch64-linux-gnu/libavcodec/avcodec.h:5653:5: note: declared here
int avpicture_get_size(enum AVPixelFormat pix_fmt, int width, int height);
^~~~~~~~~~~~~~~~~~
/home/nvidia/kfd-test/Payload-SDK-master-0903/samples/sample_c++/module_sample/liveview/dji_camera_stream_decoder.cpp:229:91: warning: ‘int avpicture_fill(AVPicture*, const uint8_t*, AVPixelFormat, int, int)’ is deprecated [-Wdeprecated-declarations]
avpicture_fill((AVPicture *) pFrameRGB, rgbBuf, AV_PIX_FMT_RGB24, w, h);
^
In file included from /home/nvidia/kfd-test/Payload-SDK-master-0903/samples/sample_c++/module_sample/liveview/dji_camera_stream_decoder.hpp:33:0,
from /home/nvidia/kfd-test/Payload-SDK-master-0903/samples/sample_c++/module_sample/liveview/dji_camera_stream_decoder.cpp:26:
/usr/include/aarch64-linux-gnu/libavcodec/avcodec.h:5638:5: note: declared here
int avpicture_fill(AVPicture *picture, const uint8_t *ptr,
^~~~~~~~~~~~~~
/home/nvidia/kfd-test/Payload-SDK-master-0903/samples/sample_c++/module_sample/liveview/dji_camera_stream_decoder.cpp:246:24: warning: ‘void av_free_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
av_free_packet(&pkt);
^
In file included from /home/nvidia/kfd-test/Payload-SDK-master-0903/samples/sample_c++/module_sample/liveview/dji_camera_stream_decoder.hpp:33:0,
from /home/nvidia/kfd-test/Payload-SDK-master-0903/samples/sample_c++/module_sample/liveview/dji_camera_stream_decoder.cpp:26:
/usr/include/aarch64-linux-gnu/libavcodec/avcodec.h:4650:6: note: declared here
void av_free_packet(AVPacket *pkt);
^~~~~~~~~~~~~~
[ 94%] Building C object samples/sample_c++/platform/linux/manifold2/CMakeFiles/dji_sdk_demo_linux_cxx.dir/__/common/osal/osal.c.o
[ 95%] Building C object samples/sample_c++/platform/linux/manifold2/CMakeFiles/dji_sdk_demo_linux_cxx.dir/__/common/osal/osal_fs.c.o
[ 96%] Building C object samples/sample_c++/platform/linux/manifold2/CMakeFiles/dji_sdk_demo_linux_cxx.dir/__/common/osal/osal_socket.c.o
[ 97%] Building C object samples/sample_c++/platform/linux/manifold2/CMakeFiles/dji_sdk_demo_linux_cxx.dir/hal/hal_network.c.o
[ 98%] Building C object samples/sample_c++/platform/linux/manifold2/CMakeFiles/dji_sdk_demo_linux_cxx.dir/hal/hal_uart.c.o
[ 99%] Building C object samples/sample_c++/platform/linux/manifold2/CMakeFiles/dji_sdk_demo_linux_cxx.dir/hal/hal_usb_bulk.c.o
/home/nvidia/kfd-test/Payload-SDK-master-0903/samples/sample_c++/platform/linux/manifold2/hal/hal_usb_bulk.c: In function ‘HalUsbBulk_Init’:
/home/nvidia/kfd-test/Payload-SDK-master-0903/samples/sample_c++/platform/linux/manifold2/hal/hal_usb_bulk.c:102:67: warning: ‘/ep1’ directive output may be truncated writing 4 bytes into a region of size between 1 and 64 [-Wformat-truncation=]
snprintf(usbBulk1EpOutFd, sizeof(usbBulk1EpOutFd), "%s/ep1",
^~~~
/home/nvidia/kfd-test/Payload-SDK-master-0903/samples/sample_c++/platform/linux/manifold2/hal/hal_usb_bulk.c:102:13: note: ‘snprintf’ output between 5 and 68 bytes into a destination of size 64
snprintf(usbBulk1EpOutFd, sizeof(usbBulk1EpOutFd), "%s/ep1",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
linkConfig.usbBulkConfig.usbBulk1DeviceName);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/nvidia/kfd-test/Payload-SDK-master-0903/samples/sample_c++/platform/linux/manifold2/hal/hal_usb_bulk.c:104:65: warning: ‘/ep2’ directive output may be truncated writing 4 bytes into a region of size between 1 and 64 [-Wformat-truncation=]
snprintf(usbBulk1EpInFd, sizeof(usbBulk1EpInFd), "%s/ep2",
^~~~
/home/nvidia/kfd-test/Payload-SDK-master-0903/samples/sample_c++/platform/linux/manifold2/hal/hal_usb_bulk.c:104:13: note: ‘snprintf’ output between 5 and 68 bytes into a destination of size 64
snprintf(usbBulk1EpInFd, sizeof(usbBulk1EpInFd), "%s/ep2",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
linkConfig.usbBulkConfig.usbBulk1DeviceName);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/nvidia/kfd-test/Payload-SDK-master-0903/samples/sample_c++/platform/linux/manifold2/hal/hal_usb_bulk.c:106:67: warning: ‘/ep1’ directive output may be truncated writing 4 bytes into a region of size between 1 and 64 [-Wformat-truncation=]
snprintf(usbBulk2EpOutFd, sizeof(usbBulk2EpOutFd), "%s/ep1",
^~~~
/home/nvidia/kfd-test/Payload-SDK-master-0903/samples/sample_c++/platform/linux/manifold2/hal/hal_usb_bulk.c:106:13: note: ‘snprintf’ output between 5 and 68 bytes into a destination of size 64
snprintf(usbBulk2EpOutFd, sizeof(usbBulk2EpOutFd), "%s/ep1",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
linkConfig.usbBulkConfig.usbBulk2DeviceName);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/nvidia/kfd-test/Payload-SDK-master-0903/samples/sample_c++/platform/linux/manifold2/hal/hal_usb_bulk.c:108:65: warning: ‘/ep2’ directive output may be truncated writing 4 bytes into a region of size between 1 and 64 [-Wformat-truncation=]
snprintf(usbBulk2EpInFd, sizeof(usbBulk2EpInFd), "%s/ep2",
^~~~
/home/nvidia/kfd-test/Payload-SDK-master-0903/samples/sample_c++/platform/linux/manifold2/hal/hal_usb_bulk.c:108:13: note: ‘snprintf’ output between 5 and 68 bytes into a destination of size 64
snprintf(usbBulk2EpInFd, sizeof(usbBulk2EpInFd), "%s/ep2",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
linkConfig.usbBulkConfig.usbBulk2DeviceName);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[100%] Linking CXX executable ../../../../../bin/dji_sdk_demo_linux_cxx
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
CMake Deprecation Warning at samples/sample_c/platform/linux/manifold2/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
-- Found OPUS installed in the system
-- - Includes: /usr/local/include/opus
-- - Libraries: /usr/local/lib/libopus.so
-- Found LIBUSB installed in the system
-- - Includes: /usr/include/libusb-1.0
-- - Libraries: /usr/lib/aarch64-linux-gnu/libusb-1.0.so
CMake Deprecation Warning at samples/sample_c++/platform/linux/manifold2/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
CMake Warning (dev) at /usr/lib/aarch64-linux-gnu/cmake/opencv4/OpenCVConfig.cmake:86 (find_package):
Policy CMP0146 is not set: The FindCUDA module is removed. Run "cmake
--help-policy CMP0146" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
Call Stack (most recent call first):
/usr/lib/aarch64-linux-gnu/cmake/opencv4/OpenCVConfig.cmake:108 (find_host_package)
samples/sample_c++/platform/linux/manifold2/CMakeLists.txt:67 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
dji_sdk_demo_linux_cxx...
-- Found OpenCV installed in the system, will use it to display image in AdvancedSensing APIs
-- - Includes: /usr/include/opencv4
-- - Libraries: opencv_calib3d;opencv_core;opencv_dnn;opencv_features2d;opencv_flann;opencv_highgui;opencv_imgcodecs;opencv_imgproc;opencv_ml;opencv_objdetect;opencv_photo;opencv_stitching;opencv_video;opencv_videoio;opencv_alphamat;opencv_aruco;opencv_bgsegm;opencv_bioinspired;opencv_ccalib;opencv_cudaarithm;opencv_cudabgsegm;opencv_cudacodec;opencv_cudafeatures2d;opencv_cudafilters;opencv_cudaimgproc;opencv_cudalegacy;opencv_cudaobjdetect;opencv_cudaoptflow;opencv_cudastereo;opencv_cudawarping;opencv_cudev;opencv_datasets;opencv_dnn_objdetect;opencv_dnn_superres;opencv_dpm;opencv_face;opencv_freetype;opencv_fuzzy;opencv_hdf;opencv_hfs;opencv_img_hash;opencv_intensity_transform;opencv_line_descriptor;opencv_mcc;opencv_optflow;opencv_phase_unwrapping;opencv_plot;opencv_quality;opencv_rapid;opencv_reg;opencv_rgbd;opencv_saliency;opencv_sfm;opencv_shape;opencv_stereo;opencv_structured_light;opencv_superres;opencv_surface_matching;opencv_text;opencv_tracking;opencv_videostab;opencv_xfeatures2d;opencv_ximgproc;opencv_xobjdetect;opencv_xphoto
-- Found FFMPEG installed in the system
-- - Includes: /usr/include/aarch64-linux-gnu
-- - Libraries: /usr/lib/aarch64-linux-gnu/libavcodec.so;/usr/lib/aarch64-linux-gnu/libavformat.so;/usr/lib/aarch64-linux-gnu/libavutil.so;/usr/lib/aarch64-linux-gnu/libswscale.so;/usr/lib/aarch64-linux-gnu/libvorbis.so;/usr/lib/aarch64-linux-gnu/libvorbisenc.so;/usr/lib/aarch64-linux-gnu/libtheora.so;/usr/lib/aarch64-linux-gnu/libz.so
-- - Version: 3.4.11-0ubuntu0.1
-- Found OPUS installed in the system
-- - Includes: /usr/local/include/opus
-- - Libraries: /usr/local/lib/libopus.so
-- Found LIBUSB installed in the system
-- - Includes: /usr/include/libusb-1.0
-- - Libraries: /usr/lib/aarch64-linux-gnu/libusb-1.0.so
-- Configuring done (0.9s)
-- Generating done (0.2s)
-- Build files have been written to: /home/nvidia/kfd-test/Payload-SDK-master-0903/build
CMakeFiles/dji_sdk_demo_linux_cxx.dir/__/__/__/__/sample_c/module_sample/fc_subscription/test_fc_subscription.c.o: In function `PostJson':
test_fc_subscription.c:(.text+0xfc): undefined reference to `curl_easy_init'
test_fc_subscription.c:(.text+0x12c): undefined reference to `curl_slist_append'
test_fc_subscription.c:(.text+0x14c): undefined reference to `curl_easy_setopt'
test_fc_subscription.c:(.text+0x168): undefined reference to `curl_easy_setopt'
test_fc_subscription.c:(.text+0x184): undefined reference to `curl_easy_setopt'
test_fc_subscription.c:(.text+0x1a0): undefined reference to `curl_easy_setopt'
test_fc_subscription.c:(.text+0x1a8): undefined reference to `curl_easy_perform'
test_fc_subscription.c:(.text+0x1b4): undefined reference to `curl_slist_free_all'
test_fc_subscription.c:(.text+0x1bc): undefined reference to `curl_easy_cleanup'
collect2: error: ld returned 1 exit status
samples/sample_c++/platform/linux/manifold2/CMakeFiles/dji_sdk_demo_linux_cxx.dir/build.make:1086: recipe for target 'bin/dji_sdk_demo_linux_cxx' failed
make[2]: *** [bin/dji_sdk_demo_linux_cxx] Error 1
CMakeFiles/Makefile2:195: recipe for target 'samples/sample_c++/platform/linux/manifold2/CMakeFiles/dji_sdk_demo_linux_cxx.dir/all' failed
make[1]: *** [samples/sample_c++/platform/linux/manifold2/CMakeFiles/dji_sdk_demo_linux_cxx.dir/all] Error 2
Makefile:135: recipe for target 'all' failed
make: *** [all] Error 2
nvidia@nvidia-desktop:~/kfd-test/Payload-SDK-master-0903/build$
退学stock心态

Administrator
2025-09-04 16:57:46
cd ~/kfd-test/Payload-SDK-master-0903/build
rm -f CMakeCache.txt
sudo cmake .. -DCMAKE_EXE_LINKER_FLAGS="-lcurl"
sudo make -j$(nproc)
退学stock心态

Administrator
2025-09-04 16:56:27
nvidia@nvidia-desktop:~/kfd-test/Payload-SDK-master-0903/build$ sudo apt-get install -y libcurl4 libcurl4-openssl-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libcurl4 is already the newest version (7.58.0-2ubuntu3).
libcurl4 set to manually installed.
libcurl4-openssl-dev is already the newest version (7.58.0-2ubuntu3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
nvidia@nvidia-desktop:~/kfd-test/Payload-SDK-master-0903/build$
退学stock心态

Administrator
2025-09-04 16:54:31
sudo apt-get update --fix-missing
sudo apt-get install -y libcurl4 libcurl4-openssl-dev
退学stock心态

Administrator
2025-09-04 16:49:16
[ 44%] Building C object samples/sample_c/platform/linux/manifold2/CMakeFiles/dji_sdk_demo_linux.dir/hal/hal_usb_bulk.c.o
[ 45%] Linking C executable ../../../../../bin/dji_sdk_demo_linux
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
CMake Deprecation Warning at samples/sample_c/platform/linux/manifold2/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
-- Found OPUS installed in the system
-- - Includes: /usr/local/include/opus
-- - Libraries: /usr/local/lib/libopus.so
-- Found LIBUSB installed in the system
-- - Includes: /usr/include/libusb-1.0
-- - Libraries: /usr/lib/aarch64-linux-gnu/libusb-1.0.so
CMake Deprecation Warning at samples/sample_c++/platform/linux/manifold2/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
CMake Warning (dev) at /usr/lib/aarch64-linux-gnu/cmake/opencv4/OpenCVConfig.cmake:86 (find_package):
Policy CMP0146 is not set: The FindCUDA module is removed. Run "cmake
--help-policy CMP0146" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
Call Stack (most recent call first):
/usr/lib/aarch64-linux-gnu/cmake/opencv4/OpenCVConfig.cmake:108 (find_host_package)
samples/sample_c++/platform/linux/manifold2/CMakeLists.txt:67 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
dji_sdk_demo_linux_cxx...
-- Found OpenCV installed in the system, will use it to display image in AdvancedSensing APIs
-- - Includes: /usr/include/opencv4
-- - Libraries: opencv_calib3d;opencv_core;opencv_dnn;opencv_features2d;opencv_flann;opencv_highgui;opencv_imgcodecs;opencv_imgproc;opencv_ml;opencv_objdetect;opencv_photo;opencv_stitching;opencv_video;opencv_videoio;opencv_alphamat;opencv_aruco;opencv_bgsegm;opencv_bioinspired;opencv_ccalib;opencv_cudaarithm;opencv_cudabgsegm;opencv_cudacodec;opencv_cudafeatures2d;opencv_cudafilters;opencv_cudaimgproc;opencv_cudalegacy;opencv_cudaobjdetect;opencv_cudaoptflow;opencv_cudastereo;opencv_cudawarping;opencv_cudev;opencv_datasets;opencv_dnn_objdetect;opencv_dnn_superres;opencv_dpm;opencv_face;opencv_freetype;opencv_fuzzy;opencv_hdf;opencv_hfs;opencv_img_hash;opencv_intensity_transform;opencv_line_descriptor;opencv_mcc;opencv_optflow;opencv_phase_unwrapping;opencv_plot;opencv_quality;opencv_rapid;opencv_reg;opencv_rgbd;opencv_saliency;opencv_sfm;opencv_shape;opencv_stereo;opencv_structured_light;opencv_superres;opencv_surface_matching;opencv_text;opencv_tracking;opencv_videostab;opencv_xfeatures2d;opencv_ximgproc;opencv_xobjdetect;opencv_xphoto
-- Found FFMPEG installed in the system
-- - Includes: /usr/include/aarch64-linux-gnu
-- - Libraries: /usr/lib/aarch64-linux-gnu/libavcodec.so;/usr/lib/aarch64-linux-gnu/libavformat.so;/usr/lib/aarch64-linux-gnu/libavutil.so;/usr/lib/aarch64-linux-gnu/libswscale.so;/usr/lib/aarch64-linux-gnu/libvorbis.so;/usr/lib/aarch64-linux-gnu/libvorbisenc.so;/usr/lib/aarch64-linux-gnu/libtheora.so;/usr/lib/aarch64-linux-gnu/libz.so
-- - Version: 3.4.11-0ubuntu0.1
-- Found OPUS installed in the system
-- - Includes: /usr/local/include/opus
-- - Libraries: /usr/local/lib/libopus.so
-- Found LIBUSB installed in the system
-- - Includes: /usr/include/libusb-1.0
-- - Libraries: /usr/lib/aarch64-linux-gnu/libusb-1.0.so
-- Configuring done (0.4s)
-- Generating done (0.2s)
-- Build files have been written to: /home/nvidia/kfd-test/Payload-SDK-master-0903/build
CMakeFiles/dji_sdk_demo_linux.dir/__/__/__/module_sample/fc_subscription/test_fc_subscription.c.o: In function `PostJson':
test_fc_subscription.c:(.text+0xfc): undefined reference to `curl_easy_init'
test_fc_subscription.c:(.text+0x12c): undefined reference to `curl_slist_append'
test_fc_subscription.c:(.text+0x14c): undefined reference to `curl_easy_setopt'
test_fc_subscription.c:(.text+0x168): undefined reference to `curl_easy_setopt'
test_fc_subscription.c:(.text+0x184): undefined reference to `curl_easy_setopt'
test_fc_subscription.c:(.text+0x1a0): undefined reference to `curl_easy_setopt'
test_fc_subscription.c:(.text+0x1a8): undefined reference to `curl_easy_perform'
test_fc_subscription.c:(.text+0x1b4): undefined reference to `curl_slist_free_all'
test_fc_subscription.c:(.text+0x1bc): undefined reference to `curl_easy_cleanup'
collect2: error: ld returned 1 exit status
samples/sample_c/platform/linux/manifold2/CMakeFiles/dji_sdk_demo_linux.dir/build.make:853: recipe for target 'bin/dji_sdk_demo_linux' failed
make[2]: *** [bin/dji_sdk_demo_linux] Error 1
CMakeFiles/Makefile2:163: recipe for target 'samples/sample_c/platform/linux/manifold2/CMakeFiles/dji_sdk_demo_linux.dir/all' failed
make[1]: *** [samples/sample_c/platform/linux/manifold2/CMakeFiles/dji_sdk_demo_linux.dir/all] Error 2
Makefile:135: recipe for target 'all' failed
make: *** [all] Error 2
nvidia@nvidia-desktop:~/kfd-test/Payload-SDK-master-0903/build$
退学stock心态

Administrator
2025-09-04 16:40:44
/home/nvidia/kfd-test/Payload-SDK-master-0903/samples/sample_c/module_sample/fc_subscription/test_fc_subscription.c: In function ‘UserFcSubscription_Task’:
/home/nvidia/kfd-test/Payload-SDK-master-0903/samples/sample_c/module_sample/fc_subscription/test_fc_subscription.c:283:36: error: invalid application of ‘sizeof’ to incomplete type ‘char[]’
snprintf(g_fileName, sizeof(g_fileName), "fc_data_%llu.txt", (unsigned long long)time(NULL));
^
samples/sample_c/platform/linux/manifold2/CMakeFiles/dji_sdk_demo_linux.dir/build.make:190: recipe for target 'samples/sample_c/platform/linux/manifold2/CMakeFiles/dji_sdk_demo_linux.dir/__/__/__/module_sample/fc_subscription/test_fc_subscription.c.o' failed
make[2]: *** [samples/sample_c/platform/linux/manifold2/CMakeFiles/dji_sdk_demo_linux.dir/__/__/__/module_sample/fc_subscription/test_fc_subscription.c.o] Error 1
CMakeFiles/Makefile2:163: recipe for target 'samples/sample_c/platform/linux/manifold2/CMakeFiles/dji_sdk_demo_linux.dir/all' failed
make[1]: *** [samples/sample_c/platform/linux/manifold2/CMakeFiles/dji_sdk_demo_linux.dir/all] Error 2
Makefile:135: recipe for target 'all' failed
make: *** [all] Error 2
退学stock心态

Administrator
2025-09-04 15:16:13
nvidia@nvidia-desktop:~/kfd-test/Payload-SDK-master-0903/build$ sudo apt install -y libcurl4-openssl-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libcurl4
Suggested packages:
libcurl4-doc libidn11-dev libkrb5-dev libldap2-dev librtmp-dev libssh2-1-dev
The following NEW packages will be installed:
libcurl4 libcurl4-openssl-dev
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 449 kB of archives.
After this operation, 1,876 kB of additional disk space will be used.
Err:1 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libcurl4 arm64 7.58.0-2ubuntu3
Cannot initiate the connection to ports.ubuntu.com:80 (185.125.190.36). - connect (101: Network is unreachable) Cannot initiate the connection to ports.ubuntu.com:80 (91.189.91.104). - connect (101: Network is unreachable) Cannot initiate the connection to ports.ubuntu.com:80 (91.189.91.103). - connect (101: Network is unreachable) Cannot initiate the connection to ports.ubuntu.com:80 (91.189.91.102). - connect (101: Network is unreachable) Cannot initiate the connection to ports.ubuntu.com:80 (185.125.190.39). - connect (101: Network is unreachable)
Err:2 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libcurl4-openssl-dev arm64 7.58.0-2ubuntu3
Cannot initiate the connection to ports.ubuntu.com:80 (185.125.190.36). - connect (101: Network is unreachable) Cannot initiate the connection to ports.ubuntu.com:80 (91.189.91.104). - connect (101: Network is unreachable) Cannot initiate the connection to ports.ubuntu.com:80 (91.189.91.103). - connect (101: Network is unreachable) Cannot initiate the connection to ports.ubuntu.com:80 (91.189.91.102). - connect (101: Network is unreachable) Cannot initiate the connection to ports.ubuntu.com:80 (185.125.190.39). - connect (101: Network is unreachable)
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/pool/main/c/curl/libcurl4_7.58.0-2ubuntu3_arm64.deb Cannot initiate the connection to ports.ubuntu.com:80 (185.125.190.36). - connect (101: Network is unreachable) Cannot initiate the connection to ports.ubuntu.com:80 (91.189.91.104). - connect (101: Network is unreachable) Cannot initiate the connection to ports.ubuntu.com:80 (91.189.91.103). - connect (101: Network is unreachable) Cannot initiate the connection to ports.ubuntu.com:80 (91.189.91.102). - connect (101: Network is unreachable) Cannot initiate the connection to ports.ubuntu.com:80 (185.125.190.39). - connect (101: Network is unreachable)
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/pool/main/c/curl/libcurl4-openssl-dev_7.58.0-2ubuntu3_arm64.deb Cannot initiate the connection to ports.ubuntu.com:80 (185.125.190.36). - connect (101: Network is unreachable) Cannot initiate the connection to ports.ubuntu.com:80 (91.189.91.104). - connect (101: Network is unreachable) Cannot initiate the connection to ports.ubuntu.com:80 (91.189.91.103). - connect (101: Network is unreachable) Cannot initiate the connection to ports.ubuntu.com:80 (91.189.91.102). - connect (101: Network is unreachable) Cannot initiate the connection to ports.ubuntu.com:80 (185.125.190.39). - connect (101: Network is unreachable)
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
nvidia@nvidia-desktop:~/kfd-test/Payload-SDK-master-0903/build$
退学stock心态

Administrator
2025-09-04 14:26:33
sudo apt update
sudo apt install -y libcurl4-openssl-dev
退学stock心态

Administrator
2025-09-04 14:23:39
nvidia@nvidia-desktop:~/kfd-test/Payload-SDK-master-0903/build$ sudo cmake ..
[sudo] password for nvidia:
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at samples/sample_c/platform/linux/manifold2/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
-- Found OPUS installed in the system
-- - Includes: /usr/local/include/opus
-- - Libraries: /usr/local/lib/libopus.so
-- Found LIBUSB installed in the system
-- - Includes: /usr/include/libusb-1.0
-- - Libraries: /usr/lib/aarch64-linux-gnu/libusb-1.0.so
CMake Deprecation Warning at samples/sample_c++/platform/linux/manifold2/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
CMake Warning (dev) at /usr/lib/aarch64-linux-gnu/cmake/opencv4/OpenCVConfig.cmake:86 (find_package):
Policy CMP0146 is not set: The FindCUDA module is removed. Run "cmake
--help-policy CMP0146" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
Call Stack (most recent call first):
/usr/lib/aarch64-linux-gnu/cmake/opencv4/OpenCVConfig.cmake:108 (find_host_package)
samples/sample_c++/platform/linux/manifold2/CMakeLists.txt:67 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found CUDA: /usr/local/cuda (found suitable exact version "10.2")
dji_sdk_demo_linux_cxx...
-- Found OpenCV installed in the system, will use it to display image in AdvancedSensing APIs
-- - Includes: /usr/include/opencv4
-- - Libraries: opencv_calib3d;opencv_core;opencv_dnn;opencv_features2d;opencv_flann;opencv_highgui;opencv_imgcodecs;opencv_imgproc;opencv_ml;opencv_objdetect;opencv_photo;opencv_stitching;opencv_video;opencv_videoio;opencv_alphamat;opencv_aruco;opencv_bgsegm;opencv_bioinspired;opencv_ccalib;opencv_cudaarithm;opencv_cudabgsegm;opencv_cudacodec;opencv_cudafeatures2d;opencv_cudafilters;opencv_cudaimgproc;opencv_cudalegacy;opencv_cudaobjdetect;opencv_cudaoptflow;opencv_cudastereo;opencv_cudawarping;opencv_cudev;opencv_datasets;opencv_dnn_objdetect;opencv_dnn_superres;opencv_dpm;opencv_face;opencv_freetype;opencv_fuzzy;opencv_hdf;opencv_hfs;opencv_img_hash;opencv_intensity_transform;opencv_line_descriptor;opencv_mcc;opencv_optflow;opencv_phase_unwrapping;opencv_plot;opencv_quality;opencv_rapid;opencv_reg;opencv_rgbd;opencv_saliency;opencv_sfm;opencv_shape;opencv_stereo;opencv_structured_light;opencv_superres;opencv_surface_matching;opencv_text;opencv_tracking;opencv_videostab;opencv_xfeatures2d;opencv_ximgproc;opencv_xobjdetect;opencv_xphoto
-- Found FFMPEG installed in the system
-- - Includes: /usr/include/aarch64-linux-gnu
-- - Libraries: /usr/lib/aarch64-linux-gnu/libavcodec.so;/usr/lib/aarch64-linux-gnu/libavformat.so;/usr/lib/aarch64-linux-gnu/libavutil.so;/usr/lib/aarch64-linux-gnu/libswscale.so;/usr/lib/aarch64-linux-gnu/libvorbis.so;/usr/lib/aarch64-linux-gnu/libvorbisenc.so;/usr/lib/aarch64-linux-gnu/libtheora.so;/usr/lib/aarch64-linux-gnu/libz.so
-- - Version: 3.4.11-0ubuntu0.1
-- Found OPUS installed in the system
-- - Includes: /usr/local/include/opus
-- - Libraries: /usr/local/lib/libopus.so
-- Found LIBUSB installed in the system
-- - Includes: /usr/include/libusb-1.0
-- - Libraries: /usr/lib/aarch64-linux-gnu/libusb-1.0.so
-- Configuring done (3.3s)
-- Generating done (0.3s)
-- Build files have been written to: /home/nvidia/kfd-test/Payload-SDK-master-0903/build
nvidia@nvidia-desktop:~/kfd-test/Payload-SDK-master-0903/build$ sudo make
[ 0%] Built target entry
[ 0%] Building C object samples/sample_c/platform/linux/manifold2/CMakeFiles/dji_sdk_demo_linux.dir/application/main.c.o
[ 1%] Building C object samples/sample_c/platform/linux/manifold2/CMakeFiles/dji_sdk_demo_linux.dir/__/__/__/module_sample/camera_emu/dji_media_file_manage/dji_media_file_core.c.o
[ 2%] Building C object samples/sample_c/platform/linux/manifold2/CMakeFiles/dji_sdk_demo_linux.dir/__/__/__/module_sample/camera_emu/dji_media_file_manage/dji_media_file_jpg.c.o
[ 3%] Building C object samples/sample_c/platform/linux/manifold2/CMakeFiles/dji_sdk_demo_linux.dir/__/__/__/module_sample/camera_emu/dji_media_file_manage/dji_media_file_mp4.c.o
[ 4%] Building C object samples/sample_c/platform/linux/manifold2/CMakeFiles/dji_sdk_demo_linux.dir/__/__/__/module_sample/camera_emu/test_payload_cam_emu_base.c.o
[ 5%] Building C object samples/sample_c/platform/linux/manifold2/CMakeFiles/dji_sdk_demo_linux.dir/__/__/__/module_sample/camera_emu/test_payload_cam_emu_media.c.o
[ 6%] Building C object samples/sample_c/platform/linux/manifold2/CMakeFiles/dji_sdk_demo_linux.dir/__/__/__/module_sample/camera_manager/test_camera_manager.c.o
[ 7%] Building C object samples/sample_c/platform/linux/manifold2/CMakeFiles/dji_sdk_demo_linux.dir/__/__/__/module_sample/data_transmission/test_data_transmission.c.o
[ 8%] Building C object samples/sample_c/platform/linux/manifold2/CMakeFiles/dji_sdk_demo_linux.dir/__/__/__/module_sample/fc_subscription/test_fc_subscription.c.o
/home/nvidia/kfd-test/Payload-SDK-master-0903/samples/sample_c/module_sample/fc_subscription/test_fc_subscription.c:7:10: fatal error: curl/curl.h: No such file or directory
#include <curl/curl.h>
^~~~~~~~~~~~~
compilation terminated.
samples/sample_c/platform/linux/manifold2/CMakeFiles/dji_sdk_demo_linux.dir/build.make:190: recipe for target 'samples/sample_c/platform/linux/manifold2/CMakeFiles/dji_sdk_demo_linux.dir/__/__/__/module_sample/fc_subscription/test_fc_subscription.c.o' failed
make[2]: *** [samples/sample_c/platform/linux/manifold2/CMakeFiles/dji_sdk_demo_linux.dir/__/__/__/module_sample/fc_subscription/test_fc_subscription.c.o] Error 1
CMakeFiles/Makefile2:163: recipe for target 'samples/sample_c/platform/linux/manifold2/CMakeFiles/dji_sdk_demo_linux.dir/all' failed
make[1]: *** [samples/sample_c/platform/linux/manifold2/CMakeFiles/dji_sdk_demo_linux.dir/all] Error 2
Makefile:135: recipe for target 'all' failed
make: *** [all] Error 2
nvidia@nvidia-desktop:~/kfd-test/Payload-SDK-master-0903/build$ ^C
nvidia@nvidia-desktop:~/kfd-test/Payload-SDK-master-0903/build$
退学stock心态

Administrator
2025-09-04 13:58:43
nvidia@nvidia-desktop:~/kfd-test/Payload-SDK-master-0903/build$ sudo cmake ..
[sudo] password for nvidia:
CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 has been removed from CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
-- Configuring incomplete, errors occurred!
nvidia@nvidia-desktop:~/kfd-test/Payload-SDK-master-0903/build$ ^C
nvidia@nvidia-desktop:~/kfd-test/Payload-SDK-master-0903/build$
退学stock心态

Administrator
2025-09-04 13:54:26
nvidia@nvidia-desktop:~/kfd-test/Payload-SDK-master-0903/build$ cmake ..
cannot set capabilities: Operation not permitted
退学stock心态

Administrator
2025-09-03 20:42:49
/home/nvidia/lcy/YOLOv8-det/workspace
退学stock心态

Administrator
2025-09-03 20:41:36
nvidia@nvidia-desktop:~/lcy/YOLOv8-det/workspace$ ./detect best.engine images
running main...
[infer.cu:210]: NVInfer: coreReadArchive.cpp (31) - Serialization Error in verifyHeader: 0 (Magic tag does not match)
[infer.cu:210]: NVInfer: INVALID_STATE: std::exception
[infer.cu:210]: NVInfer: INVALID_CONFIG: Deserialize the cuda engine failed.
Failed to load yolo model.
nvidia@nvidia-desktop:~/lcy/YOLOv8-det/workspace$
退学stock心态

Administrator
2025-09-03 20:40:28
师兄,你把这个engine文件放到师兄的YOLOv8-det/workspace里,然后在终端输入./detect yolov8s.engine images,看看结果怎么样?
退学stock心态

Administrator
2025-09-03 20:39:46
nvidia@nvidia-desktop:~/lcy/YOLOv8-det/workspace$ ./detect yolov8s.engine imagesrunning main...
[infer.cu:302]: An empty file has been loaded. Please confirm your file path: yolov8s.engine
Failed to load yolo model.
nvidia@nvidia-desktop:~/lcy/
退学stock心态

Administrator
2025-09-03 20:34:45
sudo apt update
sudo apt install exfat-fuse exfat-utils
sudo mount -t exfat /dev/sda1 /media/nvidia/MyPassport
sudo fdisk -l
退学stock心态

Administrator
2025-06-02 17:30:25
幻想/优柔寡断:鸿博股份,5月30日,股价开盘绿,不符合预期(反向反转),开盘后下杀,不顾一切往里面买,丝毫没注意分时线没站上均线,踩均线上冲,以为会按自己的想法走,不尊重客观事实。
退学stock心态