Hi Phil,

this was way back, when we switched to the cmake build system and my knowledge about cmake was not that good (is not that good either, since the peak was 3 years ago ;). Anyway pkg_config is not needed but useful if it's always there. I think gtk libraries are found that way as well as wxwidgets libraries on Linux/Mac OS X using wxconfig. Especially for wxWidgets it makes the cmake module much easier (the Windows part is a major PITA).

So, I think the FindAGG module can be changed not using pkg-config but you should check if it still works for at least Linux. You could try to find another FindAGG module on the net. There might be other versions which are better suited for your/our needs.

HTH,
Werner

25 February 2014 13:29
Hi All
I'm resorting my various libraries into a single directory, mostly because of the way visual studio now allows users to add directories, but also partly because of the discussion we had about depreciating the LIB_TAG option. However, when I do so, and when I specify this directory using -DCMAKE_LIBRARY_PATH the Agg library is not found. Checking the findAGG module it seems rather complex by comparison to e.g. findFreetype. It seems that AGG is not being found because on windows PKG_CONFIG_EXECUTABLE is false, so the variable _AGGLinkFlags isn't set and findAGG therefore doesn't ever look for the library. Commenting out the if(_AGGLinkFlags) line allows AGG to be found correctly.

Is there any need for all the pkgconfig stuff?

Phil
------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel
------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to