collect2.exe: error: ld returned 1 exit status

这个错误当函数声明了但是没有定义的时候也会出现,特别是在结构体中声明了忘了定义
posted @ 2022-06-17 21:30  纸包鱼  阅读(1608)  评论(0)    收藏  举报