1. Give the command
> nc-config --includedir
2. Whatever Directory is returned, add it to the build command with a -I. From
the looks of it, what you need to add is probably
"-I/usr/local/netcdf/include" without the quotes of course.
-Roy
On Apr 2, 2011, at 8:30 PM, John Helly wrote:
> Ok. However, this build script is part of the distribution so I have to
> figure out how to do that first.
>
> Cheers.
> --------------
> John Helly, University of California, San Diego / San Diego Supercomputer
> Center / Scripps Institution of Oceanography / 760 840 8660 mobile /
> stonesteps7 (Skype) / stonesteps7 (iChat) / http://www.sdsc.edu/~hellyj
>
> On Apr 2, 2011, at 8:02 PM, Roy Mendelssohn wrote:
>
>
> On Apr 2, 2011, at 7:58 PM, John Helly wrote:
>
>>> /Users/hellyj/src/ROMS/Projects/Upwelling/Build/libMODS.a
>>> -L/usr/local/netcdf/lib -lnetcdf -L/usr/local/hdf5/lib -lhdf5_hl -lhdf5 -lz
>>> -lcurl\
>
> Note you do not define the path to your includes in this statement. Add that
> as I suggested and see if it works. Assuming you have the netcdf n=binaries
> in your search path, do
>
> nc-config --includedir
>
> that will tell you which directory to include.
>
> -Roy
>
> **********************
> "The contents of this message do not reflect any position of the U.S.
> Government or NOAA."
> **********************
> Roy Mendelssohn
> Supervisory Operations Research Analyst
> NOAA/NMFS
> Environmental Research Division
> Southwest Fisheries Science Center
> 1352 Lighthouse Avenue
> Pacific Grove, CA 93950-2097
>
> e-mail: Roy.Mendelssohn@xxxxxxxx (Note new e-mail address)
> voice: (831)-648-9029
> fax: (831)-648-8440
> www: http://www.pfeg.noaa.gov/
>
> "Old age and treachery will overcome youth and skill."
> "From those who have been given much, much will be expected"
>
> _______________________________________________
> netcdfgroup mailing list
> netcdfgroup@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe, visit:
> http://www.unidata.ucar.edu/mailing_lists/
>
**********************
"The contents of this message do not reflect any position of the U.S.
Government or NOAA."
**********************
Roy Mendelssohn
Supervisory Operations Research Analyst
NOAA/NMFS
Environmental Research Division
Southwest Fisheries Science Center
1352 Lighthouse Avenue
Pacific Grove, CA 93950-2097
e-mail: Roy.Mendelssohn@xxxxxxxx (Note new e-mail address)
voice: (831)-648-9029
fax: (831)-648-8440
www: http://www.pfeg.noaa.gov/
"Old age and treachery will overcome youth and skill."
"From those who have been given much, much will be expected"