Hi Hazem, Arjen, Alan
Encouraged by your success I tried again to get plplot installed but I still
cannot get past the problem with test-drv-info terminating improperly.
I tried to use the same configuration as Hazem reported success with last
week.
On an old (but fully updated) 32 bit Windows XP machine I installed
ftp://ftp.qt.nokia.com/qtsdk/qt-sdk-win-opensource-2009.05.exe from
ftp://ftp.qt.nokia.com/qtsdk/ and verified that it is Qt v4.6.0.
I installed cmake 2.8.4 from
http://www.cmake.org/cmake/resources/software.html
I added C:\Qt\2009.05\mingw\bin;C:\Qt\2009.05\qt\bin to my PATH variable to
use the included copy of MinGW and to let Cmake find to Qt installation.
I downloaded Plplot 5.9.6, made a build directory and from within it ran
cmake -G "MinGW Makefiles" -DCMAKE_INSTALL_PREFIX=install ..
followed by
mingw32-make
and I get the test-drv-info qt error.
I tried using the latest version of MinGW by downloading
mingw-get-inst-20110530.exe from
http://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/mi
ngw-get-inst/ and installing to C:\MinGW.
I changed my PATH variable to point to that instead of the one provided with
Qt, but I still got the same error.
I wondered whether the problem was to do with latest Windows XP updates from
Microsoft so using VirtualBox I made a new virtual XP machine and installed
XP SP2 into it and disabled all updating. Then on this clean machine I
repeated the process above but I still got the same error.
So, my question is, how is my configuration different from yours? You
mentioned using cmake 2.8, but that does not seem to be available on the
cmake website, there is only versions 2.8.4 or 2.6.4 available. You also
mentioned MinGW 5.1.4, but I can't find anywhere which tells me exactly
which version it is which is included with the Qt SDK, or which the current
installer downloads. If you can tell me where to find the versions you used
I will try them.
I also ran the cmake with output redirected to the attached file cmake.txt,
some of the output still appeared on the screen and I pasted that into the
attached file cmakescreen.txt. Maybe it helps?
Thanks very much everyone for your help and interest
Regards
Richard
-----Original Message-----
From: Arjen Markus [mailto:arjen.mar...@deltares.nl]
Sent: 01 June 2011 07:34
To: Hazen Babcock
Cc: plplot-devel@lists.sourceforge.net
Subject: Re: [Plplot-devel] Instructing CMake to find Qt4 ...
Hi Hazen,
On Tue, 31 May 2011 12:25:39 -0400
Hazen Babcock <hbabc...@mac.com> wrote:
>
> Hi Arjen,
>
> That was also my experience on 32 bit windows.
>
> Do you have access to a 64-bit windows machine?
>
yes, but it doesn't currently hav all the development
bits and pieces installed, so that will require some
extra work. But it ought to be worth the effort.
Regards,
Arjen
DISCLAIMER: This message is intended exclusively for the addressee(s) and
may contain confidential and privileged information. If you are not the
intended recipient please notify the sender immediately and destroy this
message. Unauthorized use, disclosure or copying of this message is strictly
prohibited.
The foundation 'Stichting Deltares', which has its seat at Delft, The
Netherlands, Commercial Registration Number 41146461, is not liable in any
way whatsoever for consequences and/or damages resulting from the improper,
incomplete and untimely dispatch, receipt and/or content of this e-mail.
----------------------------------------------------------------------------
--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel
C:\plplot-5.9.6\build>cmake -G "MinGW Makefiles" -DCMAKE_INSTALL_PREFIX=install
.. >cmake.txt
CMake Error: your Fortran compiler: "CMAKE_Fortran_COMPILER-NOTFOUND" was not fo
und. Please set CMAKE_Fortran_COMPILER to a valid compiler path or name.
CMake Error at C:/plplot-5.9.6/cmake/modules/language_support/cmake/CMakeTestAda
Compiler.cmake:48 (MESSAGE):
The Ada builder "GNAT_EXECUTABLE_BUILDER-NOTFOUND" is not able to compile,
bind, and link a simple test program.
It fails with the following output:
Change Dir: C:/plplot-5.9.6/build/language_tests/Ada/CMakeFiles/CMakeTmp
Run Build Command:C:/Qt/2009.05/mingw/bin/mingw32-make.exe
"C:\Program Files\CMake 2.8\bin\cmake.exe"
-HC:\plplot-5.9.6\build\language_tests\Ada\CMakeFiles\CMakeTmp
-BC:\plplot-5.9.6\build\language_tests\Ada\CMakeFiles\CMakeTmp
--check-build-system CMakeFiles\Makefile.cmake 0
"C:\Program Files\CMake 2.8\bin\cmake.exe" -E cmake_progress_start
C:\plplot-5.9.6\build\language_tests\Ada\CMakeFiles\CMakeTmp\CMakeFiles
C:\plplot-5.9.6\build\language_tests\Ada\CMakeFiles\CMakeTmp\CMakeFiles\progre
ss.marks
C:/Qt/2009.05/mingw/bin/mingw32-make.exe -f CMakeFiles\Makefile2 all
mingw32-make.exe[1]: Entering directory
`C:/plplot-5.9.6/build/language_tests/Ada/CMakeFiles/CMakeTmp'
C:/Qt/2009.05/mingw/bin/mingw32-make.exe -f
CMakeFiles\testadacompiler.dir\build.make
CMakeFiles/testadacompiler.dir/depend
mingw32-make.exe[2]: Entering directory
`C:/plplot-5.9.6/build/language_tests/Ada/CMakeFiles/CMakeTmp'
"C:\Program Files\CMake 2.8\bin\cmake.exe" -E cmake_depends "MinGW
Makefiles" C:\plplot-5.9.6\build\language_tests\Ada\CMakeFiles\CMakeTmp
C:\plplot-5.9.6\build\language_tests\Ada\CMakeFiles\CMakeTmp
C:\plplot-5.9.6\build\language_tests\Ada\CMakeFiles\CMakeTmp
C:\plplot-5.9.6\build\language_tests\Ada\CMakeFiles\CMakeTmp
C:\plplot-5.9.6\build\language_tests\Ada\CMakeFiles\CMakeTmp\CMakeFiles\testad
acompiler.dir\DependInfo.cmake
Scanning dependencies of target testadacompiler
mingw32-make.exe[2]: Leaving directory
`C:/plplot-5.9.6/build/language_tests/Ada/CMakeFiles/CMakeTmp'
C:/Qt/2009.05/mingw/bin/mingw32-make.exe -f
CMakeFiles\testadacompiler.dir\build.make
CMakeFiles/testadacompiler.dir/build
mingw32-make.exe[2]: Entering directory
`C:/plplot-5.9.6/build/language_tests/Ada/CMakeFiles/CMakeTmp'
"C:\Program Files\CMake 2.8\bin\cmake.exe" -E cmake_progress_report
C:\plplot-5.9.6\build\language_tests\Ada\CMakeFiles\CMakeTmp\CMakeFiles 1
[100%] Building Ada object
CMakeFiles/testadacompiler.dir/testadacompiler.o
C:\Qt\2009.05\mingw\bin\gcc.exe -c
C:\plplot-5.9.6\build\language_tests\Ada\CMakeFiles\CMakeTmp\testadacompiler.a
db
-o CMakeFiles\testadacompiler.dir\testadacompiler.o
gcc.exe: CreateProcess: No such file or directory
mingw32-make.exe[2]: *** [CMakeFiles/testadacompiler.dir/testadacompiler.o]
Error 1
mingw32-make.exe[2]: Leaving directory
`C:/plplot-5.9.6/build/language_tests/Ada/CMakeFiles/CMakeTmp'
mingw32-make.exe[1]: *** [CMakeFiles/testadacompiler.dir/all] Error 2
mingw32-make.exe[1]: Leaving directory
`C:/plplot-5.9.6/build/language_tests/Ada/CMakeFiles/CMakeTmp'
mingw32-make.exe: *** [all] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:19 (enable_language)
CMake Error: your D compiler: "CMAKE_D_COMPILER-NOTFOUND" was not found. Pleas
e set CMAKE_D_COMPILER to a valid compiler path or name.
Summary of CMake build system results for PLplot
Install location variables which can be set by the user:
CMAKE_INSTALL_PREFIX: C:/plplot-5.9.6/build/install
CMAKE_INSTALL_EXEC_PREFIX C:/plplot-5.9.6/build/install
CMAKE_INSTALL_BINDIR C:/plplot-5.9.6/build/install/bin
CMAKE_INSTALL_DATADIR C:/plplot-5.9.6/build/install/share
CMAKE_INSTALL_LIBDIR C:/plplot-5.9.6/build/install/lib
CMAKE_INSTALL_INCLUDEDIR C:/plplot-5.9.6/build/install/include
CMAKE_INSTALL_INFODIR C:/plplot-5.9.6/build/install/share/info
CMAKE_INSTALL_MANDIR C:/plplot-5.9.6/build/install/share/man
Derived install location variables:
DATA_DIR C:/plplot-5.9.6/build/install/share/plplot5.9.6
LIB_DIR C:/plplot-5.9.6/build/install/lib
INCLUDE_DIR C:/plplot-5.9.6/build/install/include/plplot
BIN_DIR C:/plplot-5.9.6/build/install/bin
TCL_DIR C:/plplot-5.9.6/build/install/share/plplot5.9.6/tcl
ADA_INCLUDE_DIR C:/plplot-5.9.6/build/install/share/ada/adainclude/plplotadad
ADA_LIB_DIR C:/plplot-5.9.6/build/install/lib/ada/adalib/plplotadad
PYTHON_INSTDIR
DRV_DIR C:/plplot-5.9.6/build/install/lib/plplot5.9.6/driversd
DOC_DIR C:/plplot-5.9.6/build/install/share/doc/plplot
MAN_DIR C:/plplot-5.9.6/build/install/share/man
INFO_DIR C:/plplot-5.9.6/build/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: FALSE
X11_FOUND:
CMAKE_BUILD_TYPE:
CMAKE_C_COMPILER CMAKE_C_FLAGS: C:/Qt/2009.05/mingw/bin/gcc.exe
CMAKE_CXX_COMPILER CMAKE_CXX_FLAGS: C:/Qt/2009.05/mingw/bin/g++.exe
LIB_TAG: d
ENABLE_DYNDRIVERS: ON
DRIVERS_LIST: qt;mem;null;ps;svg;wingcc;xfig
DEVICES_LIST: epsqt;pdfqt;qtwidget;bmpqt;jpgqt;pngqt;ppmqt;tiffqt;extqt;svgqt;me
m;null;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_ada: OFF ENABLE_d: OFF
ENABLE_ocaml: OFF ENABLE_lua: OFF
ENABLE_qt: ON ENABLE_pyqt4: OFF
C:\plplot-5.9.6\build>
-- The C compiler identification is GNU
-- Check for working C compiler: C:/Qt/2009.05/mingw/bin/gcc.exe
-- Check for working C compiler: C:/Qt/2009.05/mingw/bin/gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- CMake version = 2.8.4
-- WARNING: bash shell not found, ctest will not work properly
-- Checking whether system has ANSI C header files
-- Looking for include files StandardHeadersExist
-- Looking for include files StandardHeadersExist - found
-- Performing Test memchrExists
-- Performing Test memchrExists - Success
-- Performing Test freeExists
-- Performing Test freeExists - Success
-- Check for whether ctype.h macros work on characters with the
high bit set.
-- High-bit characters - work
-- ANSI C header files - found
-- Looking for include files PL_HAVE_UNISTD_H
-- Looking for include files PL_HAVE_UNISTD_H - found
-- Looking for include files HAVE_TERMIOS_H
-- Looking for include files HAVE_TERMIOS_H - not found.
-- Looking for include files PL_HAVE_STDINT_H
-- Looking for include files PL_HAVE_STDINT_H - found
-- Looking for crt_externs.h
-- Looking for crt_externs.h - not found
-- Performing Test HAVE_SYS_WAIT_H
-- Performing Test HAVE_SYS_WAIT_H - Failed
-- Looking for DIR in sys/types.h;dirent.h
-- Looking for DIR in sys/types.h;dirent.h - found
-- Check for signal return type in <signal.h>
-- Check for signal handler return type type void - found
-- Looking for popen
-- Looking for popen - found
-- Looking for usleep
-- Looking for usleep - found
-- Looking for mkstemp
-- Looking for mkstemp - not found
-- Looking for mkstemp
-- Looking for mkstemp - not found
-- Looking for _NSGetArgc
-- Looking for _NSGetArgc - not found
-- Looking for finite
-- Looking for finite - found
-- Looking for isnan
-- Looking for isnan - found
-- Looking for isinf
-- Looking for isinf - found
-- Looking for snprintf
-- Looking for snprintf - found
-- SWIG was not found. Please specify Swig executable location
-- Could NOT find Perl (missing: PERL_EXECUTABLE)
-- Looking for pkg-config - not found
-- WARNING: Install-tree build will be disabled.
-- X11_FOUND =
-- X11_INCLUDE_DIR =
-- X11_COMPILE_FLAGS =
-- X11_LIBRARIES =
-- The C compiler identification is GNU
-- Check for working C compiler: C:/Qt/2009.05/mingw/bin/gcc.exe
-- Check for working C compiler: C:/Qt/2009.05/mingw/bin/gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- CMAKE_GENERATOR = MinGW Makefiles
-- The CXX compiler identification is GNU
-- Check for working CXX compiler: C:/Qt/2009.05/mingw/bin/g++.exe
-- Check for working CXX compiler: C:/Qt/2009.05/mingw/bin/g++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Configuring done
-- Generating done
-- Build files have been written to: C:/plplot-5.9.6/build/language_tests/CXX
-- The CXX compiler identification is GNU
-- Check for working CXX compiler: C:/Qt/2009.05/mingw/bin/g++.exe
-- Check for working CXX compiler: C:/Qt/2009.05/mingw/bin/g++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for using namespace support
-- Check for using namespace - found
-- Looking for C++ include cmath
-- Looking for C++ include cmath - found
-- Check for broken isnan support in <cmath>
-- Check for isnan in <cmath> - found
-- Check for using stdint.h with CXX compiler
-- Check for using stdint.h with CXX compiler - ok
-- The C compiler identification is GNU
-- Check for working C compiler: C:/Qt/2009.05/mingw/bin/gcc.exe
-- Check for working C compiler: C:/Qt/2009.05/mingw/bin/gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- CMAKE_GENERATOR = MinGW Makefiles
-- The Fortran compiler identification is unknown
-- Configuring incomplete, errors occurred!
-- WARNING: no working Fortran compiler so disabling Fortran bindings and
examples.
-- WARNING: swig not found. Disabling java bindings
-- WARNING: swig not found. Disabling Python bindings
-- WARNING: The octave build requires perl. Disabling octave bindings
-- Looking for include paths and libraries for Tcl/Tk
-- Could NOT find Tclsh (missing: TCL_TCLSH)
-- Could NOT find TCL (missing: TCL_LIBRARY TCL_INCLUDE_PATH)
-- Could NOT find TCLTK (missing: TCL_LIBRARY TCL_INCLUDE_PATH TK_LIBRARY
TK_INCLUDE_PATH)
-- Could NOT find TK (missing: TK_LIBRARY TK_INCLUDE_PATH)
-- Looking for include paths and libraries for Tcl/Tk - not found
-- WARNING: Disabling everything that is Tcl/Tk related
-- WARNING: perl not found. Disabling Perl/PDL examples
-- The C compiler identification is GNU
-- Check for working C compiler: C:/Qt/2009.05/mingw/bin/gcc.exe
-- Check for working C compiler: C:/Qt/2009.05/mingw/bin/gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- CMAKE_GENERATOR = MinGW Makefiles
-- Check for working Ada builder: GNAT_EXECUTABLE_BUILDER-NOTFOUND
-- Check for working Ada builder: GNAT_EXECUTABLE_BUILDER-NOTFOUND -- broken
-- Configuring incomplete, errors occurred!
-- WARNING: no working Ada compiler so disabling Ada bindings and examples.
-- WARNING: swig not found. Disabling Lua bindings
-- The C compiler identification is GNU
-- Check for working C compiler: C:/Qt/2009.05/mingw/bin/gcc.exe
-- Check for working C compiler: C:/Qt/2009.05/mingw/bin/gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- CMAKE_GENERATOR = MinGW Makefiles
-- D Compiler Install Prefix (use D_PATH env var to override): CMAKE_D_COMPI
-- Configuring incomplete, errors occurred!
-- WARNING: no working D compiler so disabling D bindings and examples.
-- Check for NaN awareness in C compiler
-- Check for NaN awareness in C compiler - found
-- WARNING: qhull library not found. Setting HAVE_QHULL to OFF.
-- WARNING: pango not found because pkg-config not available.
-- WARNING: pkg-config not found. Setting cairo drivers to OFF.
-- WARNING: ENABLE_tk OFF. Setting PLD_tk, PLD_ntk, and PLD_tkwin OFF.
-- WARNING: pkg-config not found. Setting PLD_psttf to OFF.
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - not found.
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.6.0 (using C:/Qt/2009.05/qt/bin/qmake.exe)
-- WARNING: ENABLE_python is OFF so setting ENABLE_pyqt4 to OFF.
-- Looking for gdi32 header and library
-- Looking for gdi32 header and library - found
-- WARNING: wxWidgets not found so setting all wxwidgets devices to OFF.
-- WARNING: PLD_wxwidgets is OFF so setting ENABLE_wxwidgets to OFF.
-- WARNING:ocamlc not found. Disabling ocaml bindings
-- WARNING: validate target will not be available to check for syntax errors in
the PLplot DocBook documentation because onsgmls was not found.
-- Configuring done
-- Generating done
-- Build files have been written to: C:/plplot-5.9.6/build
------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today.
http://p.sf.net/sfu/quest-dev2dev2
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel