User forums > Using Code::Blocks

Linking id3lib in codeblocks - C++ Linux

(1/1)

EverydayDiesel:
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!

oBFusCATed:
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).

EverydayDiesel:
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

Navigation

[0] Message Index

Go to full version