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.

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

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.

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

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

Reply via email to