8.0.1 compilation error on Raspberry
Posted: 28 Feb 2017 19:06
I am getting this on a fresh Raspbian (latest)
libpng16-dev doesn't exist on raspbian repository so I have tried with libpng-dev
any ideas?
Code: Select all
cd src/g2clib; make
make[1]: Entering directory '/home/pi/Downloads/zyGrib-8.0.1/src/g2clib'
gcc -c -O3 -g -m64 -I/nwprod/lib/include/ -DUSE_JPEG2000 -DUSE_PNG -D__64BIT__ gridtemplates.c
gcc: error: unrecognized command line option ‘-m64’
makefile:89: recipe for target 'libg2c.a(gridtemplates.o)' failed
make[1]: *** [libg2c.a(gridtemplates.o)] Error 1
make[1]: Leaving directory '/home/pi/Downloads/zyGrib-8.0.1/src/g2clib'
Makefile:43: recipe for target 'zyGrib' failed
make: *** [zyGrib] Error 2
any ideas?