attached

cmake.out.txt = first cmake run without existing .libs

cmake.out.2.txt = second cmake run with existing .libs

----- Original Message ----- From: "Pedro Vicente" <pedro.vice...@space-research.org>
To: "Alan W. Irwin" <ir...@beluga.phys.uvic.ca>
Cc: "PLplot development list" <plplot-devel@lists.sourceforge.net>
Sent: Saturday, December 17, 2016 7:25 PM
Subject: Re: [Plplot-devel] Cmake generation with wxWidgets on Windows



Hi Alan

(3) Static PLplot libraries + device driver code embedded in our core
static library (identified by its "plplot" basename).

I always use (3).

I repeated what I had done before:

My wxwidgets libraries are located at

M:\wx\wxwidgets-3.1.0\lib\vc_lib

here there are several .lib files like this one

wxmsw31ud_core.lib

1) I deleted all .lib files from that location
2) did a PLplot cmake run with

cmake ".." -G "Visual Studio
14" -DPL_DOUBLE:BOOL=ON -DBUILD_TEST:BOOL=ON 
-DCMAKE_CONFIGURATION_TYPES:STRING="Debug"
-DCMAKE_BUILD_TYPE:STRING="Debug" -DBUILD_SHARED_LIBS:BOOL=OFF 
-DSTATIC_RUNTIME:BOOL=ON
-DPLD_wxwidgets:BOOL=ON -DwxWidgets_ROOT_DIR:PATH=%WXWIN% 
-DwxWidgets_LIB_DIR:PATH=%WXWIN%\lib\vc_lib
-DwxWidgets_CONFIGURATION=mswud -DwxWidgets_EXCLUDE_COMMON_LIBRARIES:BOOL=OFF
> cmake.out.txt 2>&1

where
%WXWIN%
is
M:\wx\wxwidgets-3.1.0

cmake.out.txt  is attached and it detected wxwidgets

2) Built the Visual Studio generated solution and got the wxwidgets linking
errors

4) rebuilt wxwidgets libraries at M:\wx\wxwidgets-3.1.0\lib\vc_lib

5) did the same  PLplot cmake run

6) Built the Visual Studio generated solution , no errors


I took a look at the PLplot
FindwxWidgets.cmake
module and it seems that there is an attempt to find the wxwidgets libraries
(the actual file names), here

