Content-Type: multipart/alternative; boundary="-1338226463-1668434065-1393366319=:78391" ---1338226463-1668434065-1393366319=:78391 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Possibly not.=0AUnless of course I hit a snag with the wxWidgets changes an= d it takes me longer than expected to provide the patch.=0AJust so that you= know where I'm coming from I'm trying to "organise" my various libraries i= nto a Linux style usr/local directory structure. Windows doesn't have any s= tandards really regarding libraries that are easy to use for development so= I thought I'd copy the Linux one. It should also make using=A0Cmake a litt= le easier=0A=0AI found another couple of items that could help with the cro= ss platform finding of libraries.=0AThe nmake build for shapelib gives the = library a base name of shaplib rather than shp for the makefile build.=0A= =0AAnother, possibly useless issue is that the FindFreetype module also fai= ls to find freetype unless it is in the expected=A0Redhat install=A0locatio= n (based on my Centos work PC). It failed to find freetype on my Ubuntu PC= =A0and on my Windows system=0A=0AI've created a patch which addresses both = these issues so now CMake can find these libraries on Windows as well as Li= nux and I've tested it on Windows and Ubuntu.=0A=0APhil=0A=0A=0A=0AOn Tuesd= ay, 25 February 2014, 20:20, Werner Smekal w= rote:=0A =0AHi Phil,=0A=0Athis was way back, when we switched to the cmake= build system and my =0Aknowledge about cmake was not that good (is not tha= t good either, since =0Athe peak was 3 years ago ;). Anyway pkg_config is n= ot needed but useful =0Aif it's always there. I think gtk libraries are fou= nd that way as well =0Aas wxwidgets libraries on Linux/Mac OS X using wxcon= fig. Especially for =0AwxWidgets it makes the cmake module much easier (the= Windows part is a =0Amajor PITA).=0A=0ASo, I think the FindAGG module can = be changed not using pkg-config but =0Ayou should check if it still works f= or at least Linux. You could try to =0Afind another FindAGG module on the n= et. There might be other versions =0Awhich are better suited for your/our n= eeds.=0A=0AHTH,=0AWerner=0A=0A=0A =0A>phil rosenberg =0A>25 February 2014 = =0A13:29 =0A>Hi All=0A>I'm resorting my various libraries into a single dir= ectory, mostly because =0Aof the way visual studio now allows users to add = directories, but also =0Apartly because of the discussion we had about depr= eciating the LIB_TAG =0Aoption. However, when I do so, and when I specify t= his directory=A0using =0A-DCMAKE_LIBRARY_PATH the Agg library is not found.= Checking the findAGG =0Amodule it seems rather complex by comparison to e.= g. findFreetype. It =0Aseems that AGG is not being found because on windows= =0APKG_CONFIG_EXECUTABLE is false, so the variable _AGGLinkFlags isn't set= =0Aand findAGG therefore doesn't ever look for the library. Commenting out= =0Athe if(_AGGLinkFlags) line allows AGG to be found correctly.=0A>=0A>=0A= >Is there any need for all the pkgconfig stuff?=0A>=0A>=0A>Phil=0A>--------= ----------------------------------------------------------------------=0A>F= low-based=0A real-time traffic analytics software. Cisco certified tool.=0A= >Monitor =0Atraffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer= =0A>Customize=0A your own dashboards, set traffic alerts and generate repor= ts.=0A>Network=0A behavioral analysis & security monitoring. All-in-one too= l.=0A>http://pubads.g.doubleclick.net/gampad/clk?id=3D126839071&iu=3D/4140/= ostg.clktrk=0A>_______________________________________________=0A>Plplot-de= vel=0A mailing list=0A>Plplot-devel@lists.sourceforge.net=0A>https://lists.= sourceforge.net/lists/listinfo/plplot-devel=0A> ---1338226463-1668434065-1393366319=:78391 Content-Type: multipart/related; boundary="-1338226463-1737918755-1393366319=:78391" ---1338226463-1737918755-1393366319=:78391 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Possibly not.
Unless of cou= rse I hit a snag with the wxWidgets changes and it takes me longer than exp= ected to provide the patch.
Just so that you know wh= ere I'm coming from I'm trying to "organise" my various libraries into a Li= nux style usr/local directory structure. Windows doesn't have any standards= really regarding libraries that are easy to use for development so I thoug= ht I'd copy the Linux one. It should also make using Cmake a little ea= sier

I found another cou= ple of items that could help with the cross platform finding of libraries.<= /span>
The nmake build for shapelib gives the library a bas= e name of shaplib rather than shp for the makefile build.

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

