Open meerfrau opened 1 year ago
Hello,
I think you need to install the C++ package for netcdf (libraries & headers). netcdf.h is for C only.
If you want to pass extra flags to the C++ compiler, you can do :
make CXXFLAGS_USER="-I/path/to/netcdf/include"
Regards,
Philippe
Oh, it works!
BTW: Is glgrib-install.sh
somewhere? Maybe I'm blind, can't find a proper make install
option.
No there is no make install. Just unpack & build where you want to have it installed.
Soon (I do not know when) there will be some debian packages for glgrib.
Bonjour Mr. Marguinaud,
my netcdf is at the very boring place of
/usr/include/netcdf.h
#include <netcdf>
in GeoPoints.cc isn't enough becauseg++ -fPIC -fopenmp -std=c++11 -Wall -O2 -DGLGRIB_USE_GLFW -o glfw/GeoPoints.o -c GeoPoints.cc -I../../include
doesn't look at /usr/includeHow do add more paths to -I ?