Building the library for check test C framework

▼魔方 西西 提交于 2019-12-05 08:58:21

Adding comment as response:
Please check if you have installed check framework. If so, you could try using pkg-config say

gcc check_money.c `pkg-config --cflags --libs check`

Here pkg-config utility will read the .pc file (which happens to be check.pc in case of check framework, thus the last entry in the command says check) & add the necessary compiler flags (--cflags option) & libraries/linker options (--libs option)

Hope this helps!

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!