This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Hello, While we don't currently support NetCDF-Fortran on Windows with Visual Studio, I'll be happy to take a look at the log file generated by configure to see if I can figure out what happened. Honestly, I'm not even sure that the autotools build system (autoconf, automake) work with Visual Studio, but I could be mistaken. You might try using the 'cmake'-based build system, but as previously mentioned this is not officially supported, yet. Cmake may be downloaded from http://www.cmake.org. if you'll provide the config.log file generated when 'configure' was run, I'll look through it and see if anything leaps out at me. Thanks, and have a happy new year! -Ward > Hello, > > I am trying to install the Fortran NetCDF libraries, for use in Visual Studio > 2010, using Cygwin on Windows 7. I am not sure that I am setting the > environment variables correctly. I have commercial versions of both C (Intel) > and Fortran (PGI) compilers. I used CC= and FC= to specify the paths to the > Intel and PGI compilers. But when I run ./configure, Cygwin gives me the > following error message: > > $ ./configure > configure: netCDF-Fortran 4.4.1 > checking build system type... i686-pc-cygwin > checking host system type... i686-pc-cygwin > checking target system type... i686-pc-cygwin > checking for a BSD-compatible install... /usr/bin/install: setting > permissions for > '/cygdrive/h/netcdf-fortran-4.4.1.tar/netcdf-fortran-4.4.1/netcdf-fortran-4.4.1/conftest.dir/conftest.one': > Permission denied > /usr/bin/install: setting permissions for > '/cygdrive/h/netcdf-fortran-4.4.1.tar/netcdf-fortran-4.4.1/netcdf-fortran-4.4.1/conftest.dir/conftest.two': > Permission denied > ./install-sh -c > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... /usr/bin/mkdir -p > checking for gawk... gawk > checking whether make sets $(MAKE)... no > checking whether make supports nested variables... no > checking whether to enable maintainer-specific portions of Makefiles... no > configure: checking user options > checking whether extra valgrind tests should be run... no > checking whether parallel IO tests should be run... no > checking whether netCDF extra tests should be run (developers only)... no > checking for doxygen... no > configure: WARNING: Doxygen not found - documentation will not be built > checking for dot... no > configure: WARNING: dot not found - will use simple charts in documentation > configure: finding C compiler > checking for gcc... no > checking for cc... no > checking for cl.exe... no > configure: error: in > `/cygdrive/h/netcdf-fortran-4.4.1.tar/netcdf-fortran-4.4.1/netcdf-fortran-4.4.1': > configure: error: no acceptable C compiler found in $PATH > See `config.log' for more details > > I would be very grateful for any help. > > Sarah Praskievicz, Ph.D. > Assistant Professor > Department of Geography > University of Alabama > > Ticket Details =================== Ticket ID: KEE-746352 Department: Support netCDF Priority: Normal Status: Closed