borland makefiles problem

2008-12-22
2013-03-15
  • Hi,

          make fails with the output , This application has failed to start because PLPLOTTD.DLL was not found

          I downloaded latest plplot source code(plplot-5.9.1.tar) for Configure PLplot for Borland CXX 5.5. I use the following cmake command to get the required files.

    cmake -G "Borland Makefiles" -DCMAKE_INSTALL_PREFIX=install ../ -DENABLE_java:BOOL=ON

    Its working fine. I get the following output.

    C:\plplot\plplot\buildnmake>cmake -G "Borland Makefiles" -DCMAKE_INSTALL_PREFIX=install ../ -DENABLE_java: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
    -- Could NOT find PythonInterp  (missing:  PYTHON_EXECUTABLE)
    -- WARNING: python interpreter 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.
    -- 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 - not found
    -- WARNING: Setting PLD_wingcc to OFF.
    -- WARNING: wxWidgets not found so setting PLD_wxwidgets to OFF.
    -- 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:/plplot/plplot/buildnmake/install
    CMAKE_INSTALL_EXEC_PREFIX  C:/plplot/plplot/buildnmake/install
    CMAKE_INSTALL_BINDIR       C:/plplot/plplot/buildnmake/install/bin
    CMAKE_INSTALL_DATADIR      C:/plplot/plplot/buildnmake/install/share
    CMAKE_INSTALL_LIBDIR       C:/plplot/plplot/buildnmake/install/lib
    CMAKE_INSTALL_INCLUDEDIR   C:/plplot/plplot/buildnmake/install/include
    CMAKE_INSTALL_INFODIR      C:/plplot/plplot/buildnmake/install/share/info
    CMAKE_INSTALL_MANDIR       C:/plplot/plplot/buildnmake/install/share/man

    Derived install location variables:
    DATA_DIR        C:/plplot/plplot/buildnmake/install/share/plplot5.9.1
    LIB_DIR         C:/plplot/plplot/buildnmake/install/lib
    INCLUDE_DIR     C:/plplot/plplot/buildnmake/install/include/plplot
    BIN_DIR         C:/plplot/plplot/buildnmake/install/bin
    TCL_DIR         C:/plplot/plplot/buildnmake/install/share/plplot5.9.1/tcl
    ADA_INCLUDE_DIR C:/plplot/plplot/buildnmake/install/share/ada/adainclude/plplotadad
    ADA_LIB_DIR     C:/plplot/plplot/buildnmake/install/lib/ada/adalib/plplotadad
    PYTHON_INSTDIR
    DRV_DIR         C:/plplot/plplot/buildnmake/install/lib/plplot5.9.1/driversd
    DOC_DIR         C:/plplot/plplot/buildnmake/install/share/doc/plplot
    MAN_DIR         C:/plplot/plplot/buildnmake/install/share/man
    INFO_DIR        C:/plplot/plplot/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:      ON
    DRIVERS_LIST: hpgl;mem;null;pbm;ps;svg;xfig
    DEVICES_LIST: hp7470;hp7580;lj_hpgl;mem;null;pbm;ps;svg;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: C:/plplot/plplot/buildnmake

    After issuing the make command ,  i get the output

    Warning W8057 C:\plplot\plplot\src\plargs.c 1423: Parameter 'opt' is never used in function opt_dev
    Warning W8057 C:\plplot\plplot\src\plargs.c 1423: Parameter 'client_data' is never used in function opt_dev
    Warning W8057 C:\plplot\plplot\src\plargs.c 1437: Parameter 'opt' is never used in function opt_o
    Warning W8057 C:\plplot\plplot\src\plargs.c 1437: Parameter 'client_data' is never used in function opt_o
    Warning W8057 C:\plplot\plplot\src\plargs.c 1451: Parameter 'opt' is never used in function opt_mar
    Warning W8057 C:\plplot\plplot\src\plargs.c 1451: Parameter 'client_data' is never used in function opt_mar
    Warning W8057 C:\plplot\plplot\src\plargs.c 1465: Parameter 'opt' is never used in function opt_a
    Warning W8057 C:\plplot\plplot\src\plargs.c 1465: Parameter 'client_data' is never used in function opt_a
    Warning W8057 C:\plplot\plplot\src\plargs.c 1479: Parameter 'opt' is never used in function opt_jx
    Warning W8057 C:\plplot\plplot\src\plargs.c 1479: Parameter 'client_data' is never used in function opt_jx
    Warning W8057 C:\plplot\plplot\src\plargs.c 1493: Parameter 'opt' is never used in function opt_jy
    Warning W8057 C:\plplot\plplot\src\plargs.c 1493: Parameter 'client_data' is never used in function opt_jy
    Warning W8057 C:\plplot\plplot\src\plargs.c 1507: Parameter 'opt' is never used in function opt_ori
    Warning W8057 C:\plplot\plplot\src\plargs.c 1507: Parameter 'client_data' is never used in function opt_ori
    Warning W8057 C:\plplot\plplot\src\plargs.c 1521: Parameter 'opt' is never used in function opt_freeaspect
    Warning W8057 C:\plplot\plplot\src\plargs.c 1521: Parameter 'optarg' is never used in function opt_freeaspect
    Warning W8057 C:\plplot\plplot\src\plargs.c 1521: Parameter 'client_data' is never used in function opt_freeaspect
    Warning W8057 C:\plplot\plplot\src\plargs.c 1549: Parameter 'opt' is never used in function opt_portrait
    Warning W8057 C:\plplot\plplot\src\plargs.c 1549: Parameter 'optarg' is never used in function opt_portrait
    Warning W8057 C:\plplot\plplot\src\plargs.c 1549: Parameter 'client_data' is never used in function opt_portrait
    Warning W8057 C:\plplot\plplot\src\plargs.c 1573: Parameter 'opt' is never used in function opt_width
    Warning W8057 C:\plplot\plplot\src\plargs.c 1573: Parameter 'client_data' is never used in function opt_width
    Warning W8057 C:\plplot\plplot\src\plargs.c 1627: Parameter 'opt' is never used in function opt_bg
    Warning W8057 C:\plplot\plplot\src\plargs.c 1627: Parameter 'client_data' is never used in function opt_bg
    Warning W8057 C:\plplot\plplot\src\plargs.c 1641: Parameter 'opt' is never used in function opt_ncol0
    Warning W8057 C:\plplot\plplot\src\plargs.c 1641: Parameter 'client_data' is never used in function opt_ncol0
    Warning W8057 C:\plplot\plplot\src\plargs.c 1655: Parameter 'opt' is never used in function opt_ncol1
    Warning W8057 C:\plplot\plplot\src\plargs.c 1655: Parameter 'client_data' is never used in function opt_ncol1
    Warning W8057 C:\plplot\plplot\src\plargs.c 1694: Parameter 'opt' is never used in function opt_wplt
    Warning W8057 C:\plplot\plplot\src\plargs.c 1694: Parameter 'client_data' is never used in function opt_wplt
    Warning W8060 C:\plplot\plplot\src\plargs.c 1721: Possibly incorrect assignment in function opt_drvopt
    Warning W8057 C:\plplot\plplot\src\plargs.c 1773: Parameter 'opt' is never used in function opt_drvopt
    Warning W8057 C:\plplot\plplot\src\plargs.c 1773: Parameter 'client_data' is never used in function opt_drvopt
    Warning W8057 C:\plplot\plplot\src\plargs.c 1787: Parameter 'opt' is never used in function opt_fam
    Warning W8057 C:\plplot\plplot\src\plargs.c 1787: Parameter 'optarg' is never used in function opt_fam
    Warning W8057 C:\plplot\plplot\src\plargs.c 1787: Parameter 'client_data' is never used in function opt_fam
    Warning W8057 C:\plplot\plplot\src\plargs.c 1844: Parameter 'opt' is never used in function opt_fsiz
    Warning W8057 C:\plplot\plplot\src\plargs.c 1844: Parameter 'client_data' is never used in function opt_fsiz
    Warning W8057 C:\plplot\plplot\src\plargs.c 1859: Parameter 'opt' is never used in function opt_fbeg
    Warning W8057 C:\plplot\plplot\src\plargs.c 1859: Parameter 'client_data' is never used in function opt_fbeg
    Warning W8057 C:\plplot\plplot\src\plargs.c 1874: Parameter 'opt' is never used in function opt_finc
    Warning W8057 C:\plplot\plplot\src\plargs.c 1874: Parameter 'client_data' is never used in function opt_finc
    Warning W8057 C:\plplot\plplot\src\plargs.c 1889: Parameter 'opt' is never used in function opt_fflen
    Warning W8057 C:\plplot\plplot\src\plargs.c 1889: Parameter 'client_data' is never used in function opt_fflen
    Warning W8057 C:\plplot\plplot\src\plargs.c 1903: Parameter 'opt' is never used in function opt_np
    Warning W8057 C:\plplot\plplot\src\plargs.c 1903: Parameter 'optarg' is never used in function opt_np
    Warning W8057 C:\plplot\plplot\src\plargs.c 1903: Parameter 'client_data' is never used in function opt_np
    Warning W8057 C:\plplot\plplot\src\plargs.c 1917: Parameter 'opt' is never used in function opt_nopixmap
    Warning W8057 C:\plplot\plplot\src\plargs.c 1917: Parameter 'optarg' is never used in function opt_nopixmap
    Warning W8057 C:\plplot\plplot\src\plargs.c 1917: Parameter 'client_data' is never used in function opt_nopixmap
    Warning W8057 C:\plplot\plplot\src\plargs.c 1931: Parameter 'opt' is never used in function opt_db
    Warning W8057 C:\plplot\plplot\src\plargs.c 1931: Parameter 'optarg' is never used in function opt_db
    Warning W8057 C:\plplot\plplot\src\plargs.c 1931: Parameter 'client_data' is never used in function opt_db
    Warning W8057 C:\plplot\plplot\src\plargs.c 1945: Parameter 'opt' is never used in function opt_bufmax
    Warning W8057 C:\plplot\plplot\src\plargs.c 1945: Parameter 'client_data' is never used in function opt_bufmax
    Warning W8057 C:\plplot\plplot\src\plargs.c 1959: Parameter 'opt' is never used in function opt_server_name
    Warning W8057 C:\plplot\plplot\src\plargs.c 1959: Parameter 'client_data' is never used in function opt_server_name
    Warning W8057 C:\plplot\plplot\src\plargs.c 1973: Parameter 'opt' is never used in function opt_plserver
    Warning W8057 C:\plplot\plplot\src\plargs.c 1973: Parameter 'client_data' is never used in function opt_plserver
    Warning W8057 C:\plplot\plplot\src\plargs.c 1991: Parameter 'opt' is never used in function opt_plwindow
    Warning W8057 C:\plplot\plplot\src\plargs.c 1991: Parameter 'client_data' is never used in function opt_plwindow
    Warning W8057 C:\plplot\plplot\src\plargs.c 2020: Parameter 'opt' is never used in function opt_tcl_cmd
    Warning W8057 C:\plplot\plplot\src\plargs.c 2020: Parameter 'client_data' is never used in function opt_tcl_cmd
    Warning W8057 C:\plplot\plplot\src\plargs.c 2034: Parameter 'opt' is never used in function opt_auto_path
    Warning W8057 C:\plplot\plplot\src\plargs.c 2034: Parameter 'client_data' is never used in function opt_auto_path
    Warning W8057 C:\plplot\plplot\src\plargs.c 2048: Parameter 'opt' is never used in function opt_px
    Warning W8057 C:\plplot\plplot\src\plargs.c 2048: Parameter 'client_data' is never used in function opt_px
    Warning W8057 C:\plplot\plplot\src\plargs.c 2062: Parameter 'opt' is never used in function opt_py
    Warning W8057 C:\plplot\plplot\src\plargs.c 2062: Parameter 'client_data' is never used in function opt_py
    Warning W8057 C:\plplot\plplot\src\plargs.c 2126: Parameter 'opt' is never used in function opt_geo
    Warning W8057 C:\plplot\plplot\src\plargs.c 2126: Parameter 'client_data' is never used in function opt_geo
    Warning W8057 C:\plplot\plplot\src\plargs.c 2144: Parameter 'opt' is never used in function opt_tk_file
    Warning W8057 C:\plplot\plplot\src\plargs.c 2144: Parameter 'client_data' is never used in function opt_tk_file
    Warning W8057 C:\plplot\plplot\src\plargs.c 2186: Parameter 'opt' is never used in function opt_dpi
    Warning W8057 C:\plplot\plplot\src\plargs.c 2186: Parameter 'client_data' is never used in function opt_dpi
    Warning W8057 C:\plplot\plplot\src\plargs.c 2207: Parameter 'opt' is never used in function opt_dev_compression
    Warning W8057 C:\plplot\plplot\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
    C:\plplot\plplot\src\plbox.c:
    Warning W8057 C:\plplot\plplot\src\plbox.c 788: Parameter 'nolast' is never used in function plxybx
    Warning W8065 C:\plplot\plplot\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
    C:\plplot\plplot\src\plcont.c:
    Warning W8057 C:\plplot\plplot\src\plcont.c 129: Parameter 'node' is never used in function alloc_line
    Warning W8057 C:\plplot\plplot\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
    C:\plplot\plplot\src\plcore.c:
    Warning W8012 C:\plplot\plplot\src\plcore.c 543: Comparing signed and unsigned values in function plP_text
    Warning W8012 C:\plplot\plplot\src\plcore.c 563: Comparing signed and unsigned values in function plP_text
    Warning W8012 C:\plplot\plplot\src\plcore.c 692: Comparing signed and unsigned values in function plP_text
    Warning W8057 C:\plplot\plplot\src\plcore.c 830: Parameter 'npts' is never used in function grline
    Warning W8065 C:\plplot\plplot\src\plcore.c 1024: Call to function 'setdef_diori' with no prototype in function pldi_ini
    Warning W8065 C:\plplot\plplot\src\plcore.c 1029: Call to function 'setdef_diplt' with no prototype in function pldi_ini
    Warning W8065 C:\plplot\plplot\src\plcore.c 1034: Call to function 'setdef_didev' with no prototype in function pldi_ini
    Warning W8065 C:\plplot\plplot\src\plcore.c 1426: Call to function 'setdef_didev' with no prototype in function calc_diori
    Warning W8065 C:\plplot\plplot\src\plcore.c 1661: Call to function 'plP_FreeDrvOpts' with no prototype in function c_plinit
    Warning W8065 C:\plplot\plplot\src\plcore.c 2138: Call to function 'getcwd' with no prototype in function plInBuildTree
    Warning W8065 C:\plplot\plplot\src\plcore.c 2144: Call to function 'chdir' with no prototype in function plInBuildTree
    Warning W8065 C:\plplot\plplot\src\plcore.c 2145: Call to function 'getcwd' with no prototype in function plInBuildTree
    Warning W8065 C:\plplot\plplot\src\plcore.c 2153: Call to function 'chdir' with no prototype in function plInBuildTree
    Warning W8065 C:\plplot\plplot\src\plcore.c 2172: Call to function 'plInBuildTree' with no prototype in function plGetDrvDir
    Warning W8065 C:\plplot\plplot\src\plcore.c 2570: Call to function 'lt_dlerror' with no prototype in function plLoadDriver
    [  6%] Building C object src/CMakeFiles/plplotd.dir/plctrl.obj
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    C:\plplot\plplot\src\plctrl.c:
    Warning W8065 C:\plplot\plplot\src\plctrl.c 1424: Call to function 'plInBuildTree' with no prototype in function plFindCommand
    Warning W8065 C:\plplot\plplot\src\plctrl.c 1518: Call to function 'plInBuildTree' with no prototype in function plLibOpenPdfstrm
    Warning W8057 C:\plplot\plplot\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
    C:\plplot\plplot\src\plcvt.c:
    Warning W8057 C:\plplot\plplot\src\plcvt.c 214: Parameter 'z' is never used in function plP_w3wcx
    [  8%] Building C object src/CMakeFiles/plplotd.dir/pldeprecated.obj
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    C:\plplot\plplot\src\pldeprecated.c:
    Warning W8057 C:\plplot\plplot\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
    C:\plplot\plplot\src\pldtik.c:
    Warning W8060 C:\plplot\plplot\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
    C:\plplot\plplot\src\plfill.c:
    Warning W8057 C:\plplot\plplot\src\plfill.c 316: Parameter 'xp3' is never used in function buildlist
    [ 10%] Building C object src/CMakeFiles/plplotd.dir/plfreetype.obj
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    C:\plplot\plplot\src\plfreetype.c:
    Warning W8057 C:\plplot\plplot\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
    C:\plplot\plplot\src\plhist.c:
    Warning W8060 C:\plplot\plplot\src\plhist.c 61: Possibly incorrect assignment in function c_plhist
    Warning W8060 C:\plplot\plplot\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
    C:\plplot\plplot\src\plimage.c:
    [ 13%] Building C object src/CMakeFiles/plplotd.dir/plline.obj
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    C:\plplot\plplot\src\plline.c:
    Warning W8019 C:\plplot\plplot\src\plline.c 1030: Code has no effect in function plP_plfclp
    Warning W8019 C:\plplot\plplot\src\plline.c 1034: Code has no effect in function plP_plfclp
    [ 14%] Building C object src/CMakeFiles/plplotd.dir/plmap.obj
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    C:\plplot\plplot\src\plmap.c:
    Warning W8057 C:\plplot\plplot\src\plmap.c 219: Parameter 'minlat' is never used in function c_plmap
    Warning W8057 C:\plplot\plplot\src\plmap.c 219: Parameter 'maxlat' is never used in function c_plmap
    [ 14%] Building C object src/CMakeFiles/plplotd.dir/plot3d.obj
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    C:\plplot\plplot\src\plot3d.c:
    Warning W8057 C:\plplot\plplot\src\plot3d.c 1190: Parameter 'ixstart' is never used in function c_plot3dcl
    Warning W8057 C:\plplot\plplot\src\plot3d.c 1190: Parameter 'ixn' is never used in function c_plot3dcl
    Warning W8057 C:\plplot\plplot\src\plot3d.c 1190: Parameter 'indexymin' is never used in function c_plot3dcl
    Warning W8057 C:\plplot\plplot\src\plot3d.c 1190: Parameter 'indexymax' is never used in function c_plot3dcl
    [ 16%] Building C object src/CMakeFiles/plplotd.dir/plpage.obj
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    C:\plplot\plplot\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
    C:\plplot\plplot\src\plsdef.c:
    [ 17%] Building C object src/CMakeFiles/plplotd.dir/plshade.obj
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    C:\plplot\plplot\src\plshade.c:
    Warning W8057 C:\plplot\plplot\src\plshade.c 715: Parameter 'c2eval' is never used in function plshade_int
    Warning W8057 C:\plplot\plplot\src\plshade.c 715: Parameter 'c2eval_data' is never used in function plshade_int
    Warning W8057 C:\plplot\plplot\src\plshade.c 715: Parameter 'missing_min' is never used in function plshade_int
    Warning W8057 C:\plplot\plplot\src\plshade.c 715: Parameter 'missing_max' is never used in function plshade_int
    Warning W8057 C:\plplot\plplot\src\plshade.c 1130: Parameter 'level' is never used in function plctest
    [ 18%] Building C object src/CMakeFiles/plplotd.dir/plstdio.obj
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    C:\plplot\plplot\src\plstdio.c:
    Warning W8057 C:\plplot\plplot\include\pldebug.h 88: Parameter 'label' is never used in function pldebug
    Warning W8004 C:\plplot\plplot\src\plstdio.c 57: 'bytes' is assigned a value that is never used in function plio_fwrite
    Warning W8004 C:\plplot\plplot\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
    C:\plplot\plplot\src\plstripc.c:
    [ 20%] Building C object src/CMakeFiles/plplotd.dir/plsym.obj
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    C:\plplot\plplot\src\plsym.c:
    Warning W8012 C:\plplot\plplot\src\plsym.c 275: Comparing signed and unsigned values in function plhrsh
    Warning W8060 C:\plplot\plplot\src\plsym.c 956: Possibly incorrect assignment in function plP_strpos
    Warning W8012 C:\plplot\plplot\src\plsym.c 1177: Comparing signed and unsigned values in function plhershey2unicode
    Warning W8012 C:\plplot\plplot\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
    C:\plplot\plplot\src\pltick.c:
    [ 21%] Building C object src/CMakeFiles/plplotd.dir/plvpor.obj
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    C:\plplot\plplot\src\plvpor.c:
    [ 22%] Building C object src/CMakeFiles/plplotd.dir/plwind.obj
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    C:\plplot\plplot\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
    C:\plplot\plplot\src\plbuf.c:
    Warning W8057 C:\plplot\plplot\include\pldebug.h 88: Parameter 'label' is never used in function pldebug
    Warning W8057 C:\plplot\plplot\src\plbuf.c 133: Parameter 'pls' is never used in function plbuf_eop
    Warning W8057 C:\plplot\plplot\src\plbuf.c 198: Parameter 'pls' is never used in function plbuf_tidy
    Warning W8057 C:\plplot\plplot\src\plbuf.c 400: Parameter 'pls' is never used in function rdbuf_init
    Warning W8057 C:\plplot\plplot\src\plbuf.c 453: Parameter 'pls' is never used in function rdbuf_eop
    Warning W8019 C:\plplot\plplot\src\plbuf.c 955: Code has no effect in function wr_data
    Warning W8012 C:\plplot\plplot\src\plbuf.c 1140: Comparing signed and unsigned values in function plbuf_save
    Warning W8012 C:\plplot\plplot\src\plbuf.c 1147: Comparing signed and unsigned values in function plbuf_save
    [ 24%] Building C object src/CMakeFiles/plplotd.dir/plgridd.obj
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    C:\plplot\plplot\src\plgridd.c:
    Warning W8065 C:\plplot\plplot\src\plgridd.c 237: Call to function 'csa_create' with no prototype in function grid_csa
    [ 25%] Building C object src/CMakeFiles/plplotd.dir/plvect.obj
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    C:\plplot\plplot\src\plvect.c:
    Warning W8057 C:\plplot\plplot\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
    C:\plplot\plplot\src\mt19937ar.c:
    [ 27%] Building C object src/CMakeFiles/plplotd.dir/ltdl_win32.obj
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    C:\plplot\plplot\src\ltdl_win32.c:
    Linking C shared library ..\dll\plplotd.dll
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland

    Borland Implib Version 3.0.22 Copyright (c) 1991, 2000 Inprise Corporation
    [ 27%] Built target plplotd
    MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
    Scanning dependencies of target plplotcxxd
    MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
    [ 28%] Building CXX object bindings/c++/CMakeFiles/plplotcxxd.dir/plstream.obj
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    C:\plplot\plplot\bindings\c++\plstream.cc:
    Warning W8020 c:\Borland\Bcc55\include\rw/rwlocale.h 601: 'create_named_facet<Facet>(Facet *,const char *,unsigned int)' is declared as both external and static
    Warning W8020 c:\Borland\Bcc55\include\rw/vendor.h 73: '__rwstd::create_native_facet<Facet>(Facet *)' is declared as both external and static
    Warning W8020 c:\Borland\Bcc55\include\istream.h 445: 'std::operator == <T,charT,traits,Distance>(const istream_iterator<T,charT,traits,Distance> &,const istream_iterator<T,charT,traits,Distance> &)' is declared as both external and static
    Linking CXX shared library ..\..\dll\plplotcxxd.dll
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland

    Borland Implib Version 3.0.22 Copyright (c) 1991, 2000 Inprise Corporation
    [ 28%] Built target plplotcxxd
    MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
    [ 29%] Swig source
    Scanning dependencies of target plplotjavac_wrap
    MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
    [ 29%] Building C object bindings/java/CMakeFiles/plplotjavac_wrap.dir/plplotjavacJAVA_wrap.obj
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    C:\plplot\plplot\buildnmake\bindings\java\plplotjavacJAVA_wrap.c:
    Warning W8075 C:\plplot\plplot\buildnmake\bindings\java\plplotjavacJAVA_wrap.c 5152: Suspicious pointer conversion in function Java_plplot_core_plplotjavacJNI_plparseopts
    Linking C shared module ..\..\dll\plplotjavac_wrap.dll
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
    [ 29%] Built target plplotjavac_wrap
    MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
    Scanning dependencies of target plplot_core
    MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
    [ 29%] Generating plplot/core/config.class
    [ 29%] Generating plplot/core/plplotjavacJNI.class
    [ 29%] Generating plplot/core/PLGraphicsIn.class
    [ 29%] Generating plplot/core/plplotjavacConstants.class
    [ 29%] Generating plplot/core/plplotjavac.class
    [ 29%] Generating plplot/core/PLStream.class
    [ 35%] Built target plplot_core
    MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
    Scanning dependencies of target get-drv-info
    MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
    [ 36%] Building C object drivers/CMakeFiles/get-drv-info.dir/get-drv-info.obj
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    C:\plplot\plplot\drivers\get-drv-info.c:
    Warning W8065 C:\plplot\plplot\drivers\get-drv-info.c 38: Call to function 'lt_dlerror' with no prototype in function catch_segv
    Warning W8057 C:\plplot\plplot\drivers\get-drv-info.c 40: Parameter 'sig' is never used in function catch_segv
    Warning W8065 C:\plplot\plplot\drivers\get-drv-info.c 65: Call to function 'lt_dlerror' with no prototype in function main
    Warning W8065 C:\plplot\plplot\drivers\get-drv-info.c 76: Call to function 'lt_dlerror' with no prototype in function main
    Warning W8057 C:\plplot\plplot\drivers\get-drv-info.c 79: Parameter 'argc' is never used in function main
    Linking C executable get-drv-info.exe
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
    [ 36%] Built target get-drv-info
    MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
    Scanning dependencies of target hpgl
    MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
    [ 36%] Building C object drivers/CMakeFiles/hpgl.dir/hpgl.obj
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    C:\plplot\plplot\drivers\hpgl.c:
    Warning W8057 C:\plplot\plplot\drivers\hpgl.c 103: Parameter 'menustr' is never used in function hpgl_dispatch_init_helper
    Warning W8057 C:\plplot\plplot\drivers\hpgl.c 103: Parameter 'devnam' is never used in function hpgl_dispatch_init_helper
    Warning W8057 C:\plplot\plplot\drivers\hpgl.c 302: Parameter 'pls' is never used in function plD_eop_hpgl
    Warning W8057 C:\plplot\plplot\drivers\hpgl.c 377: Parameter 'pls' is never used in function plD_esc_hpgl
    Warning W8057 C:\plplot\plplot\drivers\hpgl.c 377: Parameter 'op' is never used in function plD_esc_hpgl
    Warning W8057 C:\plplot\plplot\drivers\hpgl.c 377: Parameter 'ptr' is never used in function plD_esc_hpgl
    Linking C shared module ..\dll\hpgl.dll
    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
    [ 36%] Built target hpgl
    MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
    Scanning dependencies of target hpgl_CHECK
    MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
    [ 36%] Generating hpgl.rc

    After this i get the message dailog.

    Thanks
    Subrahmanyam

     
    • Werner Smekal
      Werner Smekal
      2008-12-22

      Hi,

      during the compilation get-drv-info opens the created driver dlls (in your case hpgl.dll) to obtain some information. This dll depends on other dlls and if they are not found an error occurs. Therefore you must make sure, that the dll folder in the build directory is in the path, e.g. run

      SET PATH=build_dir/dll;%PATH%

      before the compilation. You can turn off the dynamic driver option (that is, all driver are included in the plplot library then), with -DENABLE_DYNDRIVERS=OFF. Then during the compilation dlls won't be opened. To run the examples or you program, the dll folder must again in the path then (or you copy the dlls to the program folder).

      Apart from that: the borland compiler is not well tested, the last time I tried was a year ago or two, so problems might occur (e.g. the wingcc driver is disabled, as I can see from your output).

      Regards,
      Werner

       
    • Thanks Werner, Now it is working fine. Is there any way to enable wingcc driver.

      Thanks
      Subrahmanyam

       
      • Werner Smekal
        Werner Smekal
        2009-01-20

        Hi,

        I changed the way the gdi32 and comdlg32 import libraries are found by CMake and obviously for the Borland compiler it can't find the import libraries. I need to do some changes in the CBS, but this won't happen in the next days. But this should work:

        If the borland compiler was installed in the folder C:\BCC55 then set the environment variable

        set CMAKE_LIBRARY_PATH=C:\BCC55\Lib\PSDK

        CMake will then also look in this path for gdi32 and comdlg32 import libraries. This must be done before you configure your build with cmake, so remove the build directory completely and restart.

        Let me know, if this works, so that I can describe this problem in the plplot wiki.

        Regards,
        Werner

         
    • Hi Werner,

             It's working fine.

      Thanks,
      Subrahmanyam