- 博客(8)
- 收藏
- 关注
原创 静态库和共享库(动态库)
编译test.c 并链接共享库libprint.so $ gcc -o test test.c -L. -l共享库名字。编译生成目标文件 $ gcc -c -fPIC 库源码.c -Wall。$./test 执行后找不到共享库。(不包括lib前缀和.so后缀)确定库中函数的功能、接口。生成与位置无关的目标文件。三、共享库 (动态库)
2023-11-16 13:15:35
129
1
原创 TypeError: object.__init__() takes exactly one argument (the instance to initialize)
TypeError: object.__init__() takes exactly one argument (the instance to initialize)
2023-04-29 21:53:00
495
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人