目录
树莓派4B
树莓派4B是一块cpu架构为Arm的开发板,可以看作是一个小型的电脑主机,只要刷入系统即可和正常电脑一样使用。
环境
- 树莓派4B - 4G内存版本
- Cpu架构:arm
- 系统:linux / openwrt
- VS2019 - win10
预期想法
通过Vs2019远程连接树莓派,然后在win上使用vs开发c++项目,最后部署到树莓派上运行
遇到的问题
- ***主机上的缺少工具:gcc,gdb,gdbsevice,zip?
- 就是你的linux里没有安装上述程序,得去安装。
- 问题主要在zip这个程序,在openwrt的web管理里搜索后居然没有zip程序,最后我是去到中科大软件源里:
- http://mirrors.ustc.edu.cn/openwrt/releases/18.06.6/packages/aarch64_cortex-a72/packages/
- 手动找到zip.ipk然后上传到openwrt里的 /tmp目录安装的(opkg install /tmp/zip.ipk)。
- 如果你也遇到此问题,需要到链接里回退找对应的openwrt版本(18.06.6)和对应的cpu类型(aarch64_cortex-a72)的zip.ipk包。
- 本来是把这个连接放到openwrt的自定义软件源里,但在web里搜索还是没有zip包,就像被过滤了一样暂不知道原因。
- VS里满屏的报错?头文件全都提示无法找到源文件?
- -
- 百度上很多方法试过后对我没用,在目录里:
- C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\VC\Linux\include
- 是有linux的各种头文件的,但Vs就是报错了,最后发现是Vs并没有真正复制树莓派的头文件到win里,上面目录里的文件似乎是下载Vs时带的。
- 解决方法:
- 在 调试 -> 选项 -> 跨平台 -> 链接管理器 -> 远程标头IntelliSense
- 百度上很多方法试过后对我没用,在目录里:
- -
- -
- 此时窗口右方第三个按钮 " 浏览 "
- -
- -
- -
- 就会进入文件管理里,此时如果你点进usr里会发现里面是没有头文件的,这就是VS满屏波浪线的原因。
- 因此我们只要把linux里的头文件(usr/include以及usr/local/include)的头文件从树莓派的系统里复制出来,然后复制进usr就可以了,lib文件同理。
- 后面的目录可能不存在,我的openwrt就没有,没有关系的。
- 复制进去后重新打开VS项目就可以了。
- -
- 运行就VS卡死,打断点也卡死?
- VS报错:引发类型"Microsoft.Build.Linux.Shared.ExceptionTTY"的异常
- -
- 这个问题在百度上有人提到是终端有VS无法识别的符号引发了错误。
- 但他的解决方法我不适用:
- 把linux的用户目录里的隐藏文件.bashrc直接删除。
- 我的默认sh是zsh,把.zshrc删了并不能解决问题,并且出现更多问题了。而且删这个感觉好危险......
- 最后我的解决方法:
- 在 调试 -> **调试属性(最后一个选项,例如我的项目名是Project1,则为 Project1调试属性)
- -
- -
- 在左边点 配置属性 -> 调试
- -
- -
- -
- 此时右边里面的调试模式改为 gdbservic 试试看,如果你默认是 gdbservice 就改为 gdb 试试。
- -
https://kamagra.win/# sildenafil oral jelly 100mg kamagra
Levitra 10 mg buy online buy Levitra over the counter Buy Vardenafil online
Order Viagra 50 mg online: Buy Viagra online – best price for viagra 100mg
https://viagras.online/# over the counter sildenafil
Levitra online pharmacy: Levitra generic price – Vardenafil buy online
https://cialist.pro/# п»їcialis generic
order cenforce cenforce for sale buy cenforce
http://viagras.online/# viagra canada
Buy Tadalafil 5mg cialist.pro Tadalafil price
п»їLevitra price Levitra 20mg price Levitra 20 mg for sale
Levitra 20 mg for sale: Vardenafil online prescription – Levitra online USA fast
https://viagras.online/# Generic Viagra for sale
https://levitrav.store/# Levitra 20 mg for sale
buy cenforce cenforce.pro cheapest cenforce
http://viagras.online/# buy Viagra online
tamoxifen generic lexapro and tamoxifen aromatase inhibitor tamoxifen
lisinopril price 10 mg buy lisinopril online india can you buy lisinopril
https://lisinopril.network/# buying lisinopril online
propecia cheap generic propecia for sale get propecia no prescription
https://cytotec.club/# buy cytotec over the counter
buy cipro online canada buy cipro online ciprofloxacin
http://lisinopril.network/# 40 mg lisinopril
https://ciprofloxacin.tech/# buy ciprofloxacin
lisinopril 20mg 37.5mg lisinopril for sale uk benicar lisinopril
cipro: cipro online no prescription in the usa – cipro ciprofloxacin
http://ciprofloxacin.tech/# buy cipro online
cipro online no prescription in the usa buy ciprofloxacin over the counter cipro 500mg best prices
buy cipro online without prescription ciprofloxacin order online cipro pharmacy
https://cytotec.club/# cytotec online
generic lisinopril online lisinopril 60 mg daily lisinopril without prescription
http://cytotec.club/# Cytotec 200mcg price
Abortion pills online: Cytotec 200mcg price – buy cytotec over the counter
http://finasteride.store/# cost cheap propecia without a prescription
https://ciprofloxacin.tech/# ciprofloxacin generic price
buy generic propecia no prescription buying propecia without a prescription propecia generics
https://nolvadex.life/# nolvadex vs clomid
buy ciprofloxacin over the counter cipro for sale buy cipro online
https://ciprofloxacin.tech/# purchase cipro
buy cytotec over the counter: buy cytotec over the counter – buy cytotec over the counter
ciprofloxacin 500 mg tablet price ciprofloxacin order online cipro online no prescription in the usa
https://cytotec.club/# cytotec abortion pill
best online pharmacies in mexico Online Pharmacies in Mexico mexico drug stores pharmacies
best online pharmacies in mexico: purple pharmacy mexico price list – п»їbest mexican online pharmacies
top 10 online pharmacy in india https://indiaph24.store/# india online pharmacy
indian pharmacy
Locate through the “Find My Mobile” system software that comes with the phone, or through third – Party mobile phone number locating software.
On the other hand, GHRPs and their analogs have been reported to be effective in idiopathic short stature, in some situations of GH deficiency, in obesity, and in hypothyroidism, while in patients with pituitary stalk disconnection and in Cushing s syndrome the somatotrope responsiveness to GHRPs is almost absent cialis buy
can women use viagra Vesna Bjelic Radisic receives honoraria from Novartis, AstraZeneca, and Roche; receives consulting or advisory fees from Pfizer or Lilly; none of these are trial related conflicts
generic cialis 20mg Gu Min was also a little stunned
These experiments using polarized uterine epithelial cell cultures have identified apical and basal protein secretion as two cellular responses with increased sensitivity to steroids and antisteroids can i buy cialis online
These lesions can be painful and can easily break or collapse cialis 20mg for sale Radiographs are required to assess for fractures and possible foreign bodies e