<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
Thanks Norman, but that's not it netcdf tree root is /usr/local and <br>
it appears that make is finding them, (otherwise it wouldn't try to <br>
compile it in). configure detected netcdf without the --with-netcdf
flag.<br>
However, I tried as you suggested and got the same result.<br>
<br>
Any more ideas? Just where is this variable supposed to be declared?<br>
<br>
Norman Vine wrote:<br>
<blockquote type="cite"><><br>
My guess is that you haven't passed in your path to your netcdf
installation<br>
<br>
try --with-netcdf=$PATH_TO_NETCDF_HOME<br>
<br>
< maybe something changed with netcdf 3.51 but .... ><br>
<br>
==== following with GDAL CVS 10-Dec-2004 4:48:38a EST ====<br>
<br>
<518> gdal<br>
$ gcc --version<br>
gcc (GCC) 3.4.1 (cygming special)<br>
Copyright (C) 2004 Free Software Foundation, Inc.<br>
This is free software; see the source for copying conditions. There is
NO<br>
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.<br>
<br>
<519> gdal<br>
$ ncgen --help<br>
<snip><br>
ncgen: -: netcdf library version 3.5.0 of Jan 24 2004 06:34:11 $<br>
<br>
<520> gdal<br>
$ gdalinfo --formats<br>
Supported Formats:<br>
<snip><br>
GMT (rw): GMT NetCDF Grid Format<br>
netCDF (ro): network Common Data Format<br>
<snip></blockquote>
<blockquote cite="midEKEJIKAILPONGGENMBGAGENMJLAA.nhv@cape.com"
type="cite">
<pre wrap="">Jack Varga writes:
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">I'm wondering if this problem might be related to stricter enforcement
of ISO/ANSI standards in gcc/++ 3.4.1, (default compiler for my
distro, Mandrake 10.1). I don't know where the undeclared identifier
is attempting to be referenced from. Any suggestions or ideas would
be appreciated. I'm using version 3.5.1 of netcdf.
make[2]: Entering directory `/home/builder/gdal-1.2.5/frmts/netcdf'
/bin/sh ../../libtool --mode=compile /usr/bin/g++ -Wall -O2
-I../../port -I../../gcore -I../../ogr -I../../alg
-I/usr/include/c++/3.4.1 -I../../port -c -o ../o/netcdfdataset.o
netcdfdataset.cpp
/usr/bin/g++ -Wall -O2 -I../../port -I../../gcore -I../../ogr
-I../../alg -I/usr/include/c++/3.4.1 -I../../port -c
netcdfdataset.cpp -fPIC -DPIC -o ../o/.libs/netcdfdataset.o
netcdfdataset.cpp: In constructor
`netCDFRasterBand::netCDFRasterBand(netCDFDataset*, int, int, int)':
netcdfdataset.cpp:117: error: `nc_inq_var' undeclared (first use this
function)
netcdfdataset.cpp:117: error: (Each undeclared identifier is reported
only once for each function it appears in.)
netcdfdataset.cpp:128: error: `NC_INT' undeclared (first use this
function)
netcdfdataset.cpp: In member function `virtual CPLErr
netCDFRasterBand::IReadBlock(int, int, void*)':
netcdfdataset.cpp:157: error: `nc_inq_varndims' undeclared (first use
this function)
</pre>
</blockquote>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
</body>
</html>