Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: EverydayDiesel on October 24, 2015, 06:04:20 am

Title: Linking id3lib in codeblocks - C++ Linux
Post by: EverydayDiesel on October 24, 2015, 06:04:20 am
I feel like such a dummy, can someon please tell me what link library I need to add for the id3lib library to compile?
I have tried everything but it doesnt work.


right click Solution --> Go to Build Options --> Go to top treeview item  above debug  --> go to linker settings --> click add button and paste id3lib

but it tells me that it cannot find -lid3lib

Can anyone tell me what I am doing wrong?

Thanks in advance!
Title: Re: Linking id3lib in codeblocks - C++ Linux
Post by: oBFusCATed on October 24, 2015, 08:56:44 am
Probably the linker cannot find the library in the standard paths.
You have to add a search path for it (build options -> search path linker).
Title: Re: Linking id3lib in codeblocks - C++ Linux
Post by: EverydayDiesel on October 26, 2015, 03:12:13 pm
thanks for the reply.  you helped me figure it out.

Find the file on the disk and then add the directory under the project settings  --> search directories --> then compiler.

thanks again