I have successfully "installed" (all you have to do is download it & 
unzip it) GTK+ on windows from here:
http://www.gtk.org/download-windows.html
Using the GTK+ 2.18 all-in-one bundle, which includes cairo & 
pkg-config. I was able to build plplot with the cairo drivers and I got 
the build tree examples compiled and working.

Now that I have pkg-config I've been attempting to build the examples in 
the install tree and have run into a problem:

C:\Program Files\plplot\share\plplot5.9.5\examples>mingw32-make VERBOSE=1
"C:\Program Files\CMake 2.6\bin\cmake.exe" -H"C:\Program 
Files\plplot\share\plplot5.9.5\examples" -B"C:\Program 
Files\plplot\share\plplot5.9.5\examples" --check-build-system 
CMakeFiles\Makefile.cmake 0
"C:\Program Files\CMake 2.6\bin\cmake.exe" -E cmake_progress_start 
"C:\Program Files\plplot\share\plplot5.9.5\examples\CMakeFiles" 
"C:\Program 
Files\plplot\share\plplot5.9.5\examples\CMakeFiles\progress.make"
mingw32-make -f CMakeFiles\Makefile2 all
mingw32-make[1]: Entering directory `C:/Program 
Files/plplot/share/plplot5.9.5/examples'
mingw32-make -f c\CMakeFiles\ext-cairo-test.dir\build.make 
c/CMakeFiles/ext-cairo-test.dir/depend
mingw32-make[2]: Entering directory `C:/Program 
Files/plplot/share/plplot5.9.5/examples'
"C:\Program Files\CMake 2.6\bin\cmake.exe" -E cmake_depends "MinGW 
Makefiles" "C:\Program Files\plplot\share\plplot5.9.5\examples" 
"C:\Program Files\plplot\share\plplot5.9.5\examples\c" "C:\Program 
Files\plplot\share\plplot5.9.5\examples" "C:\Program 
Files\plplot\share\plplot5.9.5\examples\c" "C:\Program 
Files\plplot\share\plplot5.9.5\examples\c\CMakeFiles\ext-cairo-test.dir\DependInfo.cmake"
 
--color=
mingw32-make[2]: Leaving directory `C:/Program 
Files/plplot/share/plplot5.9.5/examples'
mingw32-make -f c\CMakeFiles\ext-cairo-test.dir\build.make 
c/CMakeFiles/ext-cairo-test.dir/build
mingw32-make[2]: Entering directory `C:/Program 
Files/plplot/share/plplot5.9.5/examples'
"C:\Program Files\CMake 2.6\bin\cmake.exe" -E cmake_progress_report 
"C:\Program Files\plplot\share\plplot5.9.5\examples\CMakeFiles" 19
[  1%] Building C object 
c/CMakeFiles/ext-cairo-test.dir/ext-cairo-test.c.obj
cd C:\PROGRA~1\plplot\share\PLPLOT~1.5\examples\c && 
C:\MinGW\bin\gcc.exe   -IC:\Program -I"C:\Program 
Files\plplot\share\plplot5.9.5\examples\c\Files\plplot\include\plplot" 
  -IC:/gtk/include/cairo -IC:/gtk/include/freetype2 -IC:/gtk/include 
-IC:/gtk/include/libpng12 -o 
CMakeFiles\ext-cairo-test.dir\ext-cairo-test.c.obj   -c "C:\Program 
Files\plplot\share\plplot5.9.5\examples\c\ext-cairo-test.c"
C:\Program 
Files\plplot\share\plplot5.9.5\examples\c\ext-cairo-test.c:6:20: 
plplot.h: No such file or directory
C:\Program Files\plplot\share\plplot5.9.5\examples\c\ext-cairo-test.c: 
In function `main':
C:\Program 
Files\plplot\share\plplot5.9.5\examples\c\ext-cairo-test.c:16: error: 
`PL_PARSE_FULL' undeclared (first use in this function)
C:\Program 
Files\plplot\share\plplot5.9.5\examples\c\ext-cairo-test.c:16: error: 
(Each undeclared identifier is reported only once
C:\Program 
Files\plplot\share\plplot5.9.5\examples\c\ext-cairo-test.c:16: error: 
for each function it appears in.)
C:\Program 
Files\plplot\share\plplot5.9.5\examples\c\ext-cairo-test.c:20: error: 
`PLESC_DEVINIT' undeclared (first use in this function)
mingw32-make[2]: *** 
[c/CMakeFiles/ext-cairo-test.dir/ext-cairo-test.c.obj] Error 1
mingw32-make[2]: Leaving directory `C:/Program 
Files/plplot/share/plplot5.9.5/examples'
mingw32-make[1]: *** [c/CMakeFiles/ext-cairo-test.dir/all] Error 2
mingw32-make[1]: Leaving directory `C:/Program 
Files/plplot/share/plplot5.9.5/examples'
mingw32-make: *** [all] Error 2

I think the problem is this line:
C:\MinGW\bin\gcc.exe   -IC:\Program -I"C:\Program 
Files\plplot\share\plplot5.9.5\examples\c\Files\plplot\include\plplot" 
  -IC:/gtk/include/cairo -IC:/gtk/include/freetype2 -IC:/gtk/include 
-IC:/gtk/include/libpng12 -o

Specifically it looks like:
C:\Program Files\plplot\share\plplot5.9.5\examples\c
and what I think should be:
C:\Program Files\plplot\include\plplot

Have been horribly munged together?

-Hazen


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to