Hi!

I'm facing a rather strange problem when building PLplot, in that no
examples are generated under some circumstances.

I have CMake V2.8.12.2 and wxWidgets V3.0.0 installed on a Windows 7
system with Visual Studio 2010 Express. I also have downloaded the current
(as of 02.04.2014) version of PLplot (using Subversion and downloading
   from the /trunk).

When building PLplot using the GUI of CMake all examples are found in the
generated build directory. When, however, building PLplot using a CLI,
none of the examples find their way to the build directory. In both cases
I have of course ticked (GUI version) resp. added (CLI version) the
BUILD_TEST option.

Here is what I did exactly using the GUI build:
- started CMake GUI
- entered source code directory (here I:/PLplot/PLplot-5.10.0)
- entered build directory (here I:/PLplot/build-gui)
- hit the Configure button (to get a first list of available options)
- chose Visual Studio 10 as Generator
- ticked BUILD_TEST
- hit the Configure button twice (to get the change from above updated,
i.e. no red lines anymore)
- hit the Generate button

Here is what I did exactly using the CLI build:
- started a Visual Studio 2010 command line
- ran vcvarsall.bat
- changed to the build directory (here I:/PLplot/build)
- ran the command to build PLplot
     cmake -G "Visual Studio 10" -DBUILD_TEST=ON
-DwxWidgets_LIB_DIR=%WXWINDLL% I:\Plplot\plplot-5.10.0

If of interest I can send both the CMakeCache.txt files. Interesting in
these is, that the CMakeCache.txt file generated by the GUI contains the
BUILD_TEST option set to ON, whereas the CMakeCache.txt file generated by
the CLI has this option set to OFF - although I explicitly stated this
option on the command line.

-- 
Best regards,
Thorsten Behrens

------------------------------------------------------------------------------
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to