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 (or build) cairo and pkg-config (and
> glib?).  But when trying to install GTK+ it just seemed to work.  Obv.
> the PKG_CONFIG_PATH is not being set appropriately.

Yes, you need to set PKG_CONFIG_PATH on your own - I wrote about that in
a former post:

http://www.mail-archive.com/[email protected]/msg01439.html

Instead of gtk 2.12 you should download the latest all in one bundle
2.18 from here:

http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.18/gtk+-bundle_2.18.7-20100213_win32.zip

I'll add that to the wiki.

> 
> The contents of my batch file are:
> cd buildmingw
> set PATH=%PATH%;C:\gtk\bin
> cmake -G "MinGW Makefiles" -DBUILD_TEST=ON -DCMAKE_INSTALL_PREFIX=install ..
> set PATH=%PATH%;C:\plplot-5.9.5\buildmingw\dll
> mingw32-make
> mingw32-make install
> 
> (I chose to build examples as I couldnt do it otherwise but thats for
> later).
> 
> 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_dir/cairo.rc
> [ 38%] Generating test_dyndrivers_dir/qt.rc
> 
> This application has requested the Runtime to terminate it in an unusual
> way.
> Please contact the application's support team for more information.
> 
> This application has requested the Runtime to terminate it in an unusual
> way.
> Please contact the application's support team for more information.
> mingw32-make[2]: *** [drivers/test_dyndrivers_dir/qt.rc] Error 3
> mingw32-make[1]: *** [drivers/CMakeFiles/test_dyndrivers.dir/all] Error 2
> mingw32-make: *** [all] Error 2
> *********

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?

> 
> Following this, the "mingw32-make install" gets completed without
> issues.  However, when running an example from
> C:\plplot-5.9.5\buildmingw\examples\C++, I universally get the following
> message (twice):
> 
> =====
> *** PLPLOT WARNING ***
> Unrecognized cmap0 format data line.  Line is #000000
> =====
> 
> This leads to all the examples to have a white background.  I tried
> using the command line option of -cmap0 filename and -bg color but
> without success. 

I'm not sure about this one, but did you set the PLPLOT_LIB environment
variable, in your case this would be

set PLPLOT_LIB=C:\plplot-5.9.5\data

Did you use the latest svn? Or how did you get the source code? Maybe
the svn properties are wrong for these files.

Do you have the same problem with the C examples?
> 
> If someone can point out the source of this cmap0 warning and also, how
> to definitively install the necessary packages cairo/pkg-config/glib
> that'd be great.
> 
> Please let me know if you need more information.  (Note that the mingw
> environment used was the one that came when installing Qt.)

I've never done that, but it shouldn't be a problem.

HTH,
Werner
> 
> Thank you.
> 
> 
> 
> ------------------------------------------------------------------------------
> 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


-- 
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
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

Reply via email to