Hi Walt,

I had a look at the files you attached and compared them to typical output from 
CMake on my machine. The errors you got about crt_externs.h and a division by 
zero are actually harmless. Or should be. They are part of the probing 
procedure – determine what flavours of header files are available and other 
such system-specific stuff. If the test returns an error, then the 
corresponding flag is set to false (see plplot_config.h.in for instance). The 
Fortran test should be revised, as the gfortran compiler performs the division, 
not the program. But other than that there should be no problem.

Does CMake produce such output as:

-- Configuring done
-- Generating done
-- Build files have been written to: …

If so, then the next step is to run make explicitly.

If not, could you send me the output of CMake (cmake -G “Unix Makefiles 
../source-directory > cmake.out 2>&1) and the files in the build directory?

Also – VERY IMPORTANT – start with a completely empty build directory. 
Left-overs from a previous build tend to confuse CMake/make.

Regards,

Arjen

From: Walt Brainerd <walt.brain...@gmail.com>
Sent: 03 January 2020 17:50
To: plplot_general <plplot-general@lists.sourceforge.net>
Subject: Re: [Plplot-general] Help building plplot

Thanks again Arjen.

Stupidity:   I simply omitted the -G option.
Unfortunately, using it ("Unix Makefiles") produced the same result.

Ignorance: Using the cygwin "make" produced the following (I assume 
crt_externs.h is some cygwin
file, but I don't know how/where to get it without installing all of cygwin 
(days worth of downloading), but
will do that if nothing else works.


On Thu, Jan 2, 2020 at 3:09 PM Walt Brainerd 
<walt.brain...@gmail.com<mailto:walt.brain...@gmail.com>> wrote:
Thanks Arjen for the suggestions. I always learn something from you.
However, I still can't get where I want.

With the plplot that comes with Msys2, execution hangs awaiting input.
If I type "1", it produces output on the screen. Also -dev works (Arjen).

Trying to build plplot with msys produces similar (or worse) results.

Trying build with cygwin, cmake produces the following lines multiple times.

$ "/cygdrive/c/Program Files/Cmake/bin/cmake.exe" 
-DCMAKE_INSTALL_PREFIX=install -DENABLE_cxx=OFF -DENABLE_cxx=OFF 
-DENABLE_qt=OFF ../plplot.git >& cmake.out

-- Configuring done
CMake Error in bindings/fortran/CMakeLists.txt:
  Evaluation file to be written multiple times with different content.  This
  is generally caused by the content evaluating the configuration type,
  language, or location of object files:

   
C:/walt/Software/Plplot/BUILD/bindings/fortran/plplotfortran_ifort.def.sh<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fplplotfortran_ifort.def.sh&data=02%7C01%7C%7Cfd1b4cf9bfd14e4b1ebd08d7906d0de4%7C15f3fe0ed7124981bc7cfe949af215bb%7C0%7C0%7C637136670380210211&sdata=ZwOoEbpCsnLJx4xTlW8OhZjq38kpG%2FlLg%2FsgJ3SRhTQ%3D&reserved=0>

I am using the latest cmake (3.16.2) and the latest plplot. cygwin does not
have the latest Fortran compiler, but that shouldn't be a problem, should it?
cmake.out is attached.

Any help would be appreciated. OW, I will just use the flaky msys plplot.

Thanks.



--
Walt Brainerd


--
Walt Brainerd
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.
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to