In Ubuntu 13.04, as you probably know, 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
--------------------------------------------------
Started compilation: Sun Jun 16 19:13:04 EEST 2013
--
Errors in:
/geo/osgeo/src/grass_trunk/lib/ogsf
/geo/osgeo/src/grass_trunk/lib/nviz
/geo/osgeo/src/grass_trunk/misc/m.nviz.image
--
In case of errors please change into the directory with error and run
'make'.
If you get multiple errors, you need to deal with them in the order
they
appear in the error log. If you get an error building a library, you
will
also get errors from anything which uses the library.
--
Finished compilation: Sun Jun 16 19:31:30 EEST 2013
make: *** [default] Error 1
---%<--
On Sunday 16 of June 2013 20:21:12 Nikos Alexandris wrote:
Hi!
In Ubuntu 13.04, as you probably know, 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
--------------------------------------------------
Started compilation: Sun Jun 16 19:13:04 EEST 2013
--
Errors in:
/geo/osgeo/src/grass_trunk/lib/ogsf
/geo/osgeo/src/grass_trunk/lib/nviz
/geo/osgeo/src/grass_trunk/misc/m.nviz.image
--
In case of errors please change into the directory with error and
run
'make'.
If you get multiple errors, you need to deal with them in the order
they
appear in the error log. If you get an error building a library, you
will
also get errors from anything which uses the library.
--
Finished compilation: Sun Jun 16 19:31:30 EEST 2013
make: *** [default] Error 1
---%<--
Same (almost) for grass64:
--%<---
----------------------------------------------------------------------
GRASS GIS compilation log
-------------------------
Started compilation: Sun Jun 16 20:24:02 EEST 2013
--
Errors in:
/geo/osgeo/src/grass64_release/lib/ogsf
/geo/osgeo/src/grass64_release/lib/nviz
/geo/osgeo/src/grass64_release/misc/m.nviz.image
/geo/osgeo/src/grass64_release/visualization/xganim
/geo/osgeo/src/grass64_release/visualization/nviz
--
In case of errors please change into the directory with error and run
'make'.
If you get multiple errors, you need to deal with them in the order
they
appear in the error log. If you get an error building a library, you
will
also get errors from anything which uses the library.
--
Finished compilation: Sun Jun 16 20:32:53 EEST 2013
make: *** [default] Error 1
--->%--
Il giorno 16/giu/2013, alle ore 13:35, Nikos Alexandris <nik@nikosalexandris.net> ha scritto:
On Sunday 16 of June 2013 20:21:12 Nikos Alexandris wrote:
Hi!
In Ubuntu 13.04, as you probably know, 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
--------------------------------------------------
Started compilation: Sun Jun 16 19:13:04 EEST 2013
--
Errors in:
/geo/osgeo/src/grass_trunk/lib/ogsf
/geo/osgeo/src/grass_trunk/lib/nviz
/geo/osgeo/src/grass_trunk/misc/m.nviz.image
--
In case of errors please change into the directory with error and
run
'make'.
If you get multiple errors, you need to deal with them in the order
they
appear in the error log. If you get an error building a library, you
will
also get errors from anything which uses the library.
--
Finished compilation: Sun Jun 16 19:31:30 EEST 2013
make: *** [default] Error 1
---%<--
Same (almost) for grass64:
--%<---
----------------------------------------------------------------------
GRASS GIS compilation log
-------------------------
Started compilation: Sun Jun 16 20:24:02 EEST 2013
--
Errors in:
/geo/osgeo/src/grass64_release/lib/ogsf
/geo/osgeo/src/grass64_release/lib/nviz
/geo/osgeo/src/grass64_release/misc/m.nviz.image
/geo/osgeo/src/grass64_release/visualization/xganim
/geo/osgeo/src/grass64_release/visualization/nviz
--
In case of errors please change into the directory with error and run
'make'.
If you get multiple errors, you need to deal with them in the order
they
appear in the error log. If you get an error building a library, you
will
also get errors from anything which uses the library.
--
Finished compilation: Sun Jun 16 20:32:53 EEST 2013
make: *** [default] Error 1
--->%--
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.
...
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@epi:~/dev/src/grass7_trunk/visualization/wximgview$ cd /home/epi/dev/src/grass7_trunk/visualization/xganim
epi@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.
>>> 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.
I don't mind about ffmpeg for animation creation -- hopefully most people wont
mind too. What "hurts" more is nviz not working, which means, literally no 3D-
mode available in wxGUI (right?).
> 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@epi:~/dev/src/grass7_trunk/visualization/wximgview$ cd
> /home/epi/dev/src/grass7_trunk/visualization/xganim
> epi@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.
these headers should be checked by configuration script I would say.
afaik they (generally) are, it's just that the functions keep on
getting renamed and jumping between libs, so it's a moving target,
and it's a bit much to do a test compile for every function call
used.