Author Topic: Linking id3lib in codeblocks - C++ Linux  (Read 3424 times)

Offline EverydayDiesel

  • Multiple posting newcomer
  • *
  • Posts: 11
Linking id3lib in codeblocks - C++ Linux
« 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!

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Linking id3lib in codeblocks - C++ Linux
« Reply #1 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).
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline EverydayDiesel

  • Multiple posting newcomer
  • *
  • Posts: 11
Re: Linking id3lib in codeblocks - C++ Linux
« Reply #2 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