2024年8月4日
摘要: 一、C语言调用Lua -- func.lua function func(str) print(str) return "Lua Progran" end // test.c #include <stdio.h> #include <lua.h> #include <lauxlib.h> #incl 阅读全文
posted @ 2024-08-04 05:35 TN-mo 阅读(43) 评论(0) 推荐(0)
  2024年8月3日
摘要: // mylib.h #ifndef _MYLIB_H_ #define _MYLIB_H_ #include <stdio.h> void print();#endif // _MYLIB_H_ // mylib.c #include "mylib.h" void print() { printf 阅读全文
posted @ 2024-08-03 04:46 TN-mo 阅读(24) 评论(0) 推荐(0)
  2024年8月1日
摘要: 报错现象: terminate called after throwing an instance of 'cv::Exception' what(): OpenCV(4.10.0) /home/user/Desktop/opencv/modules/highgui/src/window.cpp:1 阅读全文
posted @ 2024-08-01 07:27 TN-mo 阅读(693) 评论(0) 推荐(0)
  2023年6月30日
摘要: make报错: 先运行make menuconfig,什么也不做退出,然后再make 一、137错误码报错: 在编译以下文件时可能会报137错误码: amdgpu.o vmlinux.o 原因:swap分区空间不足,最少需要5.5GB空间,建议保险起见10GB 在安装系统时我们一般都是采用默认的sw 阅读全文
posted @ 2023-06-30 11:39 TN-mo 阅读(1772) 评论(0) 推荐(0)