I would appreciate some help building plPlot using MinGW on a WinXP machine.
I want to use PLplot to output in a wxWidgets window.

My directory structure looks like this (showing only most important
directories):

MinGW
    lib
        (wxWidgets .dll.a and .dll libs are here.)
    bin
        (wxWidgets .dll libs are also here .)
    PLplot
        (plPlot source tree unzipped here from plplot-5.8.0-RC1.tar.gz)
        BuildMinGW
            (I'm trying to do the build in WinXP console here as
            described in the wiki page "Configure PLplot for MinGW/CLI".)

When I run cmake in BuildMinGW, it tells me that wxWidgets is not found.
(It also says that Pango is not found.  I'm not sure that matters, but the
libpango dlls are in the bin directory.)

Digging through the source tree, I found 16 files with names Find*.cmake.
However, I could not find a FindwxWidgets.cmake, even though the wiki page
"Configuration of wxWidgets driver" makes reference to it.  Is this the
problem?

I checked out the trunk version of the tree from Subversion and there is no
FindwxWidgets.cmake there either.

The output of CMAKE and the environment variables follow.

Thanks in advance for any help.  And thanks to the developers - this looks
like an amazing system, if I can get it working!

Jack Dodds
Geo Equipment Manufacturing Ltd.
Geotech Ltd.
245 Industrial Parkway North
Aurora, Ontario, Canada
L4G 4C4
Phone: 905-841-5004
Fax:   905-841-0611
Email: j...@geotech.ca



CMAKE OUTPUT -----------------------

C:\MinGW\PLplot\BuildMinGW>cmake -G "MinGW Makefiles"
      DCMAKE_INSTALL_PREFIX=install -DwxWidgets_LIBDIR=C:\MinGW\lib
      -DwxWidgets_CONFIGURATION=msw  ..
-- WARNING: bash shell not found, ctest will not work properly
-- Checking whether system has ANSI C header files
-- ANSI C header files - found
-- SWIG was not found. Please specify Swig executable location
-- X11_FOUND =
-- X11_INCLUDE_DIR =
-- X11_COMPILE_FLAGS =
-- X11_LIBRARIES =
-- X11_LIBRARY_DIR =
-- ENABLE_tcl is OFF so disabling everything else that is Tcl/Tk related
-- Looking for pkg-config - found
-- checking for module 'pango'
--   package 'pango' not found
-- WARNING: pkg-config does not find pango.
-- checking for module 'pangoft2'
--   package 'pangoft2' not found
-- WARNING: pkg-config does not find pangoft2.
-- WARNING: ENABLE_tk OFF.  Setting PLD_tk, PLD_ntk, and PLD_tkwin OFF.
-- Looking for gdi32 header and library
-- FindGDI32: Found gdi32 header file and library
-- Looking for gdi32 header and library - found
-- WARNING: wxWidgets not found so setting PLD_wxwidgets to OFF.

Summary of CMake build system results for PLplot

Install location variables which can be set by the user:
CMAKE_INSTALL_PREFIX:      C:/MinGW/PLplot/BuildMinGW/install
CMAKE_INSTALL_EXEC_PREFIX  C:/MinGW/PLplot/BuildMinGW/install
CMAKE_INSTALL_BINDIR       C:/MinGW/PLplot/BuildMinGW/install/bin
CMAKE_INSTALL_DATADIR      C:/MinGW/PLplot/BuildMinGW/install/share
CMAKE_INSTALL_LIBDIR       C:/MinGW/PLplot/BuildMinGW/install/lib
CMAKE_INSTALL_INCLUDEDIR   C:/MinGW/PLplot/BuildMinGW/install/include
CMAKE_INSTALL_INFODIR      C:/MinGW/PLplot/BuildMinGW/install/share/info
CMAKE_INSTALL_MANDIR       C:/MinGW/PLplot/BuildMinGW/install/share/man

Derived install location variables:
DATA_DIR        C:/MinGW/PLplot/BuildMinGW/install/share/plplot5.8.0-RC1
LIB_DIR         C:/MinGW/PLplot/BuildMinGW/install/lib
INCLUDE_DIR     C:/MinGW/PLplot/BuildMinGW/install/include/plplot
BIN_DIR         C:/MinGW/PLplot/BuildMinGW/install/bin
TCL_DIR         C:/MinGW/PLplot/BuildMinGW/install/share/plplot5.8.0-RC1/tcl
PYTHON_INSTDIR
DRV_DIR
C:/MinGW/PLplot/BuildMinGW/install/lib/plplot5.8.0-RC1/driversd
DOC_DIR         C:/MinGW/PLplot/BuildMinGW/install/share/doc/plplot
MAN_DIR         C:/MinGW/PLplot/BuildMinGW/install/share/man
INFO_DIR        C:/MinGW/PLplot/BuildMinGW/install/share/info

