From: Walt B. <wal...@gm...> - 2019-04-16 19:40:35
|
Trying with MSYS2 gives me: $ ../../Cmake/*/bin/cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=install -DBUILD_SHARED_LIBS=OFF ../plplot.git CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool. -- Configuring incomplete, errors occurred! See also "C:/walt/Software/Plplot/build_dir/CMakeFiles/CMakeOutput.log". ======================================================= With Cygwin, the result files are attached. There are messages about pango and cairo and CMake Error at C:/cygwin/lib/cmake/Qt5Svg/Qt5SvgConfig.cmake:27 (message): The imported target "Qt5::Svg" references the file "C:/cygwin/include/qt5/" My C:\cygwin does not contain an "include" directory at all. (I think) I have installed ALL of cygwin. Any other suggestions? Thanks. On Tue, Apr 16, 2019 at 12:43 AM Arjen Markus <Arj...@de...> wrote: > Hi Walt, > > > > See below. > > > > Regards, > > > > Arjen > > > > *From:* Walt Brainerd <wal...@gm...> > *Sent:* 15 April 2019 18:12 > *To:* Phil Rosenberg <p.d...@gm...> > *Cc:* Alan W. Irwin <ala...@gm...>; Arjen Markus < > Arj...@de...>; plplot_general < > plp...@li...> > *Subject:* Re: [Plplot-general] Building plplot on Windows 10 > > > > … > > If anyone can sen me a cmake command that works for either MSYS2 > > or Cygwin, I would like to try it. When I successfully built plplot in > > the past, I built a static lib and that is fine for my use now. > > > > > > >>AM: For Cygwin I use the following basic command: > > > > cmake ../plplot-git -G “Unix Makefiles” … > > > > I run the command is run in a clean directory next to the one holding the > sources (plplot-git in my case). I mostly use a bunch of options (the dots) > to control what is or is not considered in the build, but that should not > be necessary at all (some packages I have installed within Cygwin cause > problems in the actual build step, so I have to suppress them for instance). > > > > For MinGW64/MSYS2 I use the same basic command and I run it in a clean > directory as well. The one caveat is that I use the shell started via > mingw64.exe. Again some packages do not support all the necessary bits and > pieces, so I have to exclude them via a small number of options. > > > > A useful option is to explicitly ask for the examples/tests to be built: > -DBUILD_TEST=ON > > > > Hope this helps. > > > > > DISCLAIMER: This message is intended exclusively for the addressee(s) and > may contain confidential and privileged information. If you are not the > intended recipient please notify the sender immediately and destroy this > message. Unauthorized use, disclosure or copying of this message is > strictly prohibited. The foundation 'Stichting Deltares', which has its > seat at Delft, The Netherlands, Commercial Registration Number 41146461, is > not liable in any way whatsoever for consequences and/or damages resulting > from the improper, incomplete and untimely dispatch, receipt and/or content > of this e-mail. > -- Walt Brainerd |