I have followed the instructions at www.miscdebris.net/plplot_wiki/ to configure PlPlot using Borland. Cmake seems to complete ok. Make immediately fails with odd compiler errors.
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
CMake version = 2.8.4
SH_EXECUTABLE = SH_EXECUTABLE-NOTFOUND
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 - not 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 - not 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 - not found
Looking for usleep
Looking for usleep - not 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 - not found.
Looking for finite
Looking for finite - 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 - not found
Looking for _isnan
Looking for _isnan - not found.
Looking for _isnan
Looking for _isnan - found
Looking for isinf
Looking for isinf - not found.
Looking for isinf
Looking for isinf - not found
Looking for _isinf
Looking for _isinf - not found.
Looking for _isinf
Looking for _isinf - not 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: Makefile+pkg-config version of examples build in the install tree will be disabled.
X11_FOUND =
X11_INCLUDE_DIR =
X11_COMPILE_FLAGS =
X11_LIBRARIES =
The C 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
CMAKE_GENERATOR = Borland Makefiles
The CXX compiler identification is Borland
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
Configuring done
Generating done
Build files have been written to: C:/plplot/buildbcc/language_tests/CXX
The CXX compiler identification is Borland
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
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 C 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
CMAKE_GENERATOR = Borland 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: swig not found. 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 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
CMAKE_GENERATOR = Borland Makefiles
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 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
CMAKE_GENERATOR = Borland 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 PL_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.
WARNING: Qt4 development environment not found so disabling all qt devices.
WARNING: PLD_extqt is OFF so setting ENABLE_qt to OFF.
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 issues in the PLplot DocBook documentation because onsgmls was not found.
WARNING: Perl modules XML::Parser and/or XML::DOM not available
so cannot check that swig_documentation.i is up to date.
Summary of CMake build system results for PLplot
Install location variables which can be set by the user:
CMAKE_INSTALL_PREFIX: c:/plplot/buildbcc/install
CMAKE_INSTALL_EXEC_PREFIX install
CMAKE_INSTALL_BINDIR install/bin
CMAKE_INSTALL_DATADIR install/share
CMAKE_INSTALL_LIBDIR install/lib
CMAKE_INSTALL_INCLUDEDIR install/include
CMAKE_INSTALL_INFODIR install/share/info
CMAKE_INSTALL_MANDIR install/share/man
ENABLE_DYNDRIVERS: ON
DRIVERS_LIST: mem;null;ps;svg;wingcc;xfig
DEVICES_LIST: mem;null;ps;svg;wingcc;xfig
Library options:
BUILD_SHARED_LIBS: ON PL_DOUBLE: ON
Optional libraries:
PL_HAVE_QHULL: OFF WITH_CSA: ON
Language Bindings:
ENABLE_cxx: ON
Configuring done
Generating done
Build files have been written to: C:/plplot/buildbcc
C:\plplot\buildbcc> make
____________________
MAKE Version 5.2 Copyright (C) 1987, 2000 Borland
MAKE Version 5.2 Copyright (C) 1987, 2000 Borland
MAKE Version 5.2 Copyright (C) 1987, 2000 Borland
Scanning dependencies of target csirocsa
MAKE Version 5.2 Copyright (C) 1987, 2000 Borland
Building C object lib/csa/CMakeFiles/csirocsa.dir/csa.c.obj
Borland C++ 5.5.1 for Win32 Copyright (C) 1993, 2000 Borland
C:\plplot\lib\csa\csa.c:
Error E2040 C:\plplot\lib\csa\csa.c 1: Declaration terminated incorrectly
Error E2206 C:\plplot\lib\csa\csa.c 15: Illegal character '`' (0x60)
Error E2206 C:\plplot\lib\csa\csa.c 15: Illegal character '`' (0x60)
Error E2129 C:\plplot\lib\csa\csa.c 15: Character constant must be one or two characters long
Error E2325 C:\plplot\lib\csa\csa.c 23: Illegal octal digit
Error E2303 c:\Borland\Bcc55\include\search.h 37: Type name expected
Error E2303 c:\Borland\Bcc55\include\search.h 41: Type name expected
Error E2303 c:\Borland\Bcc55\include\search.h 44: Type name expected
Error E2303 c:\Borland\Bcc55\include\search.h 46: Type name expected
Error E2147 c:\Borland\Bcc55\include\stdlib.h 127: 'size_t' cannot start a parameter declaration
Error E2303 c:\Borland\Bcc55\include\stdlib.h 127: Type name expected
Error E2147 c:\Borland\Bcc55\include\stdlib.h 134: 'size_t' cannot start a parameter declaration
Error E2303 c:\Borland\Bcc55\include\stdlib.h 135: Type name expected
Error E2141 c:\Borland\Bcc55\include\stdlib.h 136: Declaration syntax error
Error E2303 c:\Borland\Bcc55\include\stdlib.h 138: Type name expected
Error E2303 c:\Borland\Bcc55\include\stdlib.h 140: Type name expected
Error E2141 c:\Borland\Bcc55\include\stdlib.h 150: Declaration syntax error
Error E2303 c:\Borland\Bcc55\include\stdlib.h 270: Type name expected
Error E2303 c:\Borland\Bcc55\include\stdlib.h 309: Type name expected
Error E2141 c:\Borland\Bcc55\include\stdio.h 166: Declaration syntax error
Error E2141 c:\Borland\Bcc55\include\stdio.h 177: Declaration syntax error
Error E2303 c:\Borland\Bcc55\include\stdio.h 202: Type name expected
Error E2303 c:\Borland\Bcc55\include\stdio.h 205: Type name expected
Error E2303 c:\Borland\Bcc55\include\stdio.h 207: Type name expected
Error E2303 c:\Borland\Bcc55\include\stdio.h 233: Type name expected
Error E2228 c:\Borland\Bcc55\include\stdio.h 233: Too many error or warning messages
*** 26 errors in Compile ***
For me it seems that the unzipper had problems unzipping the package. I used to work on the PLplot package with the Borland 5.5 compiler, but this compiler is really old (though fast) and it's not possible to support all compilers for the PLplot package due to lack of maintainers.
Regards,
Werner
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have followed the instructions at www.miscdebris.net/plplot_wiki/ to configure PlPlot using Borland. Cmake seems to complete ok. Make immediately fails with odd compiler errors.
C:\plplot\buildbcc> cmake -G "Borland Makefiles" -DCMAKE_INSTALL_PREFIX=install ..
high bit set.
The C 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
CMAKE_GENERATOR = Borland Makefiles
The CXX compiler identification is Borland
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
Configuring done
Generating done
Build files have been written to: C:/plplot/buildbcc/language_tests/CXX
The CXX compiler identification is Borland
The C 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
CMAKE_GENERATOR = Borland Makefiles
The Fortran compiler identification is unknown
Configuring incomplete, errors occurred!
WARNING: no working Fortran compiler so disabling Fortran bindings and examples.
The C 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
CMAKE_GENERATOR = Borland Makefiles
Configuring incomplete, errors occurred!
WARNING: no working Ada compiler so disabling Ada bindings and examples.
The C 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
CMAKE_GENERATOR = Borland 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.
so cannot check that swig_documentation.i is up to date.
Summary of CMake build system results for PLplot
Install location variables which can be set by the user:
CMAKE_INSTALL_PREFIX: c:/plplot/buildbcc/install
CMAKE_INSTALL_EXEC_PREFIX install
CMAKE_INSTALL_BINDIR install/bin
CMAKE_INSTALL_DATADIR install/share
CMAKE_INSTALL_LIBDIR install/lib
CMAKE_INSTALL_INCLUDEDIR install/include
CMAKE_INSTALL_INFODIR install/share/info
CMAKE_INSTALL_MANDIR install/share/man
Derived install location variables:
DATA_DIR C:/plplot/buildbcc/install/share/plplot5.9.7
LIB_DIR install/lib
INCLUDE_DIR install/include/plplot
BIN_DIR install/bin
TCL_DIR install/share/plplot5.9.7/tcl
ADA_INCLUDE_DIR install/share/ada/adainclude/plplotadad
ADA_LIB_DIR install/lib/ada/adalib/plplotadad
PYTHON_INSTDIR
DRV_DIR install/lib/plplot5.9.7/driversd
DOC_DIR install/sahre/doc/plplot
MAN_DIR install/share/man
INFO_DIR install/share/info
Other important CMake variables:
CMAKE_SYSTEM_NAME: Windows
WIN32: 1
BORLAND: 1
SWIG_FOUND: FALSE
PERL_FOUND: FALSE
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: mem;null;ps;svg;wingcc;xfig
DEVICES_LIST: mem;null;ps;svg;wingcc;xfig
Library options:
BUILD_SHARED_LIBS: ON PL_DOUBLE: ON
Optional libraries:
PL_HAVE_QHULL: OFF WITH_CSA: ON
Language Bindings:
ENABLE_cxx: ON
C:\plplot\buildbcc> make
____________________
MAKE Version 5.2 Copyright (C) 1987, 2000 Borland
MAKE Version 5.2 Copyright (C) 1987, 2000 Borland
MAKE Version 5.2 Copyright (C) 1987, 2000 Borland
Scanning dependencies of target csirocsa
MAKE Version 5.2 Copyright (C) 1987, 2000 Borland
Building C object lib/csa/CMakeFiles/csirocsa.dir/csa.c.obj
Borland C++ 5.5.1 for Win32 Copyright (C) 1993, 2000 Borland
C:\plplot\lib\csa\csa.c:
Error E2040 C:\plplot\lib\csa\csa.c 1: Declaration terminated incorrectly
Error E2206 C:\plplot\lib\csa\csa.c 15: Illegal character '`' (0x60)
Error E2206 C:\plplot\lib\csa\csa.c 15: Illegal character '`' (0x60)
Error E2129 C:\plplot\lib\csa\csa.c 15: Character constant must be one or two characters long
Error E2325 C:\plplot\lib\csa\csa.c 23: Illegal octal digit
Error E2303 c:\Borland\Bcc55\include\search.h 37: Type name expected
Error E2303 c:\Borland\Bcc55\include\search.h 41: Type name expected
Error E2303 c:\Borland\Bcc55\include\search.h 44: Type name expected
Error E2303 c:\Borland\Bcc55\include\search.h 46: Type name expected
Error E2147 c:\Borland\Bcc55\include\stdlib.h 127: 'size_t' cannot start a parameter declaration
Error E2303 c:\Borland\Bcc55\include\stdlib.h 127: Type name expected
Error E2147 c:\Borland\Bcc55\include\stdlib.h 134: 'size_t' cannot start a parameter declaration
Error E2303 c:\Borland\Bcc55\include\stdlib.h 135: Type name expected
Error E2141 c:\Borland\Bcc55\include\stdlib.h 136: Declaration syntax error
Error E2303 c:\Borland\Bcc55\include\stdlib.h 138: Type name expected
Error E2303 c:\Borland\Bcc55\include\stdlib.h 140: Type name expected
Error E2141 c:\Borland\Bcc55\include\stdlib.h 150: Declaration syntax error
Error E2303 c:\Borland\Bcc55\include\stdlib.h 270: Type name expected
Error E2303 c:\Borland\Bcc55\include\stdlib.h 309: Type name expected
Error E2141 c:\Borland\Bcc55\include\stdio.h 166: Declaration syntax error
Error E2141 c:\Borland\Bcc55\include\stdio.h 177: Declaration syntax error
Error E2303 c:\Borland\Bcc55\include\stdio.h 202: Type name expected
Error E2303 c:\Borland\Bcc55\include\stdio.h 205: Type name expected
Error E2303 c:\Borland\Bcc55\include\stdio.h 207: Type name expected
Error E2303 c:\Borland\Bcc55\include\stdio.h 233: Type name expected
Error E2228 c:\Borland\Bcc55\include\stdio.h 233: Too many error or warning messages
*** 26 errors in Compile ***
** error 1 ** deleting lib\csa\CMakeFiles\csirocsa.dir\csa.c.obj
** error 1 ** deleting lib\csa\CMakeFiles\csirocsa.dir\all
** error 1 ** deleting all
For me it seems that the unzipper had problems unzipping the package. I used to work on the PLplot package with the Borland 5.5 compiler, but this compiler is really old (though fast) and it's not possible to support all compilers for the PLplot package due to lack of maintainers.
Regards,
Werner