Other important CMake variables:

CMAKE_SYSTEM_NAME:      Windows
UNIX:
WIN32:                  1
APPLE:
MSVC:                           (MSVC_VERSION:  )
MINGW:                  1
MSYS:
CYGWIN:
BORLAND:
WATCOM:

SWIG_FOUND:             FALSE
PERL_FOUND:             TRUE
X11_FOUND:

CMAKE_BUILD_TYPE:
CMAKE_C_COMPILER CMAKE_C_FLAGS:                 C:/MinGW/bin/gcc.exe
CMAKE_CXX_COMPILER CMAKE_CXX_FLAGS:             C:/MinGW/bin/g++.exe
LIB_TAG:                d

ENABLE_DYNDRIVERS:      OFF
DRIVERS_LIST: hpgl;mem;null;pbm;ps;svg;wingcc;xfig
DEVICES_LIST: hp7470;hp7580;lj_hpgl;mem;null;pbm;ps;svg;wingcc;xfig

Library options:
BUILD_SHARED_LIBS:      ON              PL_DOUBLE:      ON

Optional libraries:
HAVE_QHULL:             OFF             WITH_CSA:       ON
HAVE_FREETYPE:                          HAVE_PTHREAD:
HAVE_AGG:

Language Bindings:
ENABLE_f77:             OFF             ENABLE_f95:             OFF
ENABLE_cxx:             ON              ENABLE_java:            OFF
ENABLE_python:          OFF             ENABLE_octave:          OFF
ENABLE_tcl:             OFF             ENABLE_itcl:            OFF
ENABLE_tk:              OFF             ENABLE_itk:             OFF
ENABLE_pdl:             OFF             ENABLE_wxwidgets:       OFF
ENABLE_gnome2:          OFF             ENABLE_pygcw:           OFF
ENABLE_ada:             OFF

-- Configuring done
CMake Warning (dev) at src/CMakeLists.txt:129 (add_library):
  Policy CMP0003 should be set before this line.  Add code such as

    if(COMMAND cmake_policy)
      cmake_policy(SET CMP0003 NEW)
    endif(COMMAND cmake_policy)

  as early as possible but after the most recent call to
  cmake_minimum_required or cmake_policy(VERSION).  This warning appears
  because target "plplotd" links to some libraries for which the linker must
  search:

    gdi32, comdlg32

  and other libraries with known full path:

    C:/MinGW/PLplot/BuildMinGW/dll/libcsirocsa.dll.a

  CMake is adding directories in the second list to the linker search path
in
  case they are needed to find libraries from the first list (for backwards
  compatibility with CMake 2.4).  Set policy CMP0003 to OLD or NEW to enable
  or disable this behavior explicitly.  Run "cmake --help-policy CMP0003"
for
  more information.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
-- Build files have been written to: C:/MinGW/PLplot/BuildMinGW



ENVIRONMENT VARIABLES-------------------------

C:\MinGW\PLplot\BuildMinGW>SET
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\jack.dodds\Application Data
CLIENTNAME=Console
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=SHAWN-XPWKST
ComSpec=C:\WINDOWS\system32\cmd.exe
CPLUS_INCLUDE_PATH=C:\MinGW\include\c++\3.4.5;C:\MinGW\include\c++\3.4.5\bac
kward;C:\MinGW\include\c++\3.4.5\mingw32;C:\MinGW\include
C_INCLUDE_PATH=C:\MinGW\include
FP_NO_HOST_CHECK=NO
GEDADATA=/geda/share/gEDA
GUILE_LOAD_PATH=c:\geda\share\guile\1.8
HOME=/home/jack
HOMEDRIVE=H:
HOMEPATH=\
HOMESHARE=\\oas.geotech.int\Jack.Dodds$
LIBRARY_PATH=C:\MinGW\lib
LOGONSERVER=\\EMS
NUMBER_OF_PROCESSORS=2
OnlineServices=Online Services
OS=Windows_NT
Path=C:\MinGW\bin;C:\Program Files\CMake 2.6\bin
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
Platform=BWS
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 23 Stepping 6, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=1706
ProgramFiles=C:\Program Files
PROMPT=$P$G
RoxioCentral=C:\Program Files\Common Files\Roxio Shared\9.0\Roxio Central33\
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOCUME~1\JACK~1.DOD\LOCALS~1\Temp
TMP=C:\DOCUME~1\JACK~1.DOD\LOCALS~1\Temp
USERDNSDOMAIN=GEOTECH.INT
USERDOMAIN=GEOTECH
USERNAME=jack.dodds
USERPROFILE=C:\Documents and Settings\jack.dodds
windir=C:\WINDOWS


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to