Hello,
I'm just using Code::Blocks 10.05 on Ubuntu 12.04(precise) 64-bit few days.
Firstly, I created a c++ console project called A in /home/test/ccc/, then I created a C static library project called B which includes serveral files: libabc.a, abc.c, abc.h, etc. in /home/test/abc/
I tired to using the /home/test/abc/libabc.a created by B in A.
But the ide always show the message as title 'undefined reference to ....'
I searched online and operated as most of them suggested as below:
1) right click the project A, and selected 'Build options',
2) click 'Linker settings' tab and click the 'add' button, pick the /home/test/abc/libabc.a from the prject B directionary,
3) click 'Search directories' tab and under in the sub-tab 'complier', there is an 'add' button, click it as well to select the 'abc.h'
That is all. I even add the /home/test/abc to the 'Search directories-Linker' list, the issure is still alive.
Could you help me?