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
plGetName: Length of full pathname of file to be found is 55
*plGetName: Full pathname of file to be found is
C:/plplot\data\C:/plplot/data/c
map0_default.pal
plLibOpenPdfstr: Found file C:/plplot/data/cmap0_default.pal in current
directo
ry.*
**** PLPLOT WARNING ***
Unrecognized cmap0 format data line. Line is #000000*
plGetName: Length of full pathname of file to be found is 55
plGetName: Full pathname of file to be found is
C:/plplot\data\C:/plplot/data/c
map0_default.pal
plLibOpenPdfstr: Found file C:/plplot/data/cmap0_default.pal in current
directo
ry.
*** PLPLOT WARNING ***
Unrecognized cmap0 format data line. Line is #000000
plGetName: Length of full pathname of file to be found is 55
plGetName: Full pathname of file to be found is
C:/plplot\data\C:/plplot/data/c
map1_default.pal
plLibOpenPdfstr: Found file C:/plplot/data/cmap1_default.pal in current
directo
ry.
WM_ERASEBKGND WM_SIZE ResizingScale = 41.372475 (FLT)
Start of Page WM_ERASEBKGND plGetName: Length of full pathname of file
to b
e found is 34
plGetName: Full pathname of file to be found is C:/plplot\data\plxtnd5.fnt
plLibOpenPdfstr: Found file C:/plplot\data\plxtnd5.fnt
End of the page
WM_PAINT PopupQuitplD_tidy_wingcc
=====
I first thought it was due to the weird pathname of the file but
cmap1_default.pal does not seem to raise a similar flag.
I also tried "x01.exe -cmap0 C:\plplot\data\cmap0_alternate.pal" and I get a
similar message except that the first warning is:
Line is #ffffff (contents of the alternate.pal) while the second warning
remains the same. cmap0_black_on_white.pal does change the default color to
black but the warnings remain.
I checked the *.pal files for any unseen symbols (as in ^M ^T etc.) and none
exist.
Ankur
On Thu, Apr 1, 2010 at 4:01 PM, Werner Smekal <[email protected]>wrote:
>
> > 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_DEFAULT_CMAP0_FILE "cmap0_default.pal"
> > #define PL_DEFAULT_CMAP1_FILE "cmap1_default.pal"
> >
> > Are these kosher? since no path is present, where does it seek the same?
>
> in the data directory. Could you try run the example like that
>
> x01c -givemehelpplease (or similar ;)
>
> a list of command line options will be displayed. There must be an
> option -debug and an option -verbose (or similar) - I can't remember
> right now the correct options, it's too late already (1am). Run the exe
> with both. There should be some info where the plplot library looks for
> files. Send the output to the list.
>
> Good night,
> Werner
> >
> > Thanks for your patience!
> > Ankur
> >
> > On Thu, Apr 1, 2010 at 2:51 PM, Werner Smekal <[email protected]
> > <mailto:[email protected]>> wrote:
> >
> > 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 be
> > better
> >
> > -DCMAKE_INSTALL_PREFIX=c:\plplot\buildming\install
> >
> > This could be the reason of your cmap file problems, don't know -
> > maybe
> > it tries to copy files in the data directory in the same files,
> > corrupting them. But in any way, it's no good to install the files
> > into
> > your source directory. Delete your source directory and fetch a
> > new one.
> >
> > To run the examples you don't need to install plplot anyway. They run
> > fine in the build tree (-DBUILD_TEST=ON is for that purpose).
> >
> > HTH,
> > Werner
> >
> > --
> > Dr. Werner Smekal
> > Institut fuer Angewandte Physik
> > Technische Universitaet Wien
> > Wiedner Hauptstr 8-10/134
> > A-1040 Wien
> > Austria
> > DVR-Nr: 0005886
> >
> > email: [email protected] <mailto:[email protected]>
> > (GPG: EDCAF4A79)
> > web:
> > http://www.iap.tuwien.ac.at/~smekal<http://www.iap.tuwien.ac.at/%7Esmekal>
> > <http://www.iap.tuwien.ac.at/%7Esmekal>
> > phone: +43-(0)1-58801-13463 (office)
> > +43-(0)1-58801-13469 (laboratory)
> > fax: +43-(0)1-58801-13499
> >
> >
> >
> ------------------------------------------------------------------------------
> > Download Intel® Parallel Studio Eval
> > Try the new software tools for yourself. Speed compiling, find bugs
> > proactively, and fine-tune applications for parallel performance.
> > See why Intel Parallel Studio got high marks during beta.
> > http://p.sf.net/sfu/intel-sw-dev
> > _______________________________________________
> > Plplot-general mailing list
> > [email protected]
> > <mailto:[email protected]>
> > https://lists.sourceforge.net/lists/listinfo/plplot-general
> >
> >
>
>
> --
> Dr. Werner Smekal
> Institut fuer Angewandte Physik
> Technische Universitaet Wien
> Wiedner Hauptstr 8-10/134
> A-1040 Wien
> Austria
> DVR-Nr: 0005886
>
> email: [email protected] (GPG: EDCAF4A79)
> web:
> http://www.iap.tuwien.ac.at/~smekal<http://www.iap.tuwien.ac.at/%7Esmekal>
> phone: +43-(0)1-58801-13463 (office)
> +43-(0)1-58801-13469 (laboratory)
> fax: +43-(0)1-58801-13499
>
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Plplot-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-general