[GRASS-dev] ogsf, nviz, m.nviz.image build errors -- ticket #1423 ?

Hamish hamish_b at yahoo.com
Sun Jun 16 14:00:53 PDT 2013


Nikos wrote:
>>>  In Ubuntu 13.04, as you probably know,

(didn't)

>>> ogsf, nviz and m.nviz.image(still) wont compile. 
>>> This all is related to ticket
>>>  <https://trac.osgeo.org/grass/ticket/1423> I guess.
>>>
>>>  -->%---
>>>  GRASS GIS 7.0.svn 56732 compilation log

AFAIK right now --with-ffmpeg adds nothing in GRASS 7 since
it was only used by Tcl/Tk NVIZ and that got deleted in trunk.
We need to consider if we should keep direct animation creation
support for wxGUI; I'm happy with producing raw PPM frames and
ffmpeg API is a pain to try and keep up with, but I'll reserve
judgement until we see what the less-changing libav looks like.

--with-ffmpeg  --with-ffmpeg-includes="/usr/include/libavcodec /usr/include/libavformat /usr/include/libswscale /usr/include/libavutil"


Massimo:

> i'm on ubuntu 13.04 as well
...
> i do not have errors to build ogsf/nviz/m.nviz.image
> 
> the only error i got are in 
> wximgview/xganim
> 
> i guess because of wx-2.8
> 
> attached the log :
> 
> https://gist.github.com/5793126
...

> Errors in:
> /home/epi/dev/src/grass7_trunk/visualization/wximgview

> /home/epi/dev/src/grass7_trunk/visualization/xganim

> ...
> c++ -g -O2 -I/home/epi/dev/src/grass7_trunk/dist.x86_64-unknown-linux-gnu/include
>  -I/home/epi/dev/src/grass7_trunk/dist.x86_64-unknown-linux-gnu/include
>  -I/usr/lib/x86_64-linux-gnu/wx/include/base-unicode-release-2.8
>  -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DwxUSE_GUI=0
>  -pthread -DWXINTL_NO_GETTEXT_MACRO -DPACKAGE=\""grassmods"\"
>  -I/home/epi/dev/src/grass7_trunk/dist.x86_64-unknown-linux-gnu/include
>  -I/home/epi/dev/src/grass7_trunk/dist.x86_64-unknown-linux-gnu/include
>  -o OBJ.x86_64-unknown-linux-gnu/main.o -c main.cpp
> In file included from main.cpp:41:0:
> wximgview.h:9:23: error: invalid use of incomplete type 'class wxFrame'
> In file included from /usr/include/wx-2.8/wx/wx.h:27:0,
> from main.cpp:34:
> /usr/include/wx-2.8/wx/utils.h:50:28: error: forward declaration of 'class wxFrame'
> In file included from main.cpp:41:0:
> wximgview.h:12:5: error: 'wxTimer' does not name a type
> wximgview.h:19:19: error: 'wxSize' does not name a type
> wximgview.h:19:27: error: ISO C++ forbids declaration of 'size' with no type [-fpermissive]
> wximgview.h:23:17: error: 'wxPaintEvent' has not been declared
> ...
> 
> epi at epi:~/dev/src/grass7_trunk/visualization/wximgview$ cd /home/epi/dev/src/grass7_trunk/visualization/xganim
> epi at epi:~/dev/src/grass7_trunk/visualization/xganim$ make
> c++ -g -O2 -I/home/epi/dev/src/grass7_trunk/dist.x86_64-unknown-linux-gnu/include
>  -I/home/epi/dev/src/grass7_trunk/dist.x86_64-unknown-linux-gnu/include
>  -I/usr/lib/x86_64-linux-gnu/wx/include/base-unicode-release-2.8 -I/usr/include/wx-2.8
>  -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DwxUSE_GUI=0 -pthread -DWXINTL_NO_GETTEXT_MACRO
>  -DPACKAGE=\""grassmods"\" -I/home/epi/dev/src/grass7_trunk/dist.x86_64-unknown-linux-gnu/include
>  -I/home/epi/dev/src/grass7_trunk/dist.x86_64-unknown-linux-gnu/include
>  -o OBJ.x86_64-unknown-linux-gnu/gui.o -c gui.cpp
> In file included from /usr/include/wx-2.8/wx/window.h:23:0,
> from /usr/include/wx-2.8/wx/sizer.h:17,
> from gui.cpp:23:
> /usr/include/wx-2.8/wx/cursor.h: In constructor 'wxBusyCursorSuspender::wxBusyCursorSuspender()':
> /usr/include/wx-2.8/wx/cursor.h:65:22: error: 'wxIsBusy' was not declared in this scope
> /usr/include/wx-2.8/wx/cursor.h:67:26: error: 'wxBusyCursor' has not been declared
> /usr/include/wx-2.8/wx/cursor.h: In destructor 'wxBusyCursorSuspender::~wxBusyCursorSuspender()':
> /usr/include/wx-2.8/wx/cursor.h:72:22: error: 'wxIsBusy' was not declared in this scope


fwiw as a pre-release test I built the 6.4.3svn Debian
package yesterday in Debian/sid (wx2.8), it was all ok.

I'll try in a ubuntu 13.04 vm..


Hamish



More information about the grass-dev mailing list