Re: [Plplot-general] build errors and cmap0

2010-04-08 Thread Ankur Agarwal
Hi Werner, Yeah, as you mentioned my version of Mingw is also 4.4.0. I have not gone through the links you sent but looks like the problem is not "severe". Ankur On Thu, Apr 8, 2010 at 4:46 AM, Werner Smekal wrote: > Hi, > > On 4/8/10 1:34 PM, Werner Smekal wrote: > > Hi Ankur, > > > >> when r

Re: [Plplot-general] build errors and cmap0

2010-04-08 Thread Werner Smekal
Hi, On 4/8/10 1:34 PM, Werner Smekal wrote: > Hi Ankur, > >> when running "mingw32-make" command, the following error gets generated >> and when I re-run it, it just skips over and exits successfully. > >> * >> Scanning dependencies of target test_dyndrivers >> [ 38%] Generating test_dyn

Re: [Plplot-general] build errors and cmap0

2010-04-08 Thread Werner Smekal
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Ankur, > when running "mingw32-make" command, the following error gets generated > and when I re-run it, it just skips over and exits successfully. > > * > Scanning dependencies of target test_dyndrivers > [ 38%] Generating test_dyndrivers

Re: [Plplot-general] build errors and cmap0

2010-04-06 Thread Ankur Agarwal
for now I have added --- color_info[strlen(color_info)-] = '\0'; --- to plctrl.c as a workaround and now the cmap0_default.pal is being read in correctly. I have not tested this with other colormaps but I am guessing those should also work. Thanks! On Tue, Apr 6, 2010 at 7:18 PM, Ankur Agarwal w

Re: [Plplot-general] build errors and cmap0

2010-04-06 Thread Ankur Agarwal
ok ... I have an update on this issue: so I traced the source file (plctrl.c) from which the warnings are issued and added in some diagnostic statements to assess. when "cmap0_palette_read" is invoked: cmap0_default.pal is correctly identified and the file is read in and "number_colors" is correc

Re: [Plplot-general] build errors and cmap0

2010-04-01 Thread Ankur Agarwal
Thanks Werner ... the -verbose option gives some insight into the issue ... I am including the output when I run "x01.exe -verbose" below: == Enter device number or keyword: 1 plLoadDriver: Device not loaded! plLoadDriver: tag=wingcc, drvidx=6 plLoadDriver: Trying to load wingcc on wingcc plGe

Re: [Plplot-general] build errors and cmap0

2010-04-01 Thread Werner Smekal
> should the *.pal files be there in C:\plplot\data only or also be > present in C:\plplot\buildmingw\data? c:\plplot\data and in the install directory if you install. They aren't copied into the build tree. > > I noted that my config.h file (in C:\plplot\buildmingw) has these lines: > #define PL

Re: [Plplot-general] build errors and cmap0

2010-04-01 Thread Ankur Agarwal
well ... the results are unexpected (or may be expected considering how things are going for me) :P -DENABLE_DYN_DRIVERS=OFF option does nothing to suppress the unexpected termination when running mingw32-make command. the PKG_CONFIG_PATH warning was suppressed and I made the edit to my DCMAKE_INS

Re: [Plplot-general] build errors and cmap0

2010-04-01 Thread Werner Smekal
Hi Ankur, one more thing: > cmake .. -G "MinGW Makefiles" > -DPKG_CONFIG_EXECUTABLE=C:\gtk\bin\pkg-config.exe -DBUILD_TEST=ON > -DCMAKE_INSTALL_PREFIX=C:\plplot -DCMAKE_INSTALL_PREFIX=C:\plplot is a very bad idea, since you install the plplot install files into your source directory. This would b

Re: [Plplot-general] build errors and cmap0

2010-04-01 Thread Werner Smekal
Hi Ankur, > the cmake command still flags that PKG_CONFIG_PATH is not appropriate: > -- WARNING: pango, pangoft2, or lasi not found with pkg-config. >Setting PLD_psttf to OFF. Please install all of these packages >and/or set the environment variable PKG_CONFIG_PATH appropriately. The pstt

Re: [Plplot-general] build errors and cmap0

2010-04-01 Thread Ankur Agarwal
Ok, I tested the exact command as Hazen and it still gives me same messages. PATH to begin with is: C:\Qt\2010.02.1\qt\bin C:\Qt\2010.02.1\bin C:\Qt\2010.02.1\mingw\bin C:\program files\cmake\2.8\bin My batch file to build plplot is: set PKG_CONFIG_PATH=C:\gtk\lib\pkgconfig set PLPLOT_LIB=C:\plp

Re: [Plplot-general] build errors and cmap0

2010-04-01 Thread Ankur Agarwal
Thanks Hazen. I am revisited this and notice that my C:\plplot-5.9.5\buildmingw\data directory has no cmap*.pal files. The contents are: CMakeFiles (directory) Makefile CTestTestfile.cmake cmake_install.cmake Could this be the problem? I am going to try using the exact command you posted. SWIG

Re: [Plplot-general] build errors and cmap0

2010-03-29 Thread Hazen Babcock
Ankur Agarwal wrote: > Hazen, > > Tried with the simplified PATH as you suggested but the experience is > the same. > > Also, the cmap0_default.pal contents are as you wrote. > > Ankur > Hm, not sure what the problem is then. I assume that you have a relatively recent version of Qt? On my

