
Linux 基础
文章平均质量分 54
la_fe_
这个作者很懒,什么都没留下…
展开
-
Makefile 练习(二):多个源文件
1 位于同一目录下 list1.c #include "list1.h" #include <stdio.h> void list1_printf() { printf("this is printf from list1\r\n"); } list2.c #include "list2.h" #include <stdio.h> void list2_printf() { printf("this is printf from list2\r\n"); } main.原创 2021-01-21 11:15:53 · 649 阅读 · 1 评论 -
Makefile 练习(一):单个源文件
Makefile 练习(一):基本应用 1.程序编译过程 2. 单个源文件 main.c #include <stdio.h> int main() { #ifdef _SWITCH_ printf("Hello, this is from Switch\r\n"); #else printf("Sorry, it doesn't work\r\n"); #endif return 0; } Makefile # Makefile test // 注释 VAR_ENAB原创 2021-01-21 10:46:33 · 242 阅读 · 0 评论 -
Linux入门:基本操作
Linux入门基本操作 基本概念 (1)Linux与Shell Linux是内核,负责电脑硬件、网络进程和驱动等,用户无法直接与之沟通; Shell是用户交互接口,负责人与操作系统的信息交流,本质是二进制代码。 (2)Shell的种类 GUI:图形界面操作(Windows,Mac) CLI:命令行操作(Linux) 常用的是Bash (3)Bash $:普通用户,...原创 2018-08-08 17:27:44 · 3610 阅读 · 0 评论 -
Ubuntu16.04下 OpenCV3.1 安装
OpenCV3.1安装 1、sudo apt-get install gcc g++ cmake pkg-config build-essential sudo apt-get install build-essential cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev s...原创 2018-08-09 10:18:14 · 480 阅读 · 0 评论