Page 1 of 1

8.0.1 compilation error on openSUSE

Posted: 09 Dec 2016 17:08
by coogor
Wow, an upgrade to zyGrib after nearly 2 years! This is great!
I put this immeadiately onto OBS, but I run into a compilation error:

Code: Select all

[   91s] gcc -c -O3 -g -m64 -I/nwprod/lib/include/ -DUSE_JPEG2000 -DUSE_PNG -D__64BIT__ dec_jpeg2000.c
[   91s] dec_jpeg2000.c:8:27: fatal error: jasper/jasper.h: No such file or directory
[   91s]  #include "jasper/jasper.h"
Is there a dependency missing?

Re: 8.0.1 compilation error on openSUSE

Posted: 21 Dec 2016 12:36
by coogor
Solved the last issue (libjpeg-devel was a build-requirement) and immediately jumped into the next issue, related to qt: Which qt-Version is expected?

Re: 8.0.1 compilation error on openSUSE

Posted: 03 Jan 2017 13:34
by coogor
I'm getting closer...after some includes and patches I'm now at a new error:

Code: Select all

[   63s] compiling qwt_slider.cpp
[   63s] compiling qwt_thermo.cpp
[   64s] compiling qwt_wheel.cpp
[   64s] moc qwt_dyngrid_layout.h
[   64s] moc qwt_magnifier.h
[   65s] usr/include/c++/4.8/bits/stl_relops.:67: Parse error at "std"
[   65s] Makefile:739: recipe for target 'moc/moc_qwt_dyngrid_layout.cpp' failed
[   65s] make[1]: *** [moc/moc_qwt_dyngrid_layout.cpp] Error 1
[   65s] make[1]: *** Waiting for unfinished jobs....
[   65s] usr/include/c++/4.8/bits/stl_relops.:67: Parse error at "std"
[   65s] Makefile:743: recipe for target 'moc/moc_qwt_magnifier.cpp' failed
[   65s] make[1]: *** [moc/moc_qwt_magnifier.cpp] Error 1
Any idea?

Re: 8.0.1 compilation error on openSUSE

Posted: 09 Jan 2017 19:51
by coogor
Just to let you know, compilation errors are resolved and zyGrib is now available for openSUSE Leap, Tumbleweed, and PowerPC:
https://build.opensuse.org/package/show ... Geo/zyGrib