Hello, I am experiencing a few problems with the new dynamic drivers under MinGW (MSYS+MinGW to be more precise).
The first is that during the build get-drv-info is run, but it can not because the libplplotd.dll is not in the path. Manually copying the DLL into the directory drivers solves this, but then building the dynamic drivers fails: [ 0%] Built target plhershey-unicode-gen [ 0%] Built target plhershey-unicode.h_built [ 13%] Built target plplotd [ 13%] Built target plplotcxxd [ 14%] Built target plplotf77cd [ 16%] Built target plplotf77d [ 17%] Built target plplotf95cd [ 19%] Built target plplotf95d [ 19%] Built target get-drv-info [ 19%] Built target ps [ 20%] Built target ps_CHECK Scanning dependencies of target wingcc [ 20%] Building C object drivers/CMakeFiles/wingcc.dir/wingcc.obj Linking C shared module ../dll/wingcc.dll CMakeFiles/wingcc.dir/wingcc.obj(.text+0x2d2):wingcc.c: undefined reference to [EMAIL PROTECTED]' CMakeFiles/wingcc.dir/wingcc.obj(.text+0x325):wingcc.c: undefined reference to [EMAIL PROTECTED]' CMakeFiles/wingcc.dir/wingcc.obj(.text+0x343):wingcc.c: undefined reference to [EMAIL PROTECTED]' CMakeFiles/wingcc.dir/wingcc.obj(.text+0x3ad):wingcc.c: undefined reference to [EMAIL PROTECTED]' CMakeFiles/wingcc.dir/wingcc.obj(.text+0x42a):wingcc.c: undefined reference to [EMAIL PROTECTED]' CMakeFiles/wingcc.dir/wingcc.obj(.text+0x44b):wingcc.c: undefined reference to [EMAIL PROTECTED]' Here is the output from CMake: -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: C:/msys/1.0/mingw/bin/gcc.exe -- Check for working C compiler: C:/msys/1.0/mingw/bin/gcc.exe -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: C:/msys/1.0/mingw/bin/c++.exe -- Check for working CXX compiler: C:/msys/1.0/mingw/bin/c++.exe -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- 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 HAVE_UNISTD_H -- Looking for include files HAVE_UNISTD_H - found -- Looking for include files HAVE_TERMIOS_H -- Looking for include files HAVE_TERMIOS_H - not found. -- Looking for include files HAVE_STDINT_H -- Looking for include files HAVE_STDINT_H - 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 - not found -- Looking for isinf -- Looking for isinf - not found -- Looking for finite -- Looking for finite - found -- Looking for isnan -- Looking for isnan - found -- Looking for snprintf -- Looking for snprintf - found -- SWIG was not found. Please specify Swig executable location -- Found Perl: C:/cygwin/bin/perl.exe -- Looking for pkg-config - not found -- WARNING: Install-tree build will be disabled. -- X11_FOUND = -- X11_INCLUDE_DIR = -- X11_COMPILE_FLAGS = -- X11_LIBRARIES = -- 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 Fortran compiler identification is GNU -- Check for working Fortran compiler: C:/msys/1.0/g95/bin/g95.exe -- Check for working Fortran compiler: C:/msys/1.0/g95/bin/g95.exe -- works -- Checking whether C:/msys/1.0/g95/bin/g95.exe supports Fortran 90 -- Checking whether C:/msys/1.0/g95/bin/g95.exe supports Fortran 90 -- yes -- Check for using namespace support -- Check for f77 command line support - found -- Check if isnan function is available in fortran -- Check for isnan in fortran - found -- NOTICE: Found: C:/msys/1.0/g95/bin/g95.exe -- WARNING: swig not found. Disabling java bindings -- WARNING: swig not found. Disabling python bindings -- WARNING: octave not found. Disabling octave bindings -- ENABLE_tcl is OFF so disabling everything else that is Tcl/Tk related -- WARNING: gnat library not found. Disabling ada bindings -- WARNING:ocamlbuild not found. Disabling ocaml bindings -- Check for NaN awareness in C compiler -- Check for NaN awareness in C compiler - found -- FindQHull: Found both qhull_a.h and libqhull.a -- Looking for qh_new_qhull -- Looking for qh_new_qhull - not found -- WARNING: function qh_new_qhull not found. Setting HAVE_QHULL to OFF. -- WARNING: pango not found because pkg-config not available. -- WARNING: PLD_gcw is OFF so setting ENABLE_gnome2 to OFF. -- WARNING: PLD_gcw is OFF so setting ENABLE_pygcw to OFF. -- Looking for gdi32 header and library -- Looking for gdi32 header and library - found -- WARNING: PLD_wxwidgets is OFF so setting ENABLE_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:/Program Files/plplot CMAKE_INSTALL_EXEC_PREFIX C:/Program Files/plplot CMAKE_INSTALL_BINDIR C:/Program Files/plplot/bin CMAKE_INSTALL_DATADIR C:/Program Files/plplot/share CMAKE_INSTALL_LIBDIR C:/Program Files/plplot/lib CMAKE_INSTALL_INCLUDEDIR C:/Program Files/plplot/include CMAKE_INSTALL_INFODIR C:/Program Files/plplot/share/info CMAKE_INSTALL_MANDIR C:/Program Files/plplot/share/man Derived install location variables: DATA_DIR C:/Program Files/plplot/share/plplot5.9.0 LIB_DIR C:/Program Files/plplot/lib INCLUDE_DIR C:/Program Files/plplot/include/plplot BIN_DIR C:/Program Files/plplot/bin TCL_DIR C:/Program Files/plplot/share/plplot5.9.0/tcl ADA_INCLUDE_DIR C:/Program Files/plplot/share/ada/adainclude/plplotadad ADA_LIB_DIR C:/Program Files/plplot/lib/ada/adalib/plplotadad PYTHON_INSTDIR DRV_DIR C:/Program Files/plplot/lib/plplot5.9.0/driversd DOC_DIR C:/Program Files/plplot/share/doc/plplot MAN_DIR C:/Program Files/plplot/share/man INFO_DIR C:/Program Files/plplot/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:/msys/1.0/mingw/bin/gcc.exe CMAKE_CXX_COMPILER CMAKE_CXX_FLAGS: C:/msys/1.0/mingw/bin/c++.exe CMAKE_Fortran_COMPILER CMAKE_Fortran_FLAGS: C:/msys/1.0/g95/bin/g95.exe Target Fortran: LIB_TAG: d ENABLE_DYNDRIVERS: ON DRIVERS_LIST: ps;wingcc DEVICES_LIST: ps;wingcc Library options: BUILD_SHARED_LIBS: ON PL_DOUBLE: ON Optional libraries: HAVE_QHULL: OFF WITH_CSA: OFF HAVE_FREETYPE: HAVE_PTHREAD: HAVE_AGG: Language Bindings: ENABLE_f77: ON ENABLE_f95: ON 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 ENABLE_d: ENABLE_ocaml: OFF -- Configuring done -- Generating done -- Build files have been written to: C:/arjen/plplot-svn/install-mingw Building the first part is no problem, it is only when it comes to building the dynamic drivers that things do not work anymore. Regards, Arjen ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel