I dont want to randomly place libraries in arbitrary order hoping I get the order correct. Is there a systematic way to determine the linker library order in eclipse cdt?
ERROR: cannot find -l{some project}
You are correct saying that -l
directives must follow a certain order. However, this error means a different thing. The linker simply failed to find the library file you have specified. Perhaps, you're missing the -L
directive which specifies the folder where the linker looks for the library files. E. g.
-L../bin -l{libname}