Hi Cao,


Ah, good to hear that! Let me know what you find - I can then update my 
installation and we could check the Ada binding on Cygwin.



In general it is best to start with a clean slate, but I was not certain it 
could have this kind of effects ;).



Regards,



Arjen

From: Cao Murrano [mailto:murr...@gmail.com]
Sent: Wednesday, September 27, 2017 12:47 PM
To: Arjen Markus
Cc: plplot-general@lists.sourceforge.net
Subject: Re: [Plplot-general] Win installation

Ok, cleaning the directory did help. All three commands (cmake 
-DCMAKE_INSTALL_PREFIX=install ../;
make; make install) completed with no error, and dll's are in place.
Now I need to do some testing with Ada code, but the compilation issue is 
closed.
Thanks again.
Cao

On Wed, Sep 27, 2017 at 9:57 PM, Arjen Markus 
<arjen.mar...@deltares.nl<mailto:arjen.mar...@deltares.nl>> wrote:

Hi Cao,



Wrt Ada library: that seems to require some fine-tuning on my system, but I do 
not use Ada myself, so I have not got much experience with that :).



The CMake problem you report is rather odd. CMake tries to find out all manner 
of things via small test programs, but the messages indicate that that is 
failing.



Do you start in a clean directory? Should not really matter for this problem, 
but perhaps it does. I have no ready solution for this, so I am merely 
searching for a possible workaround/solution.



Regards,



Arjen




From: Cao Murrano [mailto:murr...@gmail.com<mailto:murr...@gmail.com>]
Sent: Wednesday, September 27, 2017 10:48 AM
To: Arjen Markus
Cc: 
plplot-general@lists.sourceforge.net<mailto:plplot-general@lists.sourceforge.net>
Subject: Re: [Plplot-general] Win installation

Thanks Arjen,
Right, I didn't have the "make". Now I do, and it goes somewhere, but still 
throws a fatal error:

----------------------------------------------------------------------------------------------------------------------
Determining if the C compiler works failed with the following output:
Change Dir: /cygdrive/d/ada/plplot/buildcygwin/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make.exe" "cmTC_76d2f/fast"
/usr/bin/make -f CMakeFiles/cmTC_76d2f.dir/build.make 
CMakeFiles/cmTC_76d2f.dir/build
make[1]: Entering directory 
'/cygdrive/d/ada/plplot/buildcygwin/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_76d2f.dir/testCCompiler.c.o
/cygdrive/c/GNAT/msys64/mingw64/bin/cc.exe     -o 
CMakeFiles/cmTC_76d2f.dir/testCCompiler.c.o   -c 
/cygdrive/d/ada/plplot/buildcygwin/CMakeFiles/CMakeTmp/testCCompiler.c
cc.exe: error: 
/cygdrive/d/ada/plplot/buildcygwin/CMakeFiles/CMakeTmp/testCCompiler.c: No such 
file or directory
cc.exe: fatal error: no input files
compilation terminated.
make[1]: *** [CMakeFiles/cmTC_76d2f.dir/build.make:66: 
CMakeFiles/cmTC_76d2f.dir/testCCompiler.c.o] Error 1
make[1]: Leaving directory 
'/cygdrive/d/ada/plplot/buildcygwin/CMakeFiles/CMakeTmp'
make: *** [Makefile:126: cmTC_76d2f/fast] Error 2
-------------------------------------------------------------------------------------------------------------------------
I'm not so worried about the ada bindings. These normally compile ok under GNAT 
once the library is in place.
Cao

On Tue, Sep 26, 2017 at 10:00 PM, Arjen Markus 
<arjen.mar...@deltares.nl<mailto:arjen.mar...@deltares.nl>> wrote:

Hi Cao,



Have you installed the make program? In the Cygwin setup program that would be 
in the category Devel, "make: The GNU version of the 'make' utility" (version 
4.2.1-2). You may have to specify more information to build the Ada binding - 
the GNU Ada compiler on Cygwin has presented us with sufficient problems for me 
to be a bit wary. I could not find the latest status in my notes just now.



Regards,



Arjen



From: Cao Murrano [mailto:murr...@gmail.com<mailto:murr...@gmail.com>]
Sent: Tuesday, September 26, 2017 10:51 AM
To: 
plplot-general@lists.sourceforge.net<mailto:plplot-general@lists.sourceforge.net>
Subject: [Plplot-general] Win installation

Hello,
Is it possible to have some more thorough instructions for Win compilation?
I was following the posted instructions, and here' s what I'm getting:

D:\ada\plplot\buildcygwin>cmake -DCMAKE_INSTALL_PREFIX=install ../
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!
My system is Win 10/Cygwin/GNAT 2016 (Ada).
Thanks in advance.
Cao
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.

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.

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.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to