[Met_help] error building MET with cygwin/gcc

Michael Baldwin mebaldwi at purdue.edu
Thu Jul 31 09:09:08 MDT 2008


Howdy-

I'm not having any luck with building MET.
I'm trying to use gcc compilers (4.3.1)
with cygwin and have installed gsl/netcdf/BUFRLIB/f2c
but get the following when I try to build MET:

Thanks for your help!

Mike Baldwin

====

$ make

*** Making the Model Evaluation Tools Project ***


*** Making vx_afm Library ***

/usr/local/bin/g++ afm.cc -Wall -Wshadow -static   -c -I..
/usr/local/bin/g++ afm_keywords.cc -Wall -Wshadow -static   -c -I..
/usr/local/bin/g++ afm_line.cc -Wall -Wshadow -static   -c -I..
/usr/local/bin/g++ afm_token.cc -Wall -Wshadow -static   -c -I..
/usr/local/bin/g++ afmkeyword_to_string.cc -Wall -Wshadow -static   -c -I..
/usr/local/bin/g++ afmtokentype_to_string.cc -Wall -Wshadow -static   -c -I..

ar -rs libvx_afm.a afm.o afm_keywords.o afm_line.o afm_token.o afmkeyword_to_str
ing.o afmtokentype_to_string.o
ar: creating libvx_afm.a
ranlib libvx_afm.a

cp libvx_afm.a ../.

*** Making vx_analysis_util Library ***

/usr/local/bin/g++ analysis_utils.cc -Wall -Wshadow -static   -c -I..
/usr/local/bin/g++ box.cc -Wall -Wshadow -static   -c -I..
box.cc: In member function 'void Box::assign(const Box&)':
box.cc:156: error: 'memcpy' was not declared in this scope
box.cc: In member function 'void Box::set_unsorted(const double*, int)':
box.cc:223: error: 'memcpy' was not declared in this scope
make[3]: *** [box.o] Error 1
make[2]: *** [vx_analysis_util_all] Error 2
make[1]: *** [libs] Error 2
make: *** [all] Error 2

-------------------------------------------------
Dr. Michael E. Baldwin
Assistant Professor
Purdue University
Department of Earth and Atmospheric Sciences
550 Stadium Mall Drive, West Lafayette, IN 47906-2051
-------------------------------------------------


More information about the Met_help mailing list