On Thu, 10 Mar 2016, Jed Brown wrote: > Satish Balay <[email protected]> writes: > > #if defined(PETSC_HAVE_STDINT_H) > > scanf(format for int64_t); > > Something is funny. > > http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2016/03/09/configure_next_arch-mswin-cxx-cmplx_ps3.log > > In SOWING configure: > > checking for inttypes.h... yes > checking for stdint.h... yes > > But in PETSc configure: > > C:\cygwin\tmp\PE00A4~1\PETSC~1.CON\conftest.cpp(3) : fatal error C1083: > Cannot open include file: 'stdint.h': No such file or directory > Possible ERROR while running compiler: exit code 512 > > > Does stdint.h exist or not? > > > #elif (PETSC_SIZEOF_LONG_LONG == 8) > > scanf(format for long long); > > #elif defined(PETSC_HAVE___INT64) > > scanf(format for __int64 - aka windows); > > #endif
Sowing [and similar packages that PETSc doesn't link with] do not share the same compilers as PETSc. They choose their own/prefered compilers. In this case - the PETSc library is built with MS-C compiler - and sowing with cygwin-g++. Satish
