@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 environment variables.
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\Windows Imaging\;
C:\Program Files\Common Files\Lenovo;
C:\Program Files\CMake 2.8\bin;
Note that the last two entries (gtk and plplot dll's) are added by way of my batch file. As to your other question about cmap0, I dont know which cmap0 file is being used and how? I noticed there are cmap0*.pal and cmap1*.pal files in C:\plplot-5.9.5\data directory and I tried copying one of them and named it cmap0.pal but that didnt change anything.
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 before building and see what, if anything, changes. And yes, I have the same problems with C examples. (Those are the only 2 sets of examples I build). And, the source is obtained from sourceforge and not SVN.
Thank you very much for helping me through this.