开发者社区> 问答> 正文

ubuntu eclipse 配置 id3tag库编译不通过的问题?报错

 小弟最近在学习《Linux环境C语言编程》在第11章中,作者引入了libid3tag的库,使用sudo apt-get install libid3tag libid3tag-dev下载了该库,头文件《id3tag.h》位于/usr/include.使用的eclipse 是使用sudo apt-get install eclipse sudo apt-get install eclipse-cdt的方式安装。我按照如下方式配置了编译器。

<p>
	<span style="line-height:1.5;font-size:10pt;"><img src="http://static.oschina.net/uploads/space/2015/0923/101320_SPDg_1782506.png" alt=""><br>


含头文件《id3tag.h》,查看头文件有箭头所指的函数,

 

但是编译后,报错“undefined refrence to ‘id3_file_tag’”。


请问各位大神,遇到这种问题应该怎么办!

展开
收起
爱吃鱼的程序员 2020-06-12 11:04:06 669 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    <spanstyle="font-size:13.3333330154419px;">不好意思楼主,问一个不相关的问题,你用的什么字体?<imgsrc="http://www.oschina.net/js/ke/plugins/emoticons/images/13.gif"alt=""><atarget='_blank'>@KeepMoving0325<imgsrc="/js/ke/plugins/emoticons/13.gif"alt="13"/>谢啦使用的默认的,我没有修改字体。Eclipse里面显示Family“Monospace",style"Regular",size"10"

    2020-06-12 11:04:22
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
CentOS Nginx PHP JAVA多语言镜像使用手册 立即下载
CentOS Nginx PHP JAVA 多语言镜像使用手 立即下载
低代码开发师(初级)实战教程 立即下载