find_library(WX_${LIB}${_DBG}
       NAMES
       wxbase31${_UCD}${_DBG}_${LIB}


so, not sure exactly what happened, and probably we could leave this
possible non-critical bug for after the release (if it's a bug).

I started using cmake in my projects some months ago, and what I do to
detect libraries is like this,
an example for the JSON jansson library:


find_library(JANSSON_LIBRARY NAMES jansson HINTS
"/data/data127/pvicente/install/jansson-2.9/lib/")
if(NOT JANSSON_LIBRARY)
 message(FATAL_ERROR "jansson library not found")
else()
 message("-- Found jansson library at: " ${JANSSON_LIBRARY})
endif()

on a typical Unix system where jansson is installed on a standard place I
get this by doing just

cmake ..

-- Found jansson.h header file at: /usr/include
-- Found jansson library at: /usr/lib/i386-linux-gnu/libjansson.so

On a Unix system where I don't have jansson on a standard place , I do the
HINTS option , like

find_library(JANSSON_LIBRARY NAMES jansson HINTS
"/data/data127/pvicente/install/jansson-2.9/lib/")

and I can do also

cmake ..


On a Windows system (or  a Unix system) I provide the option

cmake .. -DJANSSON_LIBRARY=/my/path/to/jansson

Here's my Windows call (the path like /C/ is because this is in Git Bash)

cmake
.. -DSTATIC_CRT:BOOL=ON -DJANSSON_INCLUDE:PATH=/C/include 
-DJANSSON_LIBRARY=/C/lib/jansson.lib


my library file is actually called (extra _d)
/C/lib/jansson_d.lib

and cmake said

-- Found jansson.h header file at: C:/include
-- Found jansson library at: C:/lib/jansson.lib

then when I build Visual Studio I get

LINK : fatal error LNK1104: cannot open file 'C:\lib\jansson.lib'

my understanding is that
find_library

does not actually detect if the argument is an existent file

Or could be that it does not because I am using the same variable name
JANSSON_LIBRARY
for both the argument of
cmake .. -DJANSSON_LIBRARY
and
find_library(JANSSON_LIBRARY

so , this print
-- Found jansson library at: C:/lib/jansson.lib

is not actually true for this example.

Probably it would be possible to actually detect if the file does indeed
exist, but I did it like this to keep things simple

So, the solution I have for
find_library

assumes that the supplied argument
-DJANSSON_LIBRARY
is a valid file

-Pedro



----- Original Message ----- From: "Alan W. Irwin" <ir...@beluga.phys.uvic.ca>
To: "Pedro Vicente" <pedro.vice...@space-research.org>
Cc: "PLplot development list" <plplot-devel@lists.sourceforge.net>
Sent: Saturday, December 17, 2016 4:26 AM
Subject: Re: [Plplot-devel] Cmake generation with wxWidgets on Windows


On 2016-12-17 03:30-0500 Pedro Vicente wrote:

false alarm, sorry

what happened is that my wxWidgets libraries were not built.

In Windows , I don't do install, but rather build software and leave it
where it was built, and sometimes delete and rebuild.

In PLplot 5.11.1 the build actually did not include the wxWidgets
projects and files, so it built.
but in the git version it did include the wxWidgets projects and files,
so it failed.

there's the small detail that cmake should have had allerted that
wxWidgets was not built...but probably not important , or could just have
been my mistake somewhere.

so the result is for cmake build with wxWidgets

Rebuild All: 88 succeeded, 0 failed, 0 skipped =

To give some quick background for my answer,
our build system enables three principal configurations:

(1) Shared PLplot libraries + dll device drivers which are dynamically
loaded by
our core shared library (identified by its "plplot" basename).

(2) Shared PLplot libraries + device driver code embedded in our core
shareded library (identified by its "plplot" basename).

(3) Static PLplot libraries + device driver code embedded in our core
static library (identified by its "plplot" basename).

In case (1) the wxwidgets device driver dll (with basename of wxwidgets)
exists, but otherwise that dll does not exist for cases (2) and (3).
Of course, that device driver dll must be distinguished from
the wxwidgets binding library (identified with the basename of
plplotwxwidgets) which exists in all 3 cases, and which in
cases (1) and (2) will be shared and in case (3) will be static.

I am not sure whether you are referring to the wxwidgets device driver
(which if you use a static build will make it become part of the
plplot library) or plplotwxwidgets library above.

As far as I know, our build system handles all build dependencies of
wxwidgets (when it exists for case (1)), our plplot library (both
without [case (1)] and with [cases (2) and (3)] wxwidgets device
driver code embedded in it) and the plplotwxwidgets library.  Can you
give me an example of a wxwidgets-related specific target
(e.g., wxwidgets, plplot, plplotwxwidgets, wxPLviewer,
test_wxPLplotDemo, or even wxPLplotDemo) (where I include plplot in
the list for just cases (2) and (3) and exclude wxwidgets for those cases)
that you attempt to (re)build with your Windows IDE that obviously has
incorrect dependencies?

Also, you cannot change horses in mid-stream, i.e., you cannot change
a build tree that is configured for (1), (2), or (3) into one of the
other cases.  Instead, you have to start fresh with an empty build
tree for each of those three cases.  Is that the source of the
dependency difficulty you have encountered?

Alan

__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and
Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________

Linux-powered Science
__________________________



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

-- The C compiler identification is MSVC 19.0.24213.1
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 
14.0/VC/bin/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 
14.0/VC/bin/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- CMake version = 3.6.2
-- CMAKE_SYSTEM_NAME = Windows
-- 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 4 include files stdlib.h, ..., float.h
-- Looking for 4 include files stdlib.h, ..., float.h - 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 file unistd.h
-- Looking for include file unistd.h - not found
-- Looking for include file termios.h
-- Looking for include file termios.h - not found
-- Looking for include file stdint.h
-- Looking for include file stdint.h - found
-- Looking for crt_externs.h
-- Looking for crt_externs.h - not found
-- Performing Test HAVE_SYS_WAIT_H
-- Performing Test HAVE_SYS_WAIT_H - Failed
-- Looking for DIR symbol in sys/types.h;dirent.h
-- Looking for DIR symbol in sys/types.h;dirent.h - not found.
-- Looking for DIR symbol in sys/types.h;sys/ndir.h
-- Looking for DIR symbol in sys/types.h;sys/ndir.h - not found.
-- Looking for DIR symbol in sys/types.h;sys/dir.h
-- Looking for DIR symbol in sys/types.h;sys/dir.h - not found.
-- Looking for DIR symbol in sys/types.h;ndir.h
-- Looking for DIR symbol in sys/types.h;ndir.h - not 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 nanosleep
-- Looking for nanosleep - not found
-- Looking for mkstemp
-- Looking for mkstemp - not found
-- Looking for mkdtemp
-- Looking for mkdtemp - not found
-- Looking for mkfifo
-- Looking for mkfifo - not found
-- Looking for unlink
-- Looking for unlink - found
-- Looking for _NSGetArgc
-- Looking for _NSGetArgc - not found
-- Looking for isfinite
-- Looking for isfinite - found
-- Looking for finite
-- Looking for finite - not found
-- Looking for isnan
-- Looking for isnan - found
-- Looking for isinf
-- Looking for isinf - found
-- Looking for snprintf
-- Looking for snprintf - found
-- SWIG was not found. Please specify Swig executable location
-- Could NOT find Perl (missing: PERL_EXECUTABLE) -- The CXX compiler identification is MSVC 19.0.24213.1
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual 
Studio 14.0/VC/bin/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual 
Studio 14.0/VC/bin/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for using namespace support
-- Check for using namespace - found
-- Looking for C++ include cmath
-- Looking for C++ include cmath - found
-- Check for using stdint.h with CXX compiler
-- Check for using stdint.h with CXX compiler - ok
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) -- Looking for pkg-config - not found
-- WARNING: Makefile+pkg-config version of examples build in the install tree 
will not work.
-- X11_FOUND = -- X11_INCLUDE_DIR = -- X11_COMPILE_FLAGS = -- X11_LIBRARIES = -- A test cmake run with language = Fortran enabled failed.
-- Specify -DENABLE_compiler_diagnostics=ON to see full CMake diagnostics 
concerning this failure.
-- WARNING: no working Fortran compiler so disabling f95 binding and examples.
-- WARNING: Java requires shared libraries. Disabling java binding
-- WARNING: Python binding fixup requires sed which was not found. Disabling 
Python binding
-- WARNING: swig not found. Disabling Octave binding
-- Start determining consistent system data for Tcl and friends
-- 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 Tcl - not found
-- WARNING: setting ENABLE_tcl to OFF
-- WARNING: ENABLE_tcl is OFF so disabling everything else that is Tcl/Tk 
related
-- A test cmake run with language = Ada enabled failed.
-- Specify -DENABLE_compiler_diagnostics=ON to see full CMake diagnostics 
concerning this failure.
-- WARNING: no working Ada compiler so disabling Ada binding and examples.
-- WARNING: Lua requires shared libraries. Disabling Lua binding
-- WARNING: SHAPELIB not found.  Setting HAVE_SHAPELIB to OFF.
-- Could NOT find Freetype (missing: FREETYPE_LIBRARY FREETYPE_INCLUDE_DIRS) -- Check for NaN awareness in C compiler
-- Check for NaN awareness in C compiler - found
-- Neither qhull/qhull_a.h header nor libqhull/qhull_a.h could be found
-- qhull library could not be found
-- Could NOT find QHULL (missing: QHULL_INCLUDE_DIRS QHULL_LIBRARIES QHULL_LIBRARY_DIRS) -- QHULL_INCLUDE_DIRS = -- QHULL_LIBRARIES = -- WARNING: at least one of QHULL_INCLUDE_DIRS or QHULL_LIBRARIES is false so setting PL_HAVE_QHULL to OFF.
-- WARNING: pango not found because pkg-config not available.
-- WARNING: Shared libraries not built. Setting ENABLE_DYNDRIVERS OFF.
-- WARNING: pkg-config not found. Setting cairo drivers to OFF.
-- WARNING: ENABLE_tk OFF.  Therefore turning off tk, tkwin, and ntk devices
-- WARNING: pkg-config not found. Setting PLD_psttf to OFF.
-- Found unsuitable Qt version "" from NOTFOUND
-- WARNING: Suitable Qt4 development environment not found so trying Qt5 
instead.
CMake Warning at cmake/modules/qt.cmake:144 (find_package):
 By not providing "FindQt5.cmake" in CMAKE_MODULE_PATH this project has
 asked CMake to find a package configuration file provided by "Qt5", but
 CMake did not find one.

 Could not find a package configuration file provided by "Qt5" (requested
 version 5.3.1) with any of the following names:

   Qt5Config.cmake
   qt5-config.cmake

 Add the installation prefix of "Qt5" to CMAKE_PREFIX_PATH or set "Qt5_DIR"
 to a directory containing one of the above files.  If "Qt5" provides a
 separate development package or SDK, be sure it has been installed.
Call Stack (most recent call first):
 cmake/modules/drivers.cmake:96 (include)
 cmake/modules/plplot.cmake:549 (include)
 CMakeLists.txt:135 (include)


-- WARNING: Suitable Qt5 development environment not found so disabling qt
-- WARNING: ENABLE_qt is OFF so setting all qt devices to OFF.
-- WARNING: PLPLOT_USE_QT5 is ON so setting ENABLE_pyqt4 to OFF.
-- WARNING: ENABLE_python is OFF so setting ENABLE_pyqt5 to OFF.
-- Looking for gdi32 header and library
-- Looking for gdi32 header and library - not found
-- WARNING: Setting PLD_wingcc to OFF.
-- wxWidgets_FOUND           : TRUE
-- wxWidgets_INCLUDE_DIRS    : 
M:/wx/wxwidgets-3.1.0/lib/vc_lib/mswud;M:/wx/wxwidgets-3.1.0/include
-- wxWidgets_LIBRARY_DIRS : -- wxWidgets_LIBRARIES : winmm;comctl32;rpcrt4;wsock32 -- wxWidgets_CXX_FLAGS : -- wxWidgets_USE_FILE : UsewxWidgets
-- Checking whether wxwidgets version >= 3.0.0
-- Performing Test WX_VERSION_LARGE_ENOUGH
-- Performing Test WX_VERSION_LARGE_ENOUGH - Success
-- wxwidgets_COMPILE_FLAGS = -IM:/wx/wxwidgets-3.1.0/lib/vc_lib/mswud 
-IM:/wx/wxwidgets-3.1.0/include -DUNICODE -D_UNICODE -D_DEBUG -D__WXDEBUG__
-- wxwidgets_LINK_FLAGS = winmm;comctl32;rpcrt4;wsock32
-- Looking for haru pdf header and library
-- Looking for haru pdf header and library - not found
-- WARNING: Setting PLD_pdf to OFF.
-- WARNING: Static build with ENABLE_ocaml_static false.  Therefore, disabling 
OCaml binding
-- WARNING: ENABLE_ocaml is OFF so disabling Plcairo module and lablgtk2 support
-- WARNING: validate target will not be available to check for syntax issues in 
the PLplot DocBook documentation because onsgmls (or env) was not found.
pc_libplplot_LINK_FLAGS = winmm;comctl32;rpcrt4;wsock32;-lcsirocsa;-lqsastime
-- WARNING: Perl modules XML::Parser and/or XML::DOM not available
  so cannot check that swig_documentation.i is up to date.
-- WARNING: pkg-config not found so extXdrawable_demo, and ext-cairo-test not 
built.

Summary of CMake build system results for PLplot

Install location variables which can be set by the user:
CMAKE_INSTALL_PREFIX:      C:/Program Files (x86)/plplot
CMAKE_INSTALL_EXEC_PREFIX  C:/Program Files (x86)/plplot
CMAKE_INSTALL_BINDIR       C:/Program Files (x86)/plplot/bin
CMAKE_INSTALL_DATADIR      C:/Program Files (x86)/plplot/share
CMAKE_INSTALL_LIBDIR       C:/Program Files (x86)/plplot/lib
CMAKE_INSTALL_INCLUDEDIR   C:/Program Files (x86)/plplot/include
CMAKE_INSTALL_INFODIR      C:/Program Files (x86)/plplot/share/info
CMAKE_INSTALL_MANDIR       C:/Program Files (x86)/plplot/share/man

Derived install location variables:
DATA_DIR        C:/Program Files (x86)/plplot/share/plplot5.11.1
LIB_DIR         C:/Program Files (x86)/plplot/lib
INCLUDE_DIR     C:/Program Files (x86)/plplot/include/plplot
BIN_DIR         C:/Program Files (x86)/plplot/bin
TCL_DIR         C:/Program Files (x86)/plplot/share/plplot5.11.1/tcl
ADA_INCLUDE_DIR C:/Program Files (x86)/plplot/share/ada/adainclude/plplotada
ADA_LIB_DIR     C:/Program Files (x86)/plplot/lib/ada/adalib/plplotada
PYTHON_INSTDIR  
DRV_DIR         C:/Program Files (x86)/plplot/lib/plplot5.11.1/drivers
DOC_DIR         C:/Program Files (x86)/plplot/share/doc/plplot
MAN_DIR         C:/Program Files (x86)/plplot/share/man
INFO_DIR        C:/Program Files (x86)/plplot/share/info

Other important CMake variables:

CMAKE_SYSTEM_NAME:      Windows
UNIX:                   
WIN32:                  1
APPLE:                  
MSVC:                   1       (MSVC_VERSION:  1900)
MINGW:                  
MSYS:                   
CYGWIN:                 
BORLAND:                
WATCOM:
SWIG_FOUND:             FALSE
PERL_FOUND:             FALSE
X11_FOUND:              

CMAKE_BUILD_TYPE:       Debug
CMAKE_C_COMPILER CMAKE_C_FLAGS:                 C:/Program Files 
(x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe  /DWIN32 /D_WINDOWS /W3
CMAKE_CXX_COMPILER CMAKE_CXX_FLAGS:             C:/Program Files 
(x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe  /DWIN32 /D_WINDOWS /W3 /GR 
/EHsc

ENABLE_DYNDRIVERS:      OFF
DRIVERS_LIST: mem;null;ps;svg;wxwidgets;xfig
DEVICES_LIST: mem;null;ps;svg;wxwidgets;xfig

Library options:
BUILD_SHARED_LIBS:      OFF             PL_DOUBLE:      ON

Optional libraries:
PL_HAVE_QHULL:          OFF             WITH_CSA:       ON
PL_HAVE_FREETYPE:                       PL_HAVE_PTHREAD:        
HAVE_AGG:                               HAVE_SHAPELIB:  OFF

Language Bindings:
ENABLE_ada:             OFF
ENABLE_cxx:             ON
ENABLE_d:               OFF
ENABLE_f95:             OFF
ENABLE_java:            OFF
ENABLE_lua:             OFF
ENABLE_ocaml:           OFF
ENABLE_octave:          OFF
ENABLE_pdl:             OFF
ENABLE_python:          OFF
ENABLE_qt:              OFF
ENABLE_pyqt4:           OFF
ENABLE_pyqt5:           OFF
ENABLE_tcl:             OFF
ENABLE_itcl:            OFF
ENABLE_tk:              OFF
ENABLE_itk:             OFF
ENABLE_wxwidgets:       ON

-- Configuring done
-- Generating done
-- Build files have been written to: P:/plplot/plplot/build
-- The C compiler identification is MSVC 19.0.24213.1
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 
14.0/VC/bin/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 
14.0/VC/bin/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- CMake version = 3.6.2
-- CMAKE_SYSTEM_NAME = Windows
-- 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 4 include files stdlib.h, ..., float.h
-- Looking for 4 include files stdlib.h, ..., float.h - 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 file unistd.h
-- Looking for include file unistd.h - not found
-- Looking for include file termios.h
-- Looking for include file termios.h - not found
-- Looking for include file stdint.h
-- Looking for include file stdint.h - found
-- Looking for crt_externs.h
-- Looking for crt_externs.h - not found
-- Performing Test HAVE_SYS_WAIT_H
-- Performing Test HAVE_SYS_WAIT_H - Failed
-- Looking for DIR symbol in sys/types.h;dirent.h
-- Looking for DIR symbol in sys/types.h;dirent.h - not found.
-- Looking for DIR symbol in sys/types.h;sys/ndir.h
-- Looking for DIR symbol in sys/types.h;sys/ndir.h - not found.
-- Looking for DIR symbol in sys/types.h;sys/dir.h
-- Looking for DIR symbol in sys/types.h;sys/dir.h - not found.
-- Looking for DIR symbol in sys/types.h;ndir.h
-- Looking for DIR symbol in sys/types.h;ndir.h - not 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 nanosleep
-- Looking for nanosleep - not found
-- Looking for mkstemp
-- Looking for mkstemp - not found
-- Looking for mkdtemp
-- Looking for mkdtemp - not found
-- Looking for mkfifo
-- Looking for mkfifo - not found
-- Looking for unlink
-- Looking for unlink - found
-- Looking for _NSGetArgc
-- Looking for _NSGetArgc - not found
-- Looking for isfinite
-- Looking for isfinite - found
-- Looking for finite
-- Looking for finite - not found
-- Looking for isnan
-- Looking for isnan - found
-- Looking for isinf
-- Looking for isinf - found
-- Looking for snprintf
-- Looking for snprintf - found
-- SWIG was not found. Please specify Swig executable location
-- Could NOT find Perl (missing: PERL_EXECUTABLE) -- The CXX compiler identification is MSVC 19.0.24213.1
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual 
Studio 14.0/VC/bin/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual 
Studio 14.0/VC/bin/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for using namespace support
-- Check for using namespace - found
-- Looking for C++ include cmath
-- Looking for C++ include cmath - found
-- Check for using stdint.h with CXX compiler
-- Check for using stdint.h with CXX compiler - ok
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) -- Looking for pkg-config - not found
-- WARNING: Makefile+pkg-config version of examples build in the install tree 
will not work.
-- X11_FOUND = -- X11_INCLUDE_DIR = -- X11_COMPILE_FLAGS = -- X11_LIBRARIES = -- A test cmake run with language = Fortran enabled failed.
-- Specify -DENABLE_compiler_diagnostics=ON to see full CMake diagnostics 
concerning this failure.
-- WARNING: no working Fortran compiler so disabling f95 binding and examples.
-- WARNING: Java requires shared libraries. Disabling java binding
-- WARNING: Python binding fixup requires sed which was not found. Disabling 
Python binding
-- WARNING: swig not found. Disabling Octave binding
-- Start determining consistent system data for Tcl and friends
-- 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 Tcl - not found
-- WARNING: setting ENABLE_tcl to OFF
-- WARNING: ENABLE_tcl is OFF so disabling everything else that is Tcl/Tk 
related
-- A test cmake run with language = Ada enabled failed.
-- Specify -DENABLE_compiler_diagnostics=ON to see full CMake diagnostics 
concerning this failure.
-- WARNING: no working Ada compiler so disabling Ada binding and examples.
-- WARNING: Lua requires shared libraries. Disabling Lua binding
-- WARNING: SHAPELIB not found.  Setting HAVE_SHAPELIB to OFF.
-- Could NOT find Freetype (missing: FREETYPE_LIBRARY FREETYPE_INCLUDE_DIRS) -- Check for NaN awareness in C compiler
-- Check for NaN awareness in C compiler - found
-- Neither qhull/qhull_a.h header nor libqhull/qhull_a.h could be found
-- qhull library could not be found
-- Could NOT find QHULL (missing: QHULL_INCLUDE_DIRS QHULL_LIBRARIES QHULL_LIBRARY_DIRS) -- QHULL_INCLUDE_DIRS = -- QHULL_LIBRARIES = -- WARNING: at least one of QHULL_INCLUDE_DIRS or QHULL_LIBRARIES is false so setting PL_HAVE_QHULL to OFF.
-- WARNING: pango not found because pkg-config not available.
-- WARNING: Shared libraries not built. Setting ENABLE_DYNDRIVERS OFF.
-- WARNING: pkg-config not found. Setting cairo drivers to OFF.
-- WARNING: ENABLE_tk OFF.  Therefore turning off tk, tkwin, and ntk devices
-- WARNING: pkg-config not found. Setting PLD_psttf to OFF.
-- Found unsuitable Qt version "" from NOTFOUND
-- WARNING: Suitable Qt4 development environment not found so trying Qt5 
instead.
CMake Warning at cmake/modules/qt.cmake:144 (find_package):
 By not providing "FindQt5.cmake" in CMAKE_MODULE_PATH this project has
 asked CMake to find a package configuration file provided by "Qt5", but
 CMake did not find one.

 Could not find a package configuration file provided by "Qt5" (requested
 version 5.3.1) with any of the following names:

   Qt5Config.cmake
   qt5-config.cmake

 Add the installation prefix of "Qt5" to CMAKE_PREFIX_PATH or set "Qt5_DIR"
 to a directory containing one of the above files.  If "Qt5" provides a
 separate development package or SDK, be sure it has been installed.
Call Stack (most recent call first):
 cmake/modules/drivers.cmake:96 (include)
 cmake/modules/plplot.cmake:549 (include)
 CMakeLists.txt:135 (include)


-- WARNING: Suitable Qt5 development environment not found so disabling qt
-- WARNING: ENABLE_qt is OFF so setting all qt devices to OFF.
-- WARNING: PLPLOT_USE_QT5 is ON so setting ENABLE_pyqt4 to OFF.
-- WARNING: ENABLE_python is OFF so setting ENABLE_pyqt5 to OFF.
-- Looking for gdi32 header and library
-- Looking for gdi32 header and library - not found
-- WARNING: Setting PLD_wingcc to OFF.
-- wxWidgets_FOUND           : TRUE
-- wxWidgets_INCLUDE_DIRS    : 
M:/wx/wxwidgets-3.1.0/lib/vc_lib/mswud;M:/wx/wxwidgets-3.1.0/include
-- wxWidgets_LIBRARY_DIRS : -- wxWidgets_LIBRARIES : M:/wx/wxwidgets-3.1.0/lib/vc_lib/wxbase31ud.lib;M:/wx/wxwidgets-3.1.0/lib/vc_lib/wxmsw31ud_core.lib;M:/wx/wxwidgets-3.1.0/lib/vc_lib/wxpngd.lib;M:/wx/wxwidgets-3.1.0/lib/vc_lib/wxtiffd.lib;M:/wx/wxwidgets-3.1.0/lib/vc_lib/wxjpegd.lib;M:/wx/wxwidgets-3.1.0/lib/vc_lib/wxzlibd.lib;M:/wx/wxwidgets-3.1.0/lib/vc_lib/wxregexud.lib;M:/wx/wxwidgets-3.1.0/lib/vc_lib/wxexpatd.lib;winmm;comctl32;rpcrt4;wsock32 -- wxWidgets_CXX_FLAGS : -- wxWidgets_USE_FILE : UsewxWidgets
-- Checking whether wxwidgets version >= 3.0.0
-- Performing Test WX_VERSION_LARGE_ENOUGH
-- Performing Test WX_VERSION_LARGE_ENOUGH - Success
-- wxwidgets_COMPILE_FLAGS = -IM:/wx/wxwidgets-3.1.0/lib/vc_lib/mswud 
-IM:/wx/wxwidgets-3.1.0/include -DUNICODE -D_UNICODE -D_DEBUG -D__WXDEBUG__
-- wxwidgets_LINK_FLAGS = 
M:/wx/wxwidgets-3.1.0/lib/vc_lib/wxbase31ud.lib;M:/wx/wxwidgets-3.1.0/lib/vc_lib/wxmsw31ud_core.lib;M:/wx/wxwidgets-3.1.0/lib/vc_lib/wxpngd.lib;M:/wx/wxwidgets-3.1.0/lib/vc_lib/wxtiffd.lib;M:/wx/wxwidgets-3.1.0/lib/vc_lib/wxjpegd.lib;M:/wx/wxwidgets-3.1.0/lib/vc_lib/wxzlibd.lib;M:/wx/wxwidgets-3.1.0/lib/vc_lib/wxregexud.lib;M:/wx/wxwidgets-3.1.0/lib/vc_lib/wxexpatd.lib;winmm;comctl32;rpcrt4;wsock32
-- Looking for haru pdf header and library
-- Looking for haru pdf header and library - not found
-- WARNING: Setting PLD_pdf to OFF.
-- WARNING: Static build with ENABLE_ocaml_static false.  Therefore, disabling 
OCaml binding
-- WARNING: ENABLE_ocaml is OFF so disabling Plcairo module and lablgtk2 support
-- WARNING: validate target will not be available to check for syntax issues in 
the PLplot DocBook documentation because onsgmls (or env) was not found.
pc_libplplot_LINK_FLAGS = 
M:/wx/wxwidgets-3.1.0/lib/vc_lib/wxbase31ud.lib;M:/wx/wxwidgets-3.1.0/lib/vc_lib/wxmsw31ud_core.lib;M:/wx/wxwidgets-3.1.0/lib/vc_lib/wxpngd.lib;M:/wx/wxwidgets-3.1.0/lib/vc_lib/wxtiffd.lib;M:/wx/wxwidgets-3.1.0/lib/vc_lib/wxjpegd.lib;M:/wx/wxwidgets-3.1.0/lib/vc_lib/wxzlibd.lib;M:/wx/wxwidgets-3.1.0/lib/vc_lib/wxregexud.lib;M:/wx/wxwidgets-3.1.0/lib/vc_lib/wxexpatd.lib;winmm;comctl32;rpcrt4;wsock32;-lcsirocsa;-lqsastime
-- WARNING: Perl modules XML::Parser and/or XML::DOM not available
  so cannot check that swig_documentation.i is up to date.
-- WARNING: pkg-config not found so extXdrawable_demo, and ext-cairo-test not 
built.

Summary of CMake build system results for PLplot

Install location variables which can be set by the user:
CMAKE_INSTALL_PREFIX:      C:/Program Files (x86)/plplot
CMAKE_INSTALL_EXEC_PREFIX  C:/Program Files (x86)/plplot
CMAKE_INSTALL_BINDIR       C:/Program Files (x86)/plplot/bin
CMAKE_INSTALL_DATADIR      C:/Program Files (x86)/plplot/share
CMAKE_INSTALL_LIBDIR       C:/Program Files (x86)/plplot/lib
CMAKE_INSTALL_INCLUDEDIR   C:/Program Files (x86)/plplot/include
CMAKE_INSTALL_INFODIR      C:/Program Files (x86)/plplot/share/info
CMAKE_INSTALL_MANDIR       C:/Program Files (x86)/plplot/share/man

Derived install location variables:
DATA_DIR        C:/Program Files (x86)/plplot/share/plplot5.11.1
LIB_DIR         C:/Program Files (x86)/plplot/lib
INCLUDE_DIR     C:/Program Files (x86)/plplot/include/plplot
BIN_DIR         C:/Program Files (x86)/plplot/bin
TCL_DIR         C:/Program Files (x86)/plplot/share/plplot5.11.1/tcl
ADA_INCLUDE_DIR C:/Program Files (x86)/plplot/share/ada/adainclude/plplotada
ADA_LIB_DIR     C:/Program Files (x86)/plplot/lib/ada/adalib/plplotada
PYTHON_INSTDIR  
DRV_DIR         C:/Program Files (x86)/plplot/lib/plplot5.11.1/drivers
DOC_DIR         C:/Program Files (x86)/plplot/share/doc/plplot
MAN_DIR         C:/Program Files (x86)/plplot/share/man
INFO_DIR        C:/Program Files (x86)/plplot/share/info

Other important CMake variables:

CMAKE_SYSTEM_NAME:      Windows
UNIX:                   
WIN32:                  1
APPLE:                  
MSVC:                   1       (MSVC_VERSION:  1900)
MINGW:                  
MSYS:                   
CYGWIN:                 
BORLAND:                
WATCOM:
SWIG_FOUND:             FALSE
PERL_FOUND:             FALSE
X11_FOUND:              

CMAKE_BUILD_TYPE:       Debug
CMAKE_C_COMPILER CMAKE_C_FLAGS:                 C:/Program Files 
(x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe  /DWIN32 /D_WINDOWS /W3
CMAKE_CXX_COMPILER CMAKE_CXX_FLAGS:             C:/Program Files 
(x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe  /DWIN32 /D_WINDOWS /W3 /GR 
/EHsc

ENABLE_DYNDRIVERS:      OFF
DRIVERS_LIST: mem;null;ps;svg;wxwidgets;xfig
DEVICES_LIST: mem;null;ps;svg;wxwidgets;xfig

Library options:
BUILD_SHARED_LIBS:      OFF             PL_DOUBLE:      ON

Optional libraries:
PL_HAVE_QHULL:          OFF             WITH_CSA:       ON
PL_HAVE_FREETYPE:                       PL_HAVE_PTHREAD:        
HAVE_AGG:                               HAVE_SHAPELIB:  OFF

Language Bindings:
ENABLE_ada:             OFF
ENABLE_cxx:             ON
ENABLE_d:               OFF
ENABLE_f95:             OFF
ENABLE_java:            OFF
ENABLE_lua:             OFF
ENABLE_ocaml:           OFF
ENABLE_octave:          OFF
ENABLE_pdl:             OFF
ENABLE_python:          OFF
ENABLE_qt:              OFF
ENABLE_pyqt4:           OFF
ENABLE_pyqt5:           OFF
ENABLE_tcl:             OFF
ENABLE_itcl:            OFF
ENABLE_tk:              OFF
ENABLE_itk:             OFF
ENABLE_wxwidgets:       ON

-- Configuring done
-- Generating done
-- Build files have been written to: P:/plplot/plplot/build
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to