Hi
I'm not able to force a windows layout.
I set up my windows sizes and placement, check "Save current window
layout as default" and "Suppres positioning..." in settings, then
"Save", but in a next wxGUI session my layout is not restored
That used to work in the past...
Maciek
--
Maciej Sieczka
www.sieczka.org
Hello GRASS devs,
Today I tried to compile grass6_devel fresh from svn and got this problem:
gcc -I/home/bobm/src/gis/grass6_devel/dist.x86_64-unknown-linux-gnu/include -g -O2 -fPIC -DPACKAGE=\""grasslibs"\" -I/usr/local/include -DPACKAGE=\""grasslibs"\" -I/usr/include/ffmpeg -I/home/bobm/src/gis/grass6_devel/dist.x86_64-unknown-linux-gnu/include -o OBJ.x86_64-unknown-linux-gnu/gsd_img_mpeg.o -c gsd_img_mpeg.c
In file included from gsd_img_mpeg.c:29:
/usr/include/ffmpeg/avformat.h:282: warning: AVFrac is deprecated
gsd_img_mpeg.c: In function gsd_close_mpeg:
gsd_img_mpeg.c:439: error: incompatible type for argument 1 of url_fclose
make: *** [OBJ.x86_64-unknown-linux-gnu/gsd_img_mpeg.o] Error 1
It seems to be a problem with FFMPEG. What is FFMPEG used for anyways?
Bob
Moskovitz, Bob wrote:
Today I tried to compile grass6_devel fresh from svn and got this problem:
gcc -I/home/bobm/src/gis/grass6_devel/dist.x86_64-unknown-linux-gnu/include -g -O2 -fPIC -DPACKAGE=\""grasslibs"\" -I/usr/local/include -DPACKAGE=\""grasslibs"\" -I/usr/include/ffmpeg -I/home/bobm/src/gis/grass6_devel/dist.x86_64-unknown-linux-gnu/include -o OBJ.x86_64-unknown-linux-gnu/gsd_img_mpeg.o -c gsd_img_mpeg.c
In file included from gsd_img_mpeg.c:29:
/usr/include/ffmpeg/avformat.h:282: warning: �AVFrac� is deprecated
gsd_img_mpeg.c: In function �gsd_close_mpeg�:
gsd_img_mpeg.c:439: error: incompatible type for argument 1 of �url_fclose�
make: *** [OBJ.x86_64-unknown-linux-gnu/gsd_img_mpeg.o] Error 1
At the bottom of lib/ogsf/gsd_img_mpeg.c, change the line:
url_fclose(&oc->pb);
to:
url_fclose(oc->pb);
This has been fixed in 7.0 in r35270, but not backported.
It seems to be a problem with FFMPEG. What is FFMPEG used for anyways?
NVIZ uses it to save animations in video (AVI etc) files.
If you don't need that feature, you can use --without-ffmpeg to
disable the use of FFMPEG.
--
Glynn Clements <glynn@gclements.plus.com>
On Mon, Jan 12, 2009 at 7:36 AM, Glynn Clements
<glynn@gclements.plus.com> wrote:
Moskovitz, Bob wrote:
Today I tried to compile grass6_devel fresh from svn and got this problem:
gcc -I/home/bobm/src/gis/grass6_devel/dist.x86_64-unknown-linux-gnu/include -g -O2 -fPIC -DPACKAGE=\""grasslibs"\" -I/usr/local/include -DPACKAGE=\""grasslibs"\" -I/usr/include/ffmpeg -I/home/bobm/src/gis/grass6_devel/dist.x86_64-unknown-linux-gnu/include -o OBJ.x86_64-unknown-linux-gnu/gsd_img_mpeg.o -c gsd_img_mpeg.c
In file included from gsd_img_mpeg.c:29:
/usr/include/ffmpeg/avformat.h:282: warning: �AVFrac� is deprecated
gsd_img_mpeg.c: In function �gsd_close_mpeg�:
gsd_img_mpeg.c:439: error: incompatible type for argument 1 of �url_fclose�
make: *** [OBJ.x86_64-unknown-linux-gnu/gsd_img_mpeg.o] Error 1
At the bottom of lib/ogsf/gsd_img_mpeg.c, change the line:
url_fclose(&oc->pb);
to:
url_fclose(oc->pb);
This has been fixed in 7.0 in r35270, but not backported.
Are you sure?
http://trac.osgeo.org/grass/changeset/35273
http://trac.osgeo.org/grass/changeset/35272
(5 days ago)
Bob, perhaps you need to update from SVN?
Markus
Markus Neteler wrote:
>> Today I tried to compile grass6_devel fresh from svn and got this problem:
>>
>> gcc -I/home/bobm/src/gis/grass6_devel/dist.x86_64-unknown-linux-gnu/include -g -O2 -fPIC -DPACKAGE=\""grasslibs"\" -I/usr/local/include -DPACKAGE=\""grasslibs"\" -I/usr/include/ffmpeg -I/home/bobm/src/gis/grass6_devel/dist.x86_64-unknown-linux-gnu/include -o OBJ.x86_64-unknown-linux-gnu/gsd_img_mpeg.o -c gsd_img_mpeg.c
>> In file included from gsd_img_mpeg.c:29:
>> /usr/include/ffmpeg/avformat.h:282: warning: �AVFrac� is deprecated
>> gsd_img_mpeg.c: In function �gsd_close_mpeg�:
>> gsd_img_mpeg.c:439: error: incompatible type for argument 1 of �url_fclose�
>> make: *** [OBJ.x86_64-unknown-linux-gnu/gsd_img_mpeg.o] Error 1
>
> At the bottom of lib/ogsf/gsd_img_mpeg.c, change the line:
>
> url_fclose(&oc->pb);
> to:
> url_fclose(oc->pb);
>
> This has been fixed in 7.0 in r35270, but not backported.
Are you sure?
http://trac.osgeo.org/grass/changeset/35273
http://trac.osgeo.org/grass/changeset/35272
My mistake. I assumed that he was having the problem the fix was meant
to address, but it's the opposite problem.
--
Glynn Clements <glynn@gclements.plus.com>