User forums > Using Code::Blocks

LibFinder Plugin: requirements

(1/1)

J.:
Hi,

for using the lib/pkg-config feature in CB, it appears to me that the following script should be registered, to make pgk-config tell the compiler lib information, in particular.
 

--- Code: ---function SetBuildOptions(base)
{
if ( "LibFinder" in getroottable() )
{
LibFinder.SetupTarget(base);
}
}
--- End code ---

My questions:

* Is the script above standard to CB and usually registered? Unfortunately I cannot remember any more where I have got it from. ??? Or is there another way to get the lib finder up and running for compilation purposes?
* All windows of the LibFinder Plugin are empty here. How can they be populated with lib information known to pkg-config? Is there any manual on how to proceed once the lib infos are fed into the lib finder?
BTW: Some lib finder features make CB freeze I am hoping to overcome when libfinder gets all the information for running without any issues.

I am living on Win10 with CB16.01.

Many thanks!
J.
[/list]

oBFusCATed:
If you're on windows how have you installed pkg-config? It is mostly a linux/unix feature/system.

Onto the question - I'm not sure what you're talking about. This script doesn't reveal much, too.
Please post exact steps to reproduce the problem.

Navigation

[0] Message Index

Go to full version