[Met_help] MET compiling errors
Lacey Holland
lholland at ucar.edu
Fri Mar 21 13:49:17 MDT 2008
Hi, Shelley!
It looks like you haven't changed the location of your NetCDF (and
possibly other libraries) in the Makefile from the default. I think you
should get further with the compilation if you change NETCDF_BASE to
wherever the top level of your NetCDF library is. Also, if the location
of your GSL library isn't in a standard location, you'll have to update
GSL_INCS and GSL_LIBS in your Makefile as well. There's more about
modifying the Makefile on p2-8 of the User's Guide.
Let us know if you still have problems!
--Lacey Holland
Holmberg, Shelley wrote:
>
> I have downloaded and compiled all of the required libraries and
> updates to build MET but I am still getting these errors (see attached
> make.log). I am completely confused and would appreciate any advice
> you could offer!
>
> Thank you,
> Shelley Holmberg
> University of North Carolina at Charlotte
> Master of Science in Earth Science Candidate
>
>
>
> ------------------------------------------------------------------------
>
>
> *** Making the Model Evaluation Tools Project ***
>
>
> *** Making vx_afm Library ***
>
>
> cp libvx_afm.a ../.
>
> *** Making vx_analysis_util Library ***
>
>
> cp libvx_analysis_util.a ../.
>
> *** Making vx_cal Library ***
>
>
> cp libvx_cal.a ../.
>
> *** Making vx_color Library ***
>
>
> cp libvx_color.a ../.
>
> *** Making vx_contable Library ***
>
> /usr/bin/g++ vx_contable_stats.cc -g -Wall -Wshadow -static -c -I.. -I/pd4/score/personal/randy/netcdf/netcdf-3.6.1/src/cxx
> In file included from ../vx_gsl_prob/vx_gsl_prob.h:17,
> from ../vx_met_util/compute_ci.h:16,
> from ../vx_met_util/vx_met_util.h:17,
> from vx_contable_stats.cc:20:
> ../vx_gsl_prob/gsl_cdf.h:17:25: error: gsl/gsl_cdf.h: No such file or directory
> In file included from ../vx_met_util/vx_met_util.h:21,
> from vx_contable_stats.cc:20:
> ../vx_met_util/read_pcp_combine_netcdf.h:16:21: error: netcdf.hh: No such file or directory
> ../vx_data_grids/grid_base.h:194: warning: ‘class Integrand’ has virtual functions but non-virtual destructor
> ../vx_data_grids/grid_base.h:206: warning: ‘class GridInterface’ has virtual functions but non-virtual destructor
> ../vx_wrfdata/shape.h:34: warning: ‘class Shape’ has virtual functions but non-virtual destructor
> ../vx_wrfdata/shape.h:50: warning: ‘class FreelyMoveableShape’ has virtual functions but non-virtual destructor
> ../vx_met_util/read_pcp_combine_netcdf.h:25: warning: ‘read_pcp_combine_netcdf’ initialized and declared ‘extern’
> ../vx_met_util/read_pcp_combine_netcdf.h:25: error: variable or field ‘read_pcp_combine_netcdf’ declared void
> ../vx_met_util/read_pcp_combine_netcdf.h:25: error: ‘NcFile’ was not declared in this scope
> ../vx_met_util/read_pcp_combine_netcdf.h:25: error: expected primary-expression before ‘,’ token
> ../vx_met_util/read_pcp_combine_netcdf.h:25: error: expected primary-expression before ‘&’ token
> ../vx_met_util/read_pcp_combine_netcdf.h:25: error: expected primary-expression before ‘,’ token
> ../vx_met_util/read_pcp_combine_netcdf.h:25: error: expected primary-expression before ‘&’ token
> ../vx_met_util/read_pcp_combine_netcdf.h:25: error: expected primary-expression before ‘,’ token
> ../vx_met_util/read_pcp_combine_netcdf.h:25: error: expected primary-expression before ‘int’
> ../vx_met_util/read_pcp_combine_netcdf.h:26: error: expected primary-expression before ‘&’ token
> ../vx_met_util/read_pcp_combine_netcdf.h:26: error: expected primary-expression before ‘,’ token
> ../vx_met_util/read_pcp_combine_netcdf.h:26: error: expected primary-expression before ‘&’ token
> ../vx_met_util/read_pcp_combine_netcdf.h:26: error: expected primary-expression before ‘,’ token
> ../vx_met_util/read_pcp_combine_netcdf.h:27: error: expected primary-expression before ‘&’ token
> ../vx_met_util/read_pcp_combine_netcdf.h:27: error: expected primary-expression before ‘)’ token
> ../vx_met_util/read_pcp_combine_netcdf.h:27: error: initializer expression list treated as compound expression
> ../vx_data_grids/grid_defs.h:440: warning: ‘pc_grids_data’ defined but not used
> ../vx_data_grids/grid_defs.h:475: warning: ‘st_grids_data’ defined but not used
> ../vx_data_grids/grid_defs.h:513: warning: ‘lc_grids_data’ defined but not used
> ../vx_wrfdata/vx_wrfdata.h:41: warning: ‘wrfdata_magic’ defined but not used
> ../vx_wrfdata/vx_wrfdata.h:64: warning: ‘thresh_type_str’ defined but not used
> ../vx_wrfdata/vx_wrfdata.h:85: warning: ‘step_direction_str’ defined but not used
> ../vx_met_util/constants.h:16: warning: ‘proj_type’ defined but not used
> ../vx_met_util/constants.h:23: warning: ‘na_str’ defined but not used
> ../vx_met_util/constants.h:26: warning: ‘all_msg_typ_str’ defined but not used
> ../vx_met_util/constants.h:30: warning: ‘anyair_str’ defined but not used
> ../vx_met_util/constants.h:31: warning: ‘anyair_msg_typ_str’ defined but not used
> ../vx_met_util/constants.h:32: warning: ‘anysfc_str’ defined but not used
> ../vx_met_util/constants.h:33: warning: ‘anysfc_msg_typ_str’ defined but not used
> ../vx_met_util/constants.h:34: warning: ‘onlysf_str’ defined but not used
> ../vx_met_util/constants.h:35: warning: ‘onlysf_msg_typ_str’ defined but not used
> ../vx_met_util/constants.h:38: warning: ‘all_interp_mthd_str’ defined but not used
> ../vx_met_util/constants.h:49: warning: ‘mthd_str’ defined but not used
> ../vx_met_util/met_stats.h:20: warning: ‘hdr_fmt_str’ defined but not used
> ../vx_grib_classes/grib_strings.h:20: warning: ‘missing_str’ defined but not used
> ../vx_grib_classes/grib_strings.h:62: warning: ‘grib_code_list’ defined but not used
> ../vx_grib_classes/grib_strings.h:94: warning: ‘grib_code_list_str’ defined but not used
> ../vx_grib_classes/grib_strings.h:358: warning: ‘grib_level_list’ defined but not used
> ../vx_grib_classes/grib_strings.h:377: warning: ‘grib_level_flag’ defined but not used
> ../vx_grib_classes/grib_strings.h:391: warning: ‘grib_level_list_str’ defined but not used
> ../vx_met_util/read_grib.h:64: warning: ‘two_to_one_grib’ defined but not used
> make[3]: *** [vx_contable_stats.o] Error 1
> make[2]: *** [vx_contable_all] Error 2
> make[1]: *** [libs] Error 2
> make: *** [all] Error 2
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Met_help mailing list
> Met_help at mailman.ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/met_help
>
--
____________________________
Lacey Holland
UCAR/NCAR, Research Applications Laboratory
P.O. Box 3000
Boulder, CO 80307
(303) 497-8396
More information about the Met_help
mailing list