树莓派4B装机

0 工具

    SD FORMAT https://www.sdcard.org/downloads/formatter/eula_windows/index.html

    win32diskimager https://jaist.dl.sourceforge.net/project/win32diskimager/Archive/win32diskimager-1.0.0-install.exe

1 wifi ssh

    配置https://www.jianshu.com/p/aff561ea1226 用pi raspberry登录ssh改密码

    静态IP https://blog.csdn.net/lms99251/article/details/87975486

    安装samba共享文件夹 https://www.jianshu.com/p/0fb0638fa061

2 安装pip https://blog.csdn.net/qq_36588941/article/details/89839912

3 CMAKE

    卸载cmake旧版本 https://www.cnblogs.com/weiqinglan/p/6007596.html?utm_source=itdadao&utm_medium=referral

    安装cmake3.4 https://blog.csdn.net/lzlyz9999/article/details/53112700  cmake版本不要太高

    cmake bin的连接问题 https://blog.csdn.net/kongkongqixi/article/details/88657508

4 安装opencv 

    依赖https://blog.csdn.net/kyokozan/article/details/79192646

    依赖https://blog.csdn.net/ygxqt/article/details/79944136

    2.4.13http://www.voidcn.com/article/p-ulryhijs-bph.html

    3.4https://blog.csdn.net/leaves_joe/article/details/67656340

    dumpfullversion问题https://www.jianshu.com/p/7d117fa4924f

    version问题https://blog.csdn.net/mysea2004/article/details/72566730

    stdlib.h问题https://blog.csdn.net/xinyu391/article/details/72867510

    使用下面的cmake命令编译:cmake -D CMAKE_BUILD_TYPE=RELEASE -DENABLE_PRECOMPILED_HEADERS=OFF -DWITH_LIBV4L=ON -D CMAKE_INSTALL_PREFIX=/usr/local ..

5 安装mjpg-streamer https://blog.csdn.net/qq_41923622/article/details/88366185

    /usr/local/bin/mjpg_streamer -i "/usr/local/lib/mjpg-streamer/input_uvc.so -n -f 30 -r 1280x720" -o "/usr/local/lib/mjpg-streamer/output_http.so -p 8080 -w /usr/local/share/mjpg-streamer/www"

    即可UDP输出视频

6 安装fswebcam https://blog.csdn.net/qq_41923622/article/details/86554114

    fswebcam test.jpg即可拍一张照片

7 外接硬盘 https://blog.csdn.net/huayucong/article/details/48812573

8 下载摄像头采集源码 git clone https://github.com/yijiesun/pi4B_work.git

9 解决pthread问题 https://github.com/facebook/Surround360/issues/3

10 安装花生壳http://service.oray.com/question/2680.html

    或者nat123 http://www.nat123.com/pages_17_600.jsp

    cd /home/pi/nat123/ && mono  nat123linux.sh service &  启动

    ps  -ef|grep  nat123 查看nat123运行状态

    定时启动任务 https://blog.csdn.net/buster2014/article/details/46349497

11 开机自启 https://www.jianshu.com/p/86adb6d5347b/

12 超频 https://www.oschina.net/translate/how-to-overclock-raspberry-pi

你可能感兴趣的:(C/C++,树莓派)