上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 99 下一页
摘要: libc (C standard library,缩写:libc)。标准函数库通常会随附在编译器上。windows系统和Linux系统下都可以尽情使用。是最基本的C函数库,也叫 ANSI C 函数库。总而言之,几乎在任何平台上的 C 语言 (包括非 UNIX 平台) 都支持此标准。 POSIX Po 阅读全文
posted @ 2021-04-30 14:57 流水灯 阅读(3470) 评论(0) 推荐(0) 编辑
摘要: ceilf是一个在math.h里面的一个数学函数,函数的实现位于 libm.a 库文件中,使用 math.h 中声明的库函数时,gcc命令行必须加-lm选项 这时我们就需要在编译的时候加上-lm参数,即 gcc test.c -o test -lm 如果是用的makefile,就要在相应的文件里面加 阅读全文
posted @ 2021-04-29 16:46 流水灯 阅读(329) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2021-04-29 16:17 流水灯 阅读(1) 评论(0) 推荐(0) 编辑
摘要: exit.c:(.text+0x18): undefined reference to `_exit' when using arm-none-eabi-gcc This happens when compiling a file with arm-none-eabi-gcc in one mach 阅读全文
posted @ 2021-04-29 10:48 流水灯 阅读(2524) 评论(0) 推荐(0) 编辑
摘要: 特别说明:如果没有指定链接文件,gcc XXX.o -o AAA(包含链接过程,链接器也是用 ld )链接阶段就会使用gcc默认链接文件 gcc -c XXX.c:-c表示只编译不链接,此指令生成 XXX.o 目标文件 gcc main.o hello.o factorial.o -o XXX:链接 阅读全文
posted @ 2021-04-19 10:54 流水灯 阅读(280) 评论(0) 推荐(0) 编辑
摘要: 编译错误 — make: No rule to make target 最近使用make编译一个mount源码,结果出现标题所示完整错误类似为:make: *** No rule to make target /xxx/xxx/xxxx/xxxxx/xxx.cpp(or .h )', neede d 阅读全文
posted @ 2021-04-19 10:49 流水灯 阅读(27) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2021-04-14 11:00 流水灯 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-04-08 22:47 流水灯 阅读(353) 评论(0) 推荐(0) 编辑
摘要: 很多时候,我们在开发的时候是面对嵌入式平台,因此由于资源的限制需要用到相关的交叉编译。即在你host宿主机上要生成target目标机的程序。里面牵扯到相关头文件的切换和编译器的选择以及环境变量的改变等 CMake给交叉编译预留了一个很好的变量CMAKE_TOOLCHAIN_FILE,它定义了一个文件 阅读全文
posted @ 2021-04-04 14:32 流水灯 阅读(7128) 评论(0) 推荐(0) 编辑
摘要: 错误: D:\opencv-4.5.1\modules\core\include/opencv2/core/utility.hpp:706:14: error: 'recursive_mutex' in namespace 'std' does not name a type 706 | typed 阅读全文
posted @ 2021-04-02 17:54 流水灯 阅读(6) 评论(0) 推荐(0) 编辑
上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 99 下一页