Enable gd driver

2009-04-01
2013-03-15
  • subrahmanyam gurram
    subrahmanyam gurram
    2009-04-01

    Hi,
      
         We failed to enable gd dirver.

         We are developing the plplot.jar file on windows machine. We have downloaded gd-latest-win32.zip file. The following is the output when issued the cmake command

    D:\plplot-5.9.1\plplot-5.9.1\buildnmake>cmake -G "Borland Makefiles" -DENABLE_DYNDRIVERS=OFF -DCMAKE_INSTALL_PREFIX=install ../ -DENABLE_java:BOOL=ON -DPLD_pdf:BOOL=ON -DPLD_png:BOOL=ON
    -- The C compiler identification is Borland
    -- The CXX compiler identification is Borland
    -- Check for working C compiler: C:/Borland/BCC55/Bin/bcc32.exe
    -- Check for working C compiler: C:/Borland/BCC55/Bin/bcc32.exe -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working CXX compiler: C:/Borland/BCC55/Bin/bcc32.exe
    -- Check for working CXX compiler: C:/Borland/BCC55/Bin/bcc32.exe -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- 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 - Failed
    -- ANSI C header files - not found
    -- Looking for include files HAVE_UNISTD_H
    -- Looking for include files HAVE_UNISTD_H - not 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 - 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 - not found
    -- Looking for usleep
    -- Looking for usleep - not found
    -- Looking for isinf
    -- Looking for isinf - not found
    -- Looking for finite
    -- Looking for finite - not found
    -- Looking for _finite
    -- Looking for _finite - found
    -- Looking for isnan
    -- Looking for isnan - not found
    -- Looking for _isnan
    -- Looking for _isnan - found
    -- Looking for snprintf
    -- Looking for snprintf - found
    -- SWIG_VERSION = 1.3.36
    -- 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 =
    -- 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> - not found
    -- Check for using stdint.h with CXX compiler
    -- Check for using stdint.h with CXX compiler - not found
    -- The Fortran compiler identification is unknown
    -- WARNING: fortran compiler not found. Disabling f77/f95 bindings
    -- Found PythonInterp: D:/Program Files/Python/python.exe
    -- Found PythonLibs: D:/Program Files/Python/libs/python26.lib
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
    ImportError: No module named numpy
    -- WARNING: Numeric header not found. Disabling python bindings
    -- WARNING: The octave build requires perl. Disabling octave bindings
    -- Looking for include paths and libraries for Tcl/Tk
    -- 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
    -- 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
    -- 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: cd.h and/or libcd.a not found.  Setting PLD_cgm to OFF.
    -- WARNING: pkg-config not found. Setting PLD_gcw to OFF.
    -- WARNING: PLD_gcw is OFF so setting ENABLE_gnome2 to OFF.
    -- Found GD: D:/gd-latest-win32/lib/bgd.lib
    -- 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 gdi32 header and library
    -- Looking for gdi32 header and library - found
    -- WARNING: wxWidgets not found so setting PLD_wxwidgets to OFF.
    -- WARNING: PLD_wxwidgets is OFF so setting ENABLE_wxwidgets to OFF.
    -- Looking for haru pdf header and library
    hpdf_INCLUDE_DIR-->C:/libharu-2.0.8/include
    hpdf_LIBRARY-->C:/libharu-2.0.8/hpdf.lib
    -- Findhpdf: Found both hpdf.h and libhpdf.a
    -- Looking for haru pdf header and library - found
    include--> C:/libharu-2.0.8/include
    link-->  C:/libharu-2.0.8/hpdf.lib
    driver flags-> D:/gd-latest-win32/lib/bgd.lib;C:/Borland/BCC55/Lib/PSDK/gdi32.lib;C:/Borland/BCC55/Lib/PSDK/comdlg32.lib;C:/libharu-2.0.8/hpdf.lib    C:/libharu-2.0.8/hpdf.lib

    Summary of CMake build system results for PLplot

    Install location variables which can be set by the user:
    CMAKE_INSTALL_PREFIX:      D:/plplot-5.9.1/plplot-5.9.1/buildnmake/install
    CMAKE_INSTALL_EXEC_PREFIX  D:/plplot-5.9.1/plplot-5.9.1/buildnmake/install
    CMAKE_INSTALL_BINDIR       D:/plplot-5.9.1/plplot-5.9.1/buildnmake/install/bin
    CMAKE_INSTALL_DATADIR      D:/plplot-5.9.1/plplot-5.9.1/buildnmake/install/share
    CMAKE_INSTALL_LIBDIR       D:/plplot-5.9.1/plplot-5.9.1/buildnmake/install/lib
    CMAKE_INSTALL_INCLUDEDIR   D:/plplot-5.9.1/plplot-5.9.1/buildnmake/install/include
    CMAKE_INSTALL_INFODIR      D:/plplot-5.9.1/plplot-5.9.1/buildnmake/install/share/info
    CMAKE_INSTALL_MANDIR       D:/plplot-5.9.1/plplot-5.9.1/buildnmake/install/share/man

    Derived install location variables:
    DATA_DIR        D:/plplot-5.9.1/plplot-5.9.1/buildnmake/install/share/plplot5.9.1
    LIB_DIR         D:/plplot-5.9.1/plplot-5.9.1/buildnmake/install/lib
    INCLUDE_DIR     D:/plplot-5.9.1/plplot-5.9.1/buildnmake/install/include/plplot
    BIN_DIR         D:/plplot-5.9.1/plplot-5.9.1/buildnmake/install/bin
    TCL_DIR         D:/plplot-5.9.1/plplot-5.9.1/buildnmake/install/share/plplot5.9.1/tcl
    ADA_INCLUDE_DIR D:/plplot-5.9.1/plplot-5.9.1/buildnmake/install/share/ada/adainclude/plplotadad
    ADA_LIB_DIR     D:/plplot-5.9.1/plplot-5.9.1/buildnmake/install/lib/ada/adalib/plplotadad
    PYTHON_INSTDIR
    DRV_DIR         D:/plplot-5.9.1/plplot-5.9.1/buildnmake/install/lib/plplot5.9.1/driversd
    DOC_DIR         D:/plplot-5.9.1/plplot-5.9.1/buildnmake/install/share/doc/plplot
    MAN_DIR         D:/plplot-5.9.1/plplot-5.9.1/buildnmake/install/share/man
    INFO_DIR        D:/plplot-5.9.1/plplot-5.9.1/buildnmake/install/share/info

    Other important CMake variables:

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

    SWIG_FOUND:             1
    PERL_FOUND:             FALSE
    X11_FOUND:

    CMAKE_BUILD_TYPE:       Debug
    CMAKE_C_COMPILER CMAKE_C_FLAGS:                 C:/Borland/BCC55/Bin/bcc32.exe  -tWM
    CMAKE_CXX_COMPILER CMAKE_CXX_FLAGS:             C:/Borland/BCC55/Bin/bcc32.exe  -tWM
    LIB_TAG:                d

    ENABLE_DYNDRIVERS:      OFF
    DRIVERS_LIST: gd;hpgl;mem;null;pbm;pdf;ps;svg;wingcc;xfig
    DEVICES_LIST: gif;jpeg;png;hp7470;hp7580;lj_hpgl;mem;null;pbm;pdf;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:            ON
    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: D:/plplot-5.9.1/plplot-5.9.1/buildnmake

    When we issued the make command it failed. The following is the output of make command

    Borland Implib Version 3.0.22 Copyright (c) 1991, 2000 Inprise Corporation
    [  0%] Built target csirocsa
    MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
    Scanning dependencies of target plhershey-unicode-gen
    MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
    [  1%] Building C object include/CMakeFiles/plhershey-unicode-gen.dir/__/fonts/plhershey-unicode-gen.obj
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    d:\plplot-5.9.1\plplot-5.9.1\fonts\plhershey-unicode-gen.c:
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\fonts\plhershey-unicode-gen.c 164: Parameter 'argc' is never used in function main
    Linking C executable plhershey-unicode-gen.exe
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
    [  1%] Built target plhershey-unicode-gen
    MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
    Scanning dependencies of target plhershey-unicode.h_built
    MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
    [  1%] Generating plhershey-unicode.h
    [  1%] Built target plhershey-unicode.h_built
    MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
    Scanning dependencies of target plplotd
    MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
    [  2%] Building C object src/CMakeFiles/plplotd.dir/pdfutils.obj
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    d:\plplot-5.9.1\plplot-5.9.1\src\pdfutils.c:
    Warning W8057 D:\plplot-5.9.1\plplot-5.9.1\include\pldebug.h 88: Parameter 'label' is never used in function pldebug
    Warning W8060 d:\plplot-5.9.1\plplot-5.9.1\src\pdfutils.c 760: Possibly incorrect assignment in function pdf_wr_ieeef
    Warning W8060 d:\plplot-5.9.1\plplot-5.9.1\src\pdfutils.c 785: Possibly incorrect assignment in function pdf_rd_ieeef
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\pdfutils.c 905: Parameter 'ny' is never used in function plFree2dGrid
    [  4%] Building C object src/CMakeFiles/plplotd.dir/plargs.obj
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c:
    Warning W8060 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1278: Possibly incorrect assignment in function plParseDrvOpts
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1350: Parameter 'opt' is never used in function opt_h
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1350: Parameter 'optarg' is never used in function opt_h
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1350: Parameter 'client_data' is never used in function opt_h
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1366: Parameter 'opt' is never used in function opt_v
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1366: Parameter 'optarg' is never used in function opt_v
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1366: Parameter 'client_data' is never used in function opt_v
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1380: Parameter 'opt' is never used in function opt_verbose
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1380: Parameter 'optarg' is never used in function opt_verbose
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1380: Parameter 'client_data' is never used in function opt_verbose
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1395: Parameter 'opt' is never used in function opt_debug
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1395: Parameter 'optarg' is never used in function opt_debug
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1395: Parameter 'client_data' is never used in function opt_debug
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1409: Parameter 'opt' is never used in function opt_hack
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1409: Parameter 'optarg' is never used in function opt_hack
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1409: Parameter 'client_data' is never used in function opt_hack
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1423: Parameter 'opt' is never used in function opt_dev
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1423: Parameter 'client_data' is never used in function opt_dev
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1437: Parameter 'opt' is never used in function opt_o
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1437: Parameter 'client_data' is never used in function opt_o
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1451: Parameter 'opt' is never used in function opt_mar
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1451: Parameter 'client_data' is never used in function opt_mar
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1465: Parameter 'opt' is never used in function opt_a
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1465: Parameter 'client_data' is never used in function opt_a
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1479: Parameter 'opt' is never used in function opt_jx
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1479: Parameter 'client_data' is never used in function opt_jx
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1493: Parameter 'opt' is never used in function opt_jy
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1493: Parameter 'client_data' is never used in function opt_jy
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1507: Parameter 'opt' is never used in function opt_ori
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1507: Parameter 'client_data' is never used in function opt_ori
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1521: Parameter 'opt' is never used in function opt_freeaspect
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1521: Parameter 'optarg' is never used in function opt_freeaspect
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1521: Parameter 'client_data' is never used in function opt_freeaspect
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1549: Parameter 'opt' is never used in function opt_portrait
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1549: Parameter 'optarg' is never used in function opt_portrait
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1549: Parameter 'client_data' is never used in function opt_portrait
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1573: Parameter 'opt' is never used in function opt_width
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1573: Parameter 'client_data' is never used in function opt_width
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1627: Parameter 'opt' is never used in function opt_bg
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1627: Parameter 'client_data' is never used in function opt_bg
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1641: Parameter 'opt' is never used in function opt_ncol0
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1641: Parameter 'client_data' is never used in function opt_ncol0
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1655: Parameter 'opt' is never used in function opt_ncol1
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1655: Parameter 'client_data' is never used in function opt_ncol1
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1694: Parameter 'opt' is never used in function opt_wplt
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1694: Parameter 'client_data' is never used in function opt_wplt
    Warning W8060 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1721: Possibly incorrect assignment in function opt_drvopt
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1773: Parameter 'opt' is never used in function opt_drvopt
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1773: Parameter 'client_data' is never used in function opt_drvopt
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1787: Parameter 'opt' is never used in function opt_fam
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1787: Parameter 'optarg' is never used in function opt_fam
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1787: Parameter 'client_data' is never used in function opt_fam
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1844: Parameter 'opt' is never used in function opt_fsiz
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1844: Parameter 'client_data' is never used in function opt_fsiz
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1859: Parameter 'opt' is never used in function opt_fbeg
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1859: Parameter 'client_data' is never used in function opt_fbeg
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1874: Parameter 'opt' is never used in function opt_finc
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1874: Parameter 'client_data' is never used in function opt_finc
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1889: Parameter 'opt' is never used in function opt_fflen
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1889: Parameter 'client_data' is never used in function opt_fflen
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1903: Parameter 'opt' is never used in function opt_np
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1903: Parameter 'optarg' is never used in function opt_np
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1903: Parameter 'client_data' is never used in function opt_np
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1917: Parameter 'opt' is never used in function opt_nopixmap
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1917: Parameter 'optarg' is never used in function opt_nopixmap
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1917: Parameter 'client_data' is never used in function opt_nopixmap
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1931: Parameter 'opt' is never used in function opt_db
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1931: Parameter 'optarg' is never used in function opt_db
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1931: Parameter 'client_data' is never used in function opt_db
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1945: Parameter 'opt' is never used in function opt_bufmax
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1945: Parameter 'client_data' is never used in function opt_bufmax
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1959: Parameter 'opt' is never used in function opt_server_name
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1959: Parameter 'client_data' is never used in function opt_server_name
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1973: Parameter 'opt' is never used in function opt_plserver
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1973: Parameter 'client_data' is never used in function opt_plserver
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1991: Parameter 'opt' is never used in function opt_plwindow
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 1991: Parameter 'client_data' is never used in function opt_plwindow
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 2020: Parameter 'opt' is never used in function opt_tcl_cmd
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 2020: Parameter 'client_data' is never used in function opt_tcl_cmd
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 2034: Parameter 'opt' is never used in function opt_auto_path
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 2034: Parameter 'client_data' is never used in function opt_auto_path
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 2048: Parameter 'opt' is never used in function opt_px
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 2048: Parameter 'client_data' is never used in function opt_px
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 2062: Parameter 'opt' is never used in function opt_py
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 2062: Parameter 'client_data' is never used in function opt_py
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 2126: Parameter 'opt' is never used in function opt_geo
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 2126: Parameter 'client_data' is never used in function opt_geo
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 2144: Parameter 'opt' is never used in function opt_tk_file
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 2144: Parameter 'client_data' is never used in function opt_tk_file
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 2186: Parameter 'opt' is never used in function opt_dpi
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 2186: Parameter 'client_data' is never used in function opt_dpi
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 2207: Parameter 'opt' is never used in function opt_dev_compression
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plargs.c 2207: Parameter 'client_data' is never used in function opt_dev_compression
    [  4%] Building C object src/CMakeFiles/plplotd.dir/plbox.obj
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    d:\plplot-5.9.1\plplot-5.9.1\src\plbox.c:
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plbox.c 788: Parameter 'nolast' is never used in function plxybx
    Warning W8065 d:\plplot-5.9.1\plplot-5.9.1\src\plbox.c 1239: Call to function 'plP_gtimefmt' with no prototype in function label_box
    [  5%] Building C object src/CMakeFiles/plplotd.dir/plcont.obj
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    d:\plplot-5.9.1\plplot-5.9.1\src\plcont.c:
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plcont.c 129: Parameter 'node' is never used in function alloc_line
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plcont.c 791: Parameter 'pltr_data' is never used in function pltr0
    [  6%] Building C object src/CMakeFiles/plplotd.dir/plcore.obj
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    d:\plplot-5.9.1\plplot-5.9.1\src\plcore.c:
    Warning W8012 d:\plplot-5.9.1\plplot-5.9.1\src\plcore.c 543: Comparing signed and unsigned values in function plP_text
    Warning W8012 d:\plplot-5.9.1\plplot-5.9.1\src\plcore.c 563: Comparing signed and unsigned values in function plP_text
    Warning W8012 d:\plplot-5.9.1\plplot-5.9.1\src\plcore.c 692: Comparing signed and unsigned values in function plP_text
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plcore.c 830: Parameter 'npts' is never used in function grline
    Warning W8065 d:\plplot-5.9.1\plplot-5.9.1\src\plcore.c 1024: Call to function 'setdef_diori' with no prototype in function pldi_ini
    Warning W8065 d:\plplot-5.9.1\plplot-5.9.1\src\plcore.c 1029: Call to function 'setdef_diplt' with no prototype in function pldi_ini
    Warning W8065 d:\plplot-5.9.1\plplot-5.9.1\src\plcore.c 1034: Call to function 'setdef_didev' with no prototype in function pldi_ini
    Warning W8065 d:\plplot-5.9.1\plplot-5.9.1\src\plcore.c 1426: Call to function 'setdef_didev' with no prototype in function calc_diori
    Warning W8065 d:\plplot-5.9.1\plplot-5.9.1\src\plcore.c 1661: Call to function 'plP_FreeDrvOpts' with no prototype in function c_plinit
    Warning W8065 d:\plplot-5.9.1\plplot-5.9.1\src\plcore.c 2138: Call to function 'getcwd' with no prototype in function plInBuildTree
    Warning W8065 d:\plplot-5.9.1\plplot-5.9.1\src\plcore.c 2144: Call to function 'chdir' with no prototype in function plInBuildTree
    Warning W8065 d:\plplot-5.9.1\plplot-5.9.1\src\plcore.c 2145: Call to function 'getcwd' with no prototype in function plInBuildTree
    Warning W8065 d:\plplot-5.9.1\plplot-5.9.1\src\plcore.c 2153: Call to function 'chdir' with no prototype in function plInBuildTree
    [  6%] Building C object src/CMakeFiles/plplotd.dir/plctrl.obj
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    d:\plplot-5.9.1\plplot-5.9.1\src\plctrl.c:
    Warning W8065 d:\plplot-5.9.1\plplot-5.9.1\src\plctrl.c 1424: Call to function 'plInBuildTree' with no prototype in function plFindCommand
    Warning W8065 d:\plplot-5.9.1\plplot-5.9.1\src\plctrl.c 1518: Call to function 'plInBuildTree' with no prototype in function plLibOpenPdfstrm
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plctrl.c 1668: Parameter 'p' is never used in function plFindName
    [  8%] Building C object src/CMakeFiles/plplotd.dir/plcvt.obj
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    d:\plplot-5.9.1\plplot-5.9.1\src\plcvt.c:
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plcvt.c 214: Parameter 'z' is never used in function plP_w3wcx
    [  9%] Building C object src/CMakeFiles/plplotd.dir/pldeprecated.obj
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    d:\plplot-5.9.1\plplot-5.9.1\src\pldeprecated.c:
    Warning W8057 D:\plplot-5.9.1\plplot-5.9.1\include\pldebug.h 88: Parameter 'label' is never used in function pldebug
    [  9%] Building C object src/CMakeFiles/plplotd.dir/pldtik.obj
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    d:\plplot-5.9.1\plplot-5.9.1\src\pldtik.c:
    Warning W8060 d:\plplot-5.9.1\plplot-5.9.1\src\pldtik.c 125: Possibly incorrect assignment in function pldtfac
    [ 10%] Building C object src/CMakeFiles/plplotd.dir/plfill.obj
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    d:\plplot-5.9.1\plplot-5.9.1\src\plfill.c:
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plfill.c 316: Parameter 'xp3' is never used in function buildlist
    [ 12%] Building C object src/CMakeFiles/plplotd.dir/plfreetype.obj
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    d:\plplot-5.9.1\plplot-5.9.1\src\plfreetype.c:
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plfreetype.c 82: Parameter 'flag' is never used in function access
    [ 12%] Building C object src/CMakeFiles/plplotd.dir/plhist.obj
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    d:\plplot-5.9.1\plplot-5.9.1\src\plhist.c:
    Warning W8060 d:\plplot-5.9.1\plplot-5.9.1\src\plhist.c 61: Possibly incorrect assignment in function c_plhist
    Warning W8060 d:\plplot-5.9.1\plplot-5.9.1\src\plhist.c 65: Possibly incorrect assignment in function c_plhist
    [ 13%] Building C object src/CMakeFiles/plplotd.dir/plimage.obj
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    d:\plplot-5.9.1\plplot-5.9.1\src\plimage.c:
    [ 15%] Building C object src/CMakeFiles/plplotd.dir/plline.obj
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    d:\plplot-5.9.1\plplot-5.9.1\src\plline.c:
    Warning W8019 d:\plplot-5.9.1\plplot-5.9.1\src\plline.c 1030: Code has no effect in function plP_plfclp
    Warning W8019 d:\plplot-5.9.1\plplot-5.9.1\src\plline.c 1034: Code has no effect in function plP_plfclp
    [ 15%] Building C object src/CMakeFiles/plplotd.dir/plmap.obj
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    d:\plplot-5.9.1\plplot-5.9.1\src\plmap.c:
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plmap.c 219: Parameter 'minlat' is never used in function c_plmap
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plmap.c 219: Parameter 'maxlat' is never used in function c_plmap
    [ 16%] Building C object src/CMakeFiles/plplotd.dir/plot3d.obj
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    d:\plplot-5.9.1\plplot-5.9.1\src\plot3d.c:
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plot3d.c 1190: Parameter 'ixstart' is never used in function c_plot3dcl
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plot3d.c 1190: Parameter 'ixn' is never used in function c_plot3dcl
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plot3d.c 1190: Parameter 'indexymin' is never used in function c_plot3dcl
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plot3d.c 1190: Parameter 'indexymax' is never used in function c_plot3dcl
    [ 17%] Building C object src/CMakeFiles/plplotd.dir/plpage.obj
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    d:\plplot-5.9.1\plplot-5.9.1\src\plpage.c:
    [ 17%] Building C object src/CMakeFiles/plplotd.dir/plsdef.obj
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    d:\plplot-5.9.1\plplot-5.9.1\src\plsdef.c:
    [ 19%] Building C object src/CMakeFiles/plplotd.dir/plshade.obj
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    d:\plplot-5.9.1\plplot-5.9.1\src\plshade.c:
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plshade.c 715: Parameter 'c2eval' is never used in function plshade_int
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plshade.c 715: Parameter 'c2eval_data' is never used in function plshade_int
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plshade.c 715: Parameter 'missing_min' is never used in function plshade_int
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plshade.c 715: Parameter 'missing_max' is never used in function plshade_int
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plshade.c 1130: Parameter 'level' is never used in function plctest
    [ 20%] Building C object src/CMakeFiles/plplotd.dir/plstdio.obj
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    d:\plplot-5.9.1\plplot-5.9.1\src\plstdio.c:
    Warning W8057 D:\plplot-5.9.1\plplot-5.9.1\include\pldebug.h 88: Parameter 'label' is never used in function pldebug
    Warning W8004 d:\plplot-5.9.1\plplot-5.9.1\src\plstdio.c 57: 'bytes' is assigned a value that is never used in function plio_fwrite
    Warning W8004 d:\plplot-5.9.1\plplot-5.9.1\src\plstdio.c 88: 'bytes' is assigned a value that is never used in function plio_fread
    [ 20%] Building C object src/CMakeFiles/plplotd.dir/plstripc.obj
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    d:\plplot-5.9.1\plplot-5.9.1\src\plstripc.c:
    [ 21%] Building C object src/CMakeFiles/plplotd.dir/plsym.obj
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    d:\plplot-5.9.1\plplot-5.9.1\src\plsym.c:
    Warning W8012 d:\plplot-5.9.1\plplot-5.9.1\src\plsym.c 275: Comparing signed and unsigned values in function plhrsh
    Warning W8060 d:\plplot-5.9.1\plplot-5.9.1\src\plsym.c 956: Possibly incorrect assignment in function plP_strpos
    Warning W8012 d:\plplot-5.9.1\plplot-5.9.1\src\plsym.c 1177: Comparing signed and unsigned values in function plhershey2unicode
    Warning W8012 d:\plplot-5.9.1\plplot-5.9.1\src\plsym.c 1179: Comparing signed and unsigned values in function plhershey2unicode
    [ 21%] Building C object src/CMakeFiles/plplotd.dir/pltick.obj
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    d:\plplot-5.9.1\plplot-5.9.1\src\pltick.c:
    [ 23%] Building C object src/CMakeFiles/plplotd.dir/plvpor.obj
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    d:\plplot-5.9.1\plplot-5.9.1\src\plvpor.c:
    [ 24%] Building C object src/CMakeFiles/plplotd.dir/plwind.obj
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    d:\plplot-5.9.1\plplot-5.9.1\src\plwind.c:
    [ 24%] Building C object src/CMakeFiles/plplotd.dir/plbuf.obj
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    d:\plplot-5.9.1\plplot-5.9.1\src\plbuf.c:
    Warning W8057 D:\plplot-5.9.1\plplot-5.9.1\include\pldebug.h 88: Parameter 'label' is never used in function pldebug
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plbuf.c 133: Parameter 'pls' is never used in function plbuf_eop
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plbuf.c 198: Parameter 'pls' is never used in function plbuf_tidy
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plbuf.c 400: Parameter 'pls' is never used in function rdbuf_init
    Warning W8057 d:\plplot-5.9.1\plplot-5.9.1\src\plbuf.c 453: Parameter 'pls' is never used in function rdbuf_eop
    Warning W8019 d:\plplot-5.9.1\plplot-5.9.1\src\plbuf.c 955: Code has no effect in function wr_data
    Warning W8012 d:\plplot-5.9.1\plplot-5.9.1\src\plbuf.c 1140: Comparing signed and unsigned values in function plbuf_save
    Warning W8012 d:\plplot-5.9.1\plplot-5.9.1\src\plbuf.c 1147: Comparing signed and unsigned values in function plbuf_save
    [ 26%] Building C object src/CMakeFiles/plplotd.dir/plgridd.obj
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    d:\plplot-5.9.1\plplot-5.9.1\src\plgridd.c:
    Warning W8065 d:\plplot-5.9.1\plplot-5.9.1\src\plgridd.c 237: Call to function 'csa_create' with no prototype in function grid_csa
    [ 27%] Building C object src/CMakeFiles/plplotd.dir/plvect.obj
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    d:\plplot-5.9.1\plplot-5.9.1\src\plvect.c:
    Warning W8057 D:\plplot-5.9.1\plplot-5.9.1\include\pldebug.h 88: Parameter 'label' is never used in function pldebug
    [ 27%] Building C object src/CMakeFiles/plplotd.dir/mt19937ar.obj
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    d:\plplot-5.9.1\plplot-5.9.1\src\mt19937ar.c:
    [ 28%] Building C object src/CMakeFiles/plplotd.dir/__/drivers/gd.obj
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    d:\plplot-5.9.1\plplot-5.9.1\drivers\gd.c:
    Error E2141 D:/gd-latest-win32/include\gd.h 133: Declaration syntax error
    Error E2356 D:/gd-latest-win32/include\gd.h 258: Type mismatch in redeclaration of '_stdcall'
    Error E2141 D:/gd-latest-win32/include\gd.h 258: Declaration syntax error
    Error E2356 D:/gd-latest-win32/include\gd.h 264: Type mismatch in redeclaration of '_stdcall'
    Error E2141 D:/gd-latest-win32/include\gd.h 264: Declaration syntax error
    Error E2356 D:/gd-latest-win32/include\gd.h 271: Type mismatch in redeclaration of '_stdcall'
    Error E2141 D:/gd-latest-win32/include\gd.h 271: Declaration syntax error
    Error E2356 D:/gd-latest-win32/include\gd.h 272: Type mismatch in redeclaration of '_stdcall'
    Error E2141 D:/gd-latest-win32/include\gd.h 272: Declaration syntax error
    Error E2356 D:/gd-latest-win32/include\gd.h 273: Type mismatch in redeclaration of '_stdcall'
    Error E2141 D:/gd-latest-win32/include\gd.h 273: Declaration syntax error
    Error E2356 D:/gd-latest-win32/include\gd.h 276: Type mismatch in redeclaration of '_stdcall'
    Error E2141 D:/gd-latest-win32/include\gd.h 276: Declaration syntax error
    Error E2356 D:/gd-latest-win32/include\gd.h 277: Type mismatch in redeclaration of '_stdcall'
    Error E2141 D:/gd-latest-win32/include\gd.h 277: Declaration syntax error
    Error E2356 D:/gd-latest-win32/include\gd.h 278: Type mismatch in redeclaration of '_stdcall'
    Error E2141 D:/gd-latest-win32/include\gd.h 278: Declaration syntax error
    Error E2356 D:/gd-latest-win32/include\gd.h 279: Type mismatch in redeclaration of '_stdcall'
    Error E2141 D:/gd-latest-win32/include\gd.h 279: Declaration syntax error
    Error E2356 D:/gd-latest-win32/include\gd.h 280: Type mismatch in redeclaration of '_stdcall'
    Error E2141 D:/gd-latest-win32/include\gd.h 280: Declaration syntax error
    Error E2356 D:/gd-latest-win32/include\gd.h 281: Type mismatch in redeclaration of '_stdcall'
    Error E2141 D:/gd-latest-win32/include\gd.h 281: Declaration syntax error
    Error E2356 D:/gd-latest-win32/include\gd.h 282: Type mismatch in redeclaration of '_stdcall'
    Error E2141 D:/gd-latest-win32/include\gd.h 282: Declaration syntax error
    Error E2228 D:/gd-latest-win32/include\gd.h 282: Too many error or warning messages
    *** 26 errors in Compile ***

    ** error 1 ** deleting src\CMakeFiles\plplotd.dir\__\drivers\gd.obj

    ** error 1 ** deleting src\CMakeFiles\plplotd.dir\all

    ** error 1 ** deleting all

    Thanks
    Subrahmanyam