I have the TDM version of MinGW installed.
C:\Users\Walt>gfortran --version
GNU Fortran (tdm64-1) 5.1.0
Copyright (C) 2015 Free Software Foundation, Inc.
I downloaded 5.11.0 using git and built with the following
(all one line, of course):
cmake -G "MinGW Makefiles" -DCMAKE_INSTALL_PREFIX=install
-DBUILD_SHARED_LIBS=OFF -DDEFAULT_NO_BINDINGS=ON -DENABLE_cxx=ON
-DENABLE_f95=ON -DDEFAULT_ALL_DEVICES=ON ../plplot.git
[Something different: I got a lot more devices and drivers.]
Make produces the following:
C:\walt\Software\Plplot\BUILD>make
[ 0%] Built target csirocsa
[ 3%] Built target deltaT-gen
[ 4%] Built target deltaT.h_built
[ 6%] Built target tai-utc-gen
[ 7%] Built target tai-utc.h_built
[ 10%] Built target qsastime
[ 12%] Built target nistcd
[ 12%] Built target cdexpert
[ 13%] Built target cdmulti
[ 15%] Built target cdsimple
[ 16%] Built target cdtest
[ 18%] Built target cdtext
[ 18%] Built target color16
[ 26%] Built target test_nistcd
[ 26%] Built target plhershey-unicode-gen
[ 27%] Built target plhershey-unicode.h_built
[ 29%] Building C object src/CMakeFiles/plplot.dir/plfreetype.c.obj
In file included from
C:/Fortran_Tools/gfortran/x86_64-w64-mingw32/include/unistd.h:10:0,
from
C:/walt/Software/Plplot/plplot.git/include/plplotP.h:110,
from
C:\walt\Software\Plplot\plplot.git\src\plfreetype.c:90:
C:/Fortran_Tools/gfortran/x86_64-w64-mingw32/include/io.h:310:15: error:
conflicting types for 'access'
int __cdecl access(const char *_Filename,int _AccessMode)
__MINGW_ATTRIB_DEPRECATED_MSVC2005;
^
C:\walt\Software\Plplot\plplot.git\src\plfreetype.c:69:5: note: previous
definition of 'access' was here
int access( char *filename, int flag )
^
In file included from
C:\walt\Software\Plplot\plplot.git\src\plfreetype.c:90:0:
C:/walt/Software/Plplot/plplot.git/include/plplotP.h:252:0: warning:
"isfinite" redefined
# define isfinite finite
^
In file included from
C:/walt/Software/Plplot/plplot.git/include/plplotP.h:105:0,
from
C:\walt\Software\Plplot\plplot.git\src\plfreetype.c:90:
C:/Fortran_Tools/gfortran/x86_64-w64-mingw32/include/math.h:520:0: note:
this is the location of the previous definition
#define isfinite(x) ((fpclassify(x) & FP_NAN) == 0)
^
src\CMakeFiles\plplot.dir\build.make:366: recipe for target
'src/CMakeFiles/plplot.dir/plfreetype.c.obj' failed
make[2]: *** [src/CMakeFiles/plplot.dir/plfreetype.c.obj] Error 1
CMakeFiles\Makefile2:798: recipe for target 'src/CMakeFiles/plplot.dir/all'
failed
make[1]: *** [src/CMakeFiles/plplot.dir/all] Error 2
Makefile:135: recipe for target 'all' failed
make: *** [all] Error 2
To me, the first one (access) looks like a conflict between gcc and plplot.
The second (isfinite) is a conflict between two things in Plplot???
Help please? Thanks.
--
Walt Brainerd
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general