Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: J. on September 21, 2016, 02:04:00 am

Title: LibFinder Plugin: requirements
Post by: J. on September 21, 2016, 02:04:00 am
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);
}
}

My questions:

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]
Title: Re: LibFinder Plugin: requirements
Post by: oBFusCATed on September 21, 2016, 07:35:39 pm
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.