首页
社区
课程
招聘
未解决 [求助]缺少一个依赖库,不知道是哪个
发表于: 2019-8-20 21:02 2082

未解决 [求助]缺少一个依赖库,不知道是哪个

2019-8-20 21:02
2082
g++ -o he.exe main.o cjson.o libcrypto.a

libcrypto.a(rand_win.o):rand_win.c:(.text+0xf0b): undefined reference to `GetDeviceCaps@8'
libcrypto.a(rand_win.o):rand_win.c:(.text+0xf20): undefined reference to `GetDeviceCaps@8'
libcrypto.a(rand_win.o):rand_win.c:(.text+0xf39): undefined reference to `CreateCompatibleBitmap@12'
libcrypto.a(rand_win.o):rand_win.c:(.text+0xf5c): undefined reference to `GetObjectA@12'
libcrypto.a(rand_win.o):rand_win.c:(.text+0x102c): undefined reference to `GetDIBits@28'
libcrypto.a(rand_win.o):rand_win.c:(.text+0x109d): undefined reference to `DeleteObject@4'

collect2: ld returned 1 exit status

[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课

最后于 2019-8-20 21:08 被limee编辑 ,原因:
收藏
免费 0
支持
分享
最新回复 (1)
雪    币: 435
活跃值: (203)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
2
gdi32
2019-8-20 23:41
0
游客
登录 | 注册 方可回帖
返回
//