Re: [osg-users] [build] make : Build error on FFmpegDecoder.cpp while compiling OSG-dev

2009-04-20 Thread Robert Osfield
Hi David, Which version of ffmpeg plugin and OS are you compiling on? Robert. On Wed, Apr 15, 2009 at 9:45 AM, david bruyer davidbru...@gmail.com wrote: Hi, I'm trying to compile the last version of OSG-dev but I have a build error at the make : Code:

Re: [osg-users] [build] make : Build error on FFmpegDecoder.cpp while compiling OSG-dev

2009-04-20 Thread david bruyer
hi robert, I'm compiling OSG-dev on a Mandriva 2009.0 Code: [da...@mandrake ~]$ uname -a Linux Mandrake 2.6.22.19-desktop-2mdv #1 SMP Mon May 5 20:55:05 EDT 2008 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz GNU/Linux [da...@mandrake ~]$ And i'm using the 0.4.9 version of ffmpeg = Code:

Re: [osg-users] [build] make : Build error on FFmpegDecoder.cpp while compiling OSG-dev

2009-04-20 Thread Robert Osfield
Hi David, Did the changes that the compiler and J-S suggested work? Robert. On Mon, Apr 20, 2009 at 2:03 PM, david bruyer davidbru...@gmail.com wrote: hi robert, I'm compiling OSG-dev on a Mandriva 2009.0 Code: [da...@mandrake ~]$ uname -a Linux Mandrake 2.6.22.19-desktop-2mdv #1 SMP

Re: [osg-users] [build] make : Build error on FFmpegDecoder.cpp while compiling OSG-dev

2009-04-20 Thread David Callu
Hi all same issue for me, # uname -a Linux mrburns 2.6.27.21-170.2.56.fc10.i686.PAE #1 SMP Mon Mar 23 23:24:26 EDT 2009 i686 i686 i386 GNU/Linux # gcc --version gcc (GCC) 4.3.2 20081105 (Red Hat 4.3.2-7) Update ffmpeg from 0.49 to 0.5 solve the problem. HTH David 2009/4/20 Robert Osfield

Re: [osg-users] [build] make : Build error on FFmpegDecoder.cpp while compiling OSG-dev

2009-04-20 Thread Jean-Sébastien Guay
Hello David, Well, this file still contain this parameter, i can't put again... Can i try to remove it ? Just remove the #ifdef WIN32 and accompanying #endif and try to recompile... Then the error defines should be included by #include errno.h. J-S --

Re: [osg-users] [build] make : Build error on FFmpegDecoder.cpp while compiling OSG-dev

2009-04-20 Thread Robert Osfield
On Mon, Apr 20, 2009 at 3:01 PM, david bruyer davidbru...@gmail.com wrote: Hi robert, I can't find the FFMpegHeaders.h to include the #include errno.h parameter... Si I can not try to compile it again... Can you tell me where to find that file ? OpenSceneGraph/src/osgPlugins/ffmpeg/

Re: [osg-users] [build] make : Build error on FFmpegDecoder.cpp while compiling OSG-dev

2009-04-20 Thread david bruyer
Do i have to modify it this way ? (sorry but i never make programmation...) Code: #ifndef HEADER_GUARD_FFMPEG_HEADERS_H #define HEADER_GUARD_FFMPEG_HEADERS_H extern C { #define __STDC_CONSTANT_MACROS #include errno.h// for error codes defined in avformat.h #include stdint.h #include

Re: [osg-users] [build] make : Build error on FFmpegDecoder.cpp while compiling OSG-dev

2009-04-20 Thread david bruyer
Hi, I removed the #ifdef WIN32 and accompanying #endif and everything is fine now. It's solved now. Thanks for your help FFMpegHeaders.hpp Code: #ifndef HEADER_GUARD_FFMPEG_HEADERS_H #define HEADER_GUARD_FFMPEG_HEADERS_H extern C { #define __STDC_CONSTANT_MACROS #include errno.h// for

Re: [osg-users] [build] make : Build error on FFmpegDecoder.cpp while compiling OSG-dev

2009-04-20 Thread Jean-Sébastien Guay
Hi Robert, David, I removed the #ifdef WIN32 and accompanying #endif and everything is fine now. It's solved now. Robert, how safe is this change on all platforms? I think errno.h is standard, but would including it here introduce too much namespace pollution? If not, then can you please

Re: [osg-users] [build] make : Build error on FFmpegDecoder.cpp while compiling OSG-dev

2009-04-20 Thread Robert Osfield
On 4/20/09, Jean-Sébastien Guay jean-sebastien.g...@cm-labs.com wrote: Hi Robert, David, I removed the #ifdef WIN32 and accompanying #endif and everything is fine now. It's solved now. Robert, how safe is this change on all platforms? I think errno.h is standard, but would including it here

Re: [osg-users] [build] make : Build error on FFmpegDecoder.cpp while compiling OSG-dev

2009-04-20 Thread Jean-Sébastien Guay
Hi Robert, It's just a header in a plugin, so it'll only pollute the plugin source files so not a great issue. Agreed. I'm currently doing a test install of the Kubuntu 9.04 release candidate, so don't yet have a dev environment setup. No problem, no rush. Just so others can avoid David's

Re: [osg-users] [build] make : Build error on FFmpegDecoder.cpp while compiling OSG-dev

2009-04-20 Thread Robert Osfield
Hi David et. al, On Mon, Apr 20, 2009 at 4:50 PM, Robert Osfield robert.osfi...@gmail.com wrote: Time for put this baby on a hard disk and install the OSG dev env. I'll email the list once everything is installed and the compile fix checked in - this will be a good test for how smoothly the

[osg-users] [build] make : Build error on FFmpegDecoder.cpp while compiling OSG-dev

2009-04-15 Thread david bruyer
Hi, I'm trying to compile the last version of OSG-dev but I have a build error at the make : Code: /home/player/FlightGear-dev/build/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:90: erreur: 'ENOMEM' was not declared in this scope

Re: [osg-users] [build] make : Build error on FFmpegDecoder.cpp while compiling OSG-dev

2009-04-15 Thread david bruyer
Bonjour Jean-Sébastien, Merci pour ta prise en compte. David -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=10255#10255 ___ osg-users mailing list osg-users@lists.openscenegraph.org