Re: [Plplot-general] build errors and cmap0

2010-03-29 Thread Werner Smekal
Hi Alan, > But as far > as I know nobody has built or tested the qt device driver yet on Windows so > more may be required on that platform as suggested by Werner above. I did it ;). And I even put the information on the wiki: http://www.miscdebris.net/plplot_wiki/index.php?title=Qt#MinGW So se

Re: [Plplot-general] build errors and cmap0

2010-03-29 Thread Ankur Agarwal
Hazen, Tried with the simplified PATH as you suggested but the experience is the same. Also, the cmap0_default.pal contents are as you wrote. Ankur On Mon, Mar 29, 2010 at 12:41 PM, Hazen Babcock wrote: > Ankur Agarwal wrote: > >> @Hazen: >> I am trying to install 5.9.5 and not the SVN head.

Re: [Plplot-general] build errors and cmap0

2010-03-29 Thread Ankur Agarwal
Werner, Exactly the same experience with the newer version. 1. PKG_CONFIG_PATH environment variable warning 2. qt.rc etc. errors 3. cmap0 warning Ankur On Mon, Mar 29, 2010 at 12:16 PM, Werner Smekal wrote: > Hi Ankur, > > @Werner: > > I have the C:\Qt\2010.02.01\qt\bin in my PATH. (Unless the

Re: [Plplot-general] build errors and cmap0

2010-03-29 Thread Hazen Babcock
Alan W. Irwin wrote: > On 2010-03-29 20:42+0200 Werner Smekal wrote: > >> Here I believe, that the qt.dlls are not found, it doesn't seem to choke >> on the cairo driver but on the qt driver. Are the qt.dlls in the path? > > The first thing to try is to put qmake on your PATH. That is all that i

Re: [Plplot-general] build errors and cmap0

2010-03-29 Thread Hazen Babcock
Ankur Agarwal wrote: > @Hazen: > I am trying to install 5.9.5 and not the SVN head. I got the source > files from the sourceforge link. My PATH parameter is: > > C:\Program Files\ImageMagick-6.6.0-Q16; > C:\Program Files\Vim\vim72; > C:\Program Files\GnuWin32\bin; > C:\Program Files\Intel\MKL\1

Re: [Plplot-general] build errors and cmap0

2010-03-29 Thread Alan W. Irwin
On 2010-03-29 20:42+0200 Werner Smekal wrote: > Here I believe, that the qt.dlls are not found, it doesn't seem to choke > on the cairo driver but on the qt driver. Are the qt.dlls in the path? The first thing to try is to put qmake on your PATH. That is all that is required on Linux, and _may_

Re: [Plplot-general] build errors and cmap0

2010-03-29 Thread Ankur Agarwal
Werner, Sure, I can do that. Also, I tried setting the PKG_CONFIG_PATH (C:\gtk\lib\pkgconfig) and PLPLOT_LIB (C:\plplot-5.9.5\data) environment variables and while building it warns me: *** -- WARNING: pango, pangoft2, or lasi not found with pkg-config. Setting PLD_psttf to OFF. Please insta

Re: [Plplot-general] build errors and cmap0

2010-03-29 Thread Werner Smekal
Hi Ankur, > @Werner: > I have the C:\Qt\2010.02.01\qt\bin in my PATH. (Unless the dll's plplot > is looking for in another directory) I will follow the instructions > from your post and report back on the results. And, I did not set the > PLPLOT_LIB environment variable. Will try that as well b

Re: [Plplot-general] build errors and cmap0

2010-03-29 Thread Ankur Agarwal
@Vincenzo and Hazen: Regarding gtk+, that is what I installed and figured to set it in my PATH before building plplot. I was not sure if that was the way to go. Thank you for the confirmation. That also included pkg-config and I will follow the instructions from Werner to set the other environme

Re: [Plplot-general] build errors and cmap0

2010-03-29 Thread Werner Smekal
Hi, On 3/28/10 11:42 PM, Ankur Agarwal wrote: > Hello, > > I am trying to build plplot on Windows XP and although I was able to get > it going I have some errors that I cannot figure. > > I use a batch file to build the install (using instruction on the wiki > page). I couldnt figure how to get

Re: [Plplot-general] build errors and cmap0

2010-03-29 Thread Hazen Babcock
Vincenzo Urso Miano wrote: > Hi, > I am trying to get plplot working on Win XP as well. I built it with > MinGW. Regarding Pkg-config and glib I downloaded the binaries, id not > have to build them. > you can find them here: > http://www.gtk.org/download-windows.html > Hope that helps > Vince This

Re: [Plplot-general] build errors and cmap0

2010-03-29 Thread Vincenzo Urso Miano
Hi, I am trying to get plplot working on Win XP as well. I built it with MinGW. Regarding Pkg-config and glib I downloaded the binaries, id not have to build them. you can find them here: http://www.gtk.org/download-windows.html Hope that helps Vince 2010/3/28 Ankur Agarwal : > Hello, > > I am tr

[Plplot-general] build errors and cmap0

2010-03-28 Thread Ankur Agarwal
Hello, I am trying to build plplot on Windows XP and although I was able to get it going I have some errors that I cannot figure. I use a batch file to build the install (using instruction on the wiki page). I couldnt figure how to get (or build) cairo and pkg-config (and glib?). But when tryin