Re: [Plplot-devel] Cross compilation

2009-03-04 Thread Thomas Stover
OK after many, many steps, I built x01c.c for x86_64 windows from an ubuntu x86_64 box. pngcairo works fine. Mono and color ps crashes though. Also I never was able to disable pkg-config, which may or may not be why during the build process I had to obtain the import libs for things like freety

Re: [Plplot-devel] Cross compilation

2009-03-04 Thread Thomas Stover
Thomas Stover wrote: > Andrew Ross wrote: >> Agh! I think the problem might be that the .rc files are blank. >> Just as a test could you try addding the following to cairo.rc >> (include only the lines referring to the drivers you have) >> >> xcairo:Cairo X

Re: [Plplot-devel] Cross compilation

2009-03-04 Thread Thomas Stover
Andrew Ross wrote: > Agh! I think the problem might be that the .rc files are blank. > Just as a test could you try addding the following to cairo.rc > (include only the lines referring to the drivers you have) > > xcairo:Cairo X Windows Driver:1:cairo:59:xcairo > pdfcairo:Cairo PDF Driver:0:cairo:

Re: [Plplot-devel] Cross compilation

2009-03-04 Thread Thomas Stover
>> >> -Anyway, example1 runs on my windows machine with this errorish >> condition: >> *** PLPLOT ERROR, ABORTING OPERATION *** >> plInitDispatchTable: Could not open drivers directory, aborting >> operation >> PLplot library version: 5.9.2 >> got here -- 0 > > You are using the dynamic drivers

Re: [Plplot-devel] Cross compilation was build problems

2009-03-03 Thread Thomas Stover
>> >> The current stumbling block for the cairo drivers is that they use >> pkg-config to get the correct paths and libraries to link in. This won't >> work on a cross-compiled environment unless you provide suitable >> pkg-config >> files from a cross-compiled version of cairo. This should be po

Re: [Plplot-devel] Cross compilation

2009-03-03 Thread Thomas Stover
Andrew Ross wrote: > Thomas, > > I've now done the necessary changes to plplot to allow a cmake > cross-compilation of at least the basic library. See the plplot wiki > http://www.miscdebris.net/plplot_wiki/index.php?title=Main_Page > for instructions. I have cross-compiled for mingw32 under linu

Re: [Plplot-devel] Cross compilation was build problems

2009-03-02 Thread Thomas Stover
Is there an "official" precompiled release for win32 and/or win64? If that were the case I would just use that, and bring it into my cross environment. On the other hand, if the standard installation is for one is to build their own for maximum tool chain & platform compatibility, then cross c

Re: [Plplot-devel] Cross compilation was build problems

2009-03-02 Thread Thomas Stover
\ ./win32/csirocsa.dll.a `pkg-config --libs cairo` -o ./win32/test1.exe clean: rm -f ./objwin32/* rm -f ./win32/* Thomas Stover wrote: > Correction, it works. I just had to properly set the hard coded data > directory. Actual cross

Re: [Plplot-devel] Cross compilation was build problems

2009-03-02 Thread Thomas Stover
Correction, it works. I just had to properly set the hard coded data directory. Actual cross compile test comming soon... -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the b

Re: [Plplot-devel] Cross compilation was build problems

2009-03-02 Thread Thomas Stover
Alan W. Irwin wrote: > I think doing your own specific Makefile based build system for PLplot > would > work, but I also think it would take a rather large effort on your > part with > no beneficial networking effects at all (nobody else would use your > approach > so you could gain little help

[Plplot-devel] Cross compilation was build problems

2009-03-02 Thread Thomas Stover
Thanks for the input on cross compiling with cmake. Using the latest version of cmake, and the documentation I made a number of attempts to use mingw to build a win32 plplot from a linux host. By the end of the day Friday I reached the conclusion that although this is probably possible using th

Re: [Plplot-devel] build problems

2009-02-27 Thread Thomas Stover
/mingw/lib/pkgconfig. I also have a similar working win64 tool chain. (this is rapidly becoming my exclusive approach to windows development btw) Before I go to that though, the more relevant question would be will "extcairo" work on windows? Alan W. Irwin wrote: > On 2009-02-25 1

[Plplot-devel] build problems

2009-02-25 Thread Thomas Stover
Hi, I just signed up to the list, so my apologies if my post is completely out of whack. -Firstly the documentation (wiki & INSTALL) use a file named plplot_cmake. This file is not present in either 5.9.2 source tree nor the current svn trunk. I think the file I need is this one called "CMakeL