I've cr= eated 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 Ub= untu.

Phil
<= div class=3D"yahoo_quoted" style=3D"display: block;">

On Tuesday, 25 = February 2014, 20:20, Werner Smekal <werner.smekal@miscdebris.net> wrote:
=
<= div>Hi Phil,
=0A
=0Athis was way back, = when we switched to the cmake build system and my =0Aknowledge about cmake = was not that good (is not that good either, since =0Athe peak was 3 years a= go ;). Anyway pkg_config is not needed but useful =0Aif it's always there. = I think gtk libraries are found that way as well =0Aas wxwidgets libraries = on Linux/Mac OS X using wxconfig. Especially for =0AwxWidgets it makes the = cmake module much easier (the Windows part is a =0Amajor PITA).
=0A
=0ASo, I think the FindAGG module can be chang= ed not using pkg-config but =0Ayou should check if it still works for at le= ast Linux. You could try to =0Afind another FindAGG module on the net. Ther= e might be other versions =0Awhich are better suited for your/our needs.=0A
=0AHTH,
=0AWerner=0A
=0A
=0A
=09
=0A = 25 February 2014 =0A13:29<= /div>
=0A
Hi All
I'm=0A resorting my various libraries= into a single directory, mostly because =0Aof the way visual studio now al= lows users to add directories, but also =0Apartly because of the discussion= we had about depreciating the LIB_TAG =0Aoption. However, when I do so, an= d when I specify this directory using =0A-DCMAKE_LIBRARY_PATH the Agg = library is not found. Checking the findAGG =0Amodule it seems rather comple= x by comparison to e.g. findFreetype. It =0Aseems that AGG is not being fou= nd because on windows =0APKG_CONFIG_EXECUTABLE is false, so the variable _A= GGLinkFlags isn't set =0Aand findAGG therefore doesn't ever look for the li= brary. Commenting out =0Athe if(_AGGLinkFlags) line allows AGG to be found = correctly.

Is=0A there any need for= all the pkgconfig=0A stuff?

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


---1338226463-1737918755-1393366319=:78391 Content-Type: image/jpeg; x-apple-mail-type=stationery; name="compose-unknown-contact.jpg" Content-Transfer-Encoding: base64 Content-Id: <1.2257229770@web120806.mail.ne1.yahoo.com> Content-Disposition: inline; filename="compose-unknown-contact.jpg" /9j/4AAQSkZJRgABAQEARwBHAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEC AQEBAQEBAgICAgICAgICAgICAgICAgICAgICAgICAgICAgL/2wBDAQEBAQEBAQICAgICAgIC AgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgL/wAAR CAAZABkDAREAAhEBAxEB/8QAGAAAAwEBAAAAAAAAAAAAAAAABgcICQr/xAA0EAABAwMCAgUK BwAAAAAAAAACAQMEBQYRABITIQcUMUF2CBUXIjI2N0JRtVRWkZOV0dL/xAAYAQEAAwEAAAAA AAAAAAAAAAADAAEEAv/EACQRAAICAAQGAwAAAAAAAAAAAAABAhEDMrHREyExM0FxgfDx/9oA DAMBAAIRAxEAPwDuEt+gW/ULet6oVC3rfqNQqFv0OfPn1GhUqfOmzZtKZlS5UqZMaNwzNwiJ VIl7eXLCaZIGwBl3TY8epPx2+jy2ZNPjvkwc9uhW8j7nCPhvOsQliYIeS7cvCpp8o50qwrC4 v3lsNSDbdmTEhvs2tahxpfV3WnmbbozJEw/gwdadbYExVRXKEKoSdvJcaOSqxE7/AAiX0gXx +a69/JSf9alIlste0VzaNpeFrcT9KKymotyiaZ0KRCnzacoE7Kjzn4gi2KqUh3jqDHDHv4mR UfruTWlMzlVUKIVNp9GguEJnAh0+IZjyAiisgyRDnu5azS8miKqjOTVkKqS/psG37fo1Fbab eg25b8eZPeFJBBJSjMG5HjMeyihnaauZwe4OGiju13GAcpOwBeN+U8/IkGbsiS8b7ryogmbz hbyc9REROfZhERO5ETShjPtvpGqTUyLErytS4siSwx5x2tRH4hPOI0DkjZtaJtFxuVEbIUUi yeNujlBUJGbJN6nM/Cyf2Hf60YgjvKA+NPSP4gT7axpcPtr51YWJnYn9dnAQWl722p4ot37y zqnlfp6FrqbwawG8/9k= ---1338226463-1737918755-1393366319=:78391-- ---1338226463-1668434065-1393366319=:78391--