Possibly not.
Unless of course I hit a snag with the wxWidgets changes and it takes me longer than expected to provide the patch.
Just so that you know where I'm coming from I'm trying to "organise" my various libraries into a Linux style usr/local directory structure. Windows doesn't have any standards really regarding libraries that are easy to use for development so I thought I'd copy the Linux one. It should also make using Cmake a little easier

I found another couple of items that could help with the cross platform finding of libraries.
The nmake build for shapelib gives the library a base name of shaplib rather than shp for the makefile build.

Another, possibly useless issue is that the FindFreetype module also fails to find freetype unless it is in the expected Redhat install location (based on my Centos work PC). It failed to find freetype on my Ubuntu PC and on my Windows system

I've created a patch which addresses both these issues so now CMake can find these libraries on Windows as well as Linux and I've tested it on Windows and Ubuntu.

Phil


On Tuesday, 25 February 2014, 20:20, Werner Smekal <werner.sme...@miscdebris.net> wrote:
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


Attachment: modules.patch
Description: Binary data

------------------------------------------------------------------------------
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