Re: [osg-users] Please test svn/trunk in prep for OSG-3.0 branch tomorrow!
On Wed, Jun 22, 2011 at 4:46 AM, Robert Osfield wrote: > Hi Ryan, > > I've used the latest rev of cppcheck in their git repository but don't > get a fraction of the warnigns that you do. I've addressed the ones > that I can fix and these were checked in for the rc2, two of the > warnings can't be fixed as the leak warnings it suggested are > associated with an interpretation of putenv behaviour that is only > valid for some implementations. > > What command line options did you use when running cppcheck? > > I'm using the > > cppcheck . 2> trunk.txt > > Suggested in the cppcheck -h. > > Robert. > I actually used the gui (do a cd gui; qmake; make to build it) and saved the log from there, but the --enable= option on the command line gives you the ability to enable the categories of warnings. Not sure how to get the exact mix of options I used on the command line, but this will give you a superset of them: cppcheck --enable=all . 2> trunk.txt Ryan -- Ryan Pavlik HCI Graduate Student Virtual Reality Applications Center Iowa State University rpav...@iastate.edu http://academic.cleardefinition.com ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Please test svn/trunk in prep for OSG-3.0 branch tomorrow!
Hi Ryan, I've used the latest rev of cppcheck in their git repository but don't get a fraction of the warnigns that you do. I've addressed the ones that I can fix and these were checked in for the rc2, two of the warnings can't be fixed as the leak warnings it suggested are associated with an interpretation of putenv behaviour that is only valid for some implementations. What command line options did you use when running cppcheck? I'm using the cppcheck . 2> trunk.txt Suggested in the cppcheck -h. Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Please test svn/trunk in prep for OSG-3.0 branch tomorrow!
On 6/17/2011 10:54 AM, Robert Osfield wrote: > On Fri, Jun 17, 2011 at 5:44 PM, Jorge Izquierdo Ciges > wrote: >> Not exactly xD We spanish people are very weird. Besides the name/middle >> name(optional), we use two surnames father and mother Ciges is my mother's >> family name. Weird complicated people ^__^ > > Wierd, not at all, that's pretty cool that you get to honour both > sides of your family line. > > When my wife and I got married we did something similar, but rather > than have double barrelled name of Osborn-Honeyfield we shortened it > to Osfield. Again and again, it always seems to come back to namespace issues... ;) -- Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com http://www.alphapixel.com/ Digital Imaging. OpenGL. Scene Graphs. GIS. GPS. Training. Consulting. Contracting. "There is no Truth. There is only Perception. To Perceive is to Exist." - Xen ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Please test svn/trunk in prep for OSG-3.0 branch tomorrow!
On Fri, Jun 17, 2011 at 5:44 PM, Jorge Izquierdo Ciges wrote: > Not exactly xD We spanish people are very weird. Besides the name/middle > name(optional), we use two surnames father and mother Ciges is my mother's > family name. Weird complicated people ^__^ Wierd, not at all, that's pretty cool that you get to honour both sides of your family line. When my wife and I got married we did something similar, but rather than have double barrelled name of Osborn-Honeyfield we shortened it to Osfield. Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Please test svn/trunk in prep for OSG-3.0 branch tomorrow!
Not exactly xD We spanish people are very weird. Besides the name/middle name(optional), we use two surnames father and mother Ciges is my mother's family name. Weird complicated people ^__^ 2011/6/17 Robert Osfield > list now updated to automatically rename the > Jorge Ciges entries to Jorge Izquierdo. It does leave me curious > about the Ciges part... is part of your name in any way? > ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Please test svn/trunk in prep for OSG-3.0 branch tomorrow!
Hi All, The deed is done, OpenSceneGraph-3.0 branch is now made. To check it out: svn co http://www.openscenegraph.org/svn/osg/OpenSceneGraph-3.0 OpenSceneGraph-3.0 I have a school fete to attend this afternoon so I'll head too to that now. When I'm back this evening I'll tag the 3.0.0-rc1 from the 3.0 branch unless there are any problems spotted that warrent fixes before rc1. Thanks to all those have testing, Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Please test svn/trunk in prep for OSG-3.0 branch tomorrow!
Hi All, I'm now ready to flip the switch and make the OpenSceneGraph-3.0 branch, then straight away on to tagging the first rc1. Please shout now if you've got an build error that warrent me handling back. Cheers, Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Please test svn/trunk in prep for OSG-3.0 branch tomorrow!
Hi Jorge, On Fri, Jun 17, 2011 at 12:21 PM, Jorge Izquierdo Ciges wrote: > First name: Jorge (George in English :P) > Surname: Izquierdo > > Basically: Jorge Izquierdo > > Sorry for the inconveniences. No problem, contributors list now updated to automatically rename the Jorge Ciges entries to Jorge Izquierdo. It does leave me curious about the Ciges part... is part of your name in any way? Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Please test svn/trunk in prep for OSG-3.0 branch tomorrow!
Hi Robert First name: Jorge (George in English :P) Surname: Izquierdo Basically: Jorge Izquierdo Sorry for the inconveniences. 2011/6/17 Robert Osfield > Hi Ulrich, > > Following up on ffmpeg plugin link problem on your OSX system, could run: > > cd OpenSceneGraph/src/osgPlugins/ffmpeg > make VERBOSE=1 > > When I do this on my system the link command reported include all the > approrpiate ffmpeg libs - including the -lavutil entry required for > the "av_get_pix_fmt(char const*)" function : > > Linking CXX shared module ../../../lib/osgPlugins-3.0.0/osgdb_ffmpeg.so > cd /home/robert/OpenSceneGraph/src/osgPlugins/ffmpeg && /usr/bin/cmake > -E cmake_link_script CMakeFiles/osgdb_ffmpeg.dir/link.txt --verbose=1 > /usr/bin/c++ -fPIC -Wall -Wparentheses -Wno-long-long -Wno-import > -Wreturn-type -Wmissing-braces -Wunknown-pragmas -Wunused -fpermissive > -O3 -DNDEBUG -shared -Wl,-soname,osgdb_ffmpeg.so -o > ../../../lib/osgPlugins-3.0.0/osgdb_ffmpeg.so > CMakeFiles/osgdb_ffmpeg.dir/FFmpegClocks.o > CMakeFiles/osgdb_ffmpeg.dir/FFmpegDecoderAudio.o > CMakeFiles/osgdb_ffmpeg.dir/FFmpegDecoder.o > CMakeFiles/osgdb_ffmpeg.dir/FFmpegDecoderVideo.o > CMakeFiles/osgdb_ffmpeg.dir/FFmpegImageStream.o > CMakeFiles/osgdb_ffmpeg.dir/FFmpegAudioStream.o > CMakeFiles/osgdb_ffmpeg.dir/FFmpegParameters.o > CMakeFiles/osgdb_ffmpeg.dir/ReaderWriterFFmpeg.o > ../../../lib/libOpenThreads.so.2.5.0 ../../../lib/libosg.so.3.0.0 > ../../../lib/libosgDB.so.3.0.0 ../../../lib/libosgUtil.so.3.0.0 > -lavformat -lavdevice -lavcodec -lavutil -lswscale > ../../../lib/libosg.so.3.0.0 ../../../lib/libOpenThreads.so.2.5.0 > -lpthread -lm -lrt -ldl -lz -lGL > -Wl,-rpath,/home/robert/OpenSceneGraph/lib: > > If this is a problem then I can bump the number... The above line > reminds me that I need to be the OpenThread number of a stable version > as well... > > Robert. > ___ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Please test svn/trunk in prep for OSG-3.0 branch tomorrow!
Hi Ulrich, Following up on ffmpeg plugin link problem on your OSX system, could run: cd OpenSceneGraph/src/osgPlugins/ffmpeg make VERBOSE=1 When I do this on my system the link command reported include all the approrpiate ffmpeg libs - including the -lavutil entry required for the "av_get_pix_fmt(char const*)" function : Linking CXX shared module ../../../lib/osgPlugins-3.0.0/osgdb_ffmpeg.so cd /home/robert/OpenSceneGraph/src/osgPlugins/ffmpeg && /usr/bin/cmake -E cmake_link_script CMakeFiles/osgdb_ffmpeg.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -Wall -Wparentheses -Wno-long-long -Wno-import -Wreturn-type -Wmissing-braces -Wunknown-pragmas -Wunused -fpermissive -O3 -DNDEBUG -shared -Wl,-soname,osgdb_ffmpeg.so -o ../../../lib/osgPlugins-3.0.0/osgdb_ffmpeg.so CMakeFiles/osgdb_ffmpeg.dir/FFmpegClocks.o CMakeFiles/osgdb_ffmpeg.dir/FFmpegDecoderAudio.o CMakeFiles/osgdb_ffmpeg.dir/FFmpegDecoder.o CMakeFiles/osgdb_ffmpeg.dir/FFmpegDecoderVideo.o CMakeFiles/osgdb_ffmpeg.dir/FFmpegImageStream.o CMakeFiles/osgdb_ffmpeg.dir/FFmpegAudioStream.o CMakeFiles/osgdb_ffmpeg.dir/FFmpegParameters.o CMakeFiles/osgdb_ffmpeg.dir/ReaderWriterFFmpeg.o ../../../lib/libOpenThreads.so.2.5.0 ../../../lib/libosg.so.3.0.0 ../../../lib/libosgDB.so.3.0.0 ../../../lib/libosgUtil.so.3.0.0 -lavformat -lavdevice -lavcodec -lavutil -lswscale ../../../lib/libosg.so.3.0.0 ../../../lib/libOpenThreads.so.2.5.0 -lpthread -lm -lrt -ldl -lz -lGL -Wl,-rpath,/home/robert/OpenSceneGraph/lib: If this is a problem then I can bump the number... The above line reminds me that I need to be the OpenThread number of a stable version as well... Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Please test svn/trunk in prep for OSG-3.0 branch tomorrow!
Hi Jorge, On Fri, Jun 17, 2011 at 11:15 AM, Jorge Izquierdo Ciges wrote: > As I said in the other thread Android works well. I've build it from 0 with > both GLES and the examples succesfully. Great to hear. > If you are gonna tidy that, plese correct my Surname it's "Jorge Izquierdo" > not "Jorge Ciges" Sorry, I assumed Jorge was your firstname, Izquierdo your middle name, and Ciges your surname. I can run a name substitution to correct the the name you want me to use. So what would you like me to use in place of "Jorge Ciges"? Normally I enter the authors name as Firstname Surname, what would be appropriate in your case? Robert. > I'll be checking things all the day because i'm doing tests from now till > monday. > Happy 3.0! > > 2011/6/17 Robert Osfield >> >> HI All, >> >> Thanks to everyone for the testing so far. I've had a several build >> fixes checked in this morning and have just update the version numbers >> to 3.0.0, so it's worth doing another update and rebuild if you can. >> >> This morning I'll be tidying up the README/ChangeLog/AUTHORS etc, as >> well as look into any bugs that pop up. If everything still looks >> solid I'll make the 3.0 branch and tag the 3.0.0-rc1 this afternoon. >> >> Thanks for you help in testing, >> Robert. >> ___ >> osg-users mailing list >> osg-users@lists.openscenegraph.org >> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > ___ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Please test svn/trunk in prep for OSG-3.0 branch tomorrow!
Hi Ulrich, On Fri, Jun 17, 2011 at 11:12 AM, Ulrich Hertlein wrote: > Hi Robert, > > bummer, the latest change for ffmpeg broke it on my Mac: > > Linking CXX shared module ../../../lib/osgPlugins-3.0.0/osgdb_ffmpeg.so > Undefined symbols: > "av_get_pix_fmt(char const*)", referenced from: > osgFFmpeg::FFmpegParameters::parse(std::basic_string std::char_traits, > std::allocator > const&, std::basic_string, > std::allocator > const&)in FFmpegParameters.cpp.o > ld: symbol(s) not found > collect2: ld returned 1 exit status > make[2]: *** [lib/osgPlugins-3.0.0/osgdb_ffmpeg.so] Error 1 > make[1]: *** [src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/all] Error 2 > make: *** [all] Error 2 > > I have the following in libavcodec/avcodec.h: > > #define LIBAVCODEC_VERSION_MAJOR 52 > #define LIBAVCODEC_VERSION_MINOR 72 > #define LIBAVCODEC_VERSION_MICRO 2 Curious you would appear to have the same rev of ffmpeg as I do. At least your headers would seem to have the method in as well as it's compiling OK. Is there any chance you are linking to an older version of ffmpeg? > const char *avcodec_get_pix_fmt_name(enum PixelFormat pix_fmt); Why do you list this method? I have this method in my include/libavcodec/avcodec.h but it's not used by the OSG at all so should be entirely irrelevant to the OSG. It's also not approriate for using as we want a PixelFormat from a char* not the other way around. Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Please test svn/trunk in prep for OSG-3.0 branch tomorrow!
As I said in the other thread Android works well. I've build it from 0 with both GLES and the examples succesfully. If you are gonna tidy that, plese correct my Surname it's "Jorge Izquierdo" not "Jorge Ciges" I'll be checking things all the day because i'm doing tests from now till monday. Happy 3.0! 2011/6/17 Robert Osfield > HI All, > > Thanks to everyone for the testing so far. I've had a several build > fixes checked in this morning and have just update the version numbers > to 3.0.0, so it's worth doing another update and rebuild if you can. > > This morning I'll be tidying up the README/ChangeLog/AUTHORS etc, as > well as look into any bugs that pop up. If everything still looks > solid I'll make the 3.0 branch and tag the 3.0.0-rc1 this afternoon. > > Thanks for you help in testing, > Robert. > ___ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Please test svn/trunk in prep for OSG-3.0 branch tomorrow!
Hi Robert, bummer, the latest change for ffmpeg broke it on my Mac: Linking CXX shared module ../../../lib/osgPlugins-3.0.0/osgdb_ffmpeg.so Undefined symbols: "av_get_pix_fmt(char const*)", referenced from: osgFFmpeg::FFmpegParameters::parse(std::basic_string, std::allocator > const&, std::basic_string, std::allocator > const&)in FFmpegParameters.cpp.o ld: symbol(s) not found collect2: ld returned 1 exit status make[2]: *** [lib/osgPlugins-3.0.0/osgdb_ffmpeg.so] Error 1 make[1]: *** [src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/all] Error 2 make: *** [all] Error 2 I have the following in libavcodec/avcodec.h: #define LIBAVCODEC_VERSION_MAJOR 52 #define LIBAVCODEC_VERSION_MINOR 72 #define LIBAVCODEC_VERSION_MICRO 2 const char *avcodec_get_pix_fmt_name(enum PixelFormat pix_fmt); Cheers, /ulrich ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Please test svn/trunk in prep for OSG-3.0 branch tomorrow!
HI All, Thanks to everyone for the testing so far. I've had a several build fixes checked in this morning and have just update the version numbers to 3.0.0, so it's worth doing another update and rebuild if you can. This morning I'll be tidying up the README/ChangeLog/AUTHORS etc, as well as look into any bugs that pop up. If everything still looks solid I'll make the 3.0 branch and tag the 3.0.0-rc1 this afternoon. Thanks for you help in testing, Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Please test svn/trunk in prep for OSG-3.0 branch tomorrow!
Robert Osfield writes: > Hi Alberto, > > Thanks for the detective work. What I have gone for is: > > #if LIBAVCODEC_VERSION_MAJOR >= 53 || \ > (LIBAVCODEC_VERSION_MAJOR==52 && LIBAVCODEC_VERSION_MINOR>=49) > > #include > inline PixelFormat osg_av_get_pix_fmt(const char *name) { return > av_get_pix_fmt(name); } > > #else > inline PixelFormat osg_av_get_pix_fmt(const char *name) { return > avcodec_get_pix_fmt(name); } > #endif > > I have added this to the FFmpegParameters.cpp file. It's now checked > into svn/trunk. Could you please do an svn update and let me know how > you get on. It works. Thanks! -- Alberto ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Please test svn/trunk in prep for OSG-3.0 branch tomorrow!
Hi Alberto, Thanks for the detective work. What I have gone for is: #if LIBAVCODEC_VERSION_MAJOR >= 53 || \ (LIBAVCODEC_VERSION_MAJOR==52 && LIBAVCODEC_VERSION_MINOR>=49) #include inline PixelFormat osg_av_get_pix_fmt(const char *name) { return av_get_pix_fmt(name); } #else inline PixelFormat osg_av_get_pix_fmt(const char *name) { return avcodec_get_pix_fmt(name); } #endif I have added this to the FFmpegParameters.cpp file. It's now checked into svn/trunk. Could you please do an svn update and let me know how you get on. Cheers, Robert. On Fri, Jun 17, 2011 at 9:40 AM, Alberto Luaces wrote: > Hi Robert, > > Robert Osfield writes: > >> HI Alberto, >> >> On Fri, Jun 17, 2011 at 9:15 AM, Alberto Luaces wrote: >>> rev 12547 breaks the build when using ffmpeg 0.5.x (mine is >>> 0.5.2-6). The pixdesc.h header doesn't exist and neither the function >>> av_get_pix_fmt: >>> >>> src/osgPlugins/ffmpeg/FFmpegParameters.cpp:38: error: ‘av_get_pix_fmt’ >>> was not declared in this scope >>> >>> Reverting those changes makes the ffmpeg plugin build again. >> >> Darn it... fix a warning... break a build... >> >> We'll need to put in a check against the FFMpeg version and switch between >> the old depercated method and the new one. >> >> What version do you have listed in your libavcodec/avcodec.h? The rev >> I'm using is: >> >> #define LIBAVCODEC_VERSION_MAJOR 52 >> #define LIBAVCODEC_VERSION_MINOR 72 >> #define LIBAVCODEC_VERSION_MICRO 2 >> >> I wonder which version the the new method was introduced, if we can >> track this down we'll >> be able to put in a lasting fix. > > Mine is > > #define LIBAVCODEC_VERSION_MAJOR 52 > #define LIBAVCODEC_VERSION_MINOR 20 > #define LIBAVCODEC_VERSION_MICRO 1 > > According to > http://web.archiveorange.com/archive/v/LGwh9c0DVRIJNr3IEtyE, > av_get_pix_fmt was implemented in revision 21545 of ffmpeg, whose > avcodec.h version was: > > $ svn cat -r 21545 svn://svn.ffmpeg.org/ffmpeg/trunk/libavcodec/avcodec.h | > grep VERSION -m 3 > #define LIBAVCODEC_VERSION_MAJOR 52 > #define LIBAVCODEC_VERSION_MINOR 49 > #define LIBAVCODEC_VERSION_MICRO 0 > > -- > Alberto > > ___ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Please test svn/trunk in prep for OSG-3.0 branch tomorrow!
Hi Robert, Robert Osfield writes: > HI Alberto, > > On Fri, Jun 17, 2011 at 9:15 AM, Alberto Luaces wrote: >> rev 12547 breaks the build when using ffmpeg 0.5.x (mine is >> 0.5.2-6). The pixdesc.h header doesn't exist and neither the function >> av_get_pix_fmt: >> >> src/osgPlugins/ffmpeg/FFmpegParameters.cpp:38: error: ‘av_get_pix_fmt’ >> was not declared in this scope >> >> Reverting those changes makes the ffmpeg plugin build again. > > Darn it... fix a warning... break a build... > > We'll need to put in a check against the FFMpeg version and switch between > the old depercated method and the new one. > > What version do you have listed in your libavcodec/avcodec.h? The rev > I'm using is: > > #define LIBAVCODEC_VERSION_MAJOR 52 > #define LIBAVCODEC_VERSION_MINOR 72 > #define LIBAVCODEC_VERSION_MICRO 2 > > I wonder which version the the new method was introduced, if we can > track this down we'll > be able to put in a lasting fix. Mine is #define LIBAVCODEC_VERSION_MAJOR 52 #define LIBAVCODEC_VERSION_MINOR 20 #define LIBAVCODEC_VERSION_MICRO 1 According to http://web.archiveorange.com/archive/v/LGwh9c0DVRIJNr3IEtyE, av_get_pix_fmt was implemented in revision 21545 of ffmpeg, whose avcodec.h version was: $ svn cat -r 21545 svn://svn.ffmpeg.org/ffmpeg/trunk/libavcodec/avcodec.h | grep VERSION -m 3 #define LIBAVCODEC_VERSION_MAJOR 52 #define LIBAVCODEC_VERSION_MINOR 49 #define LIBAVCODEC_VERSION_MICRO 0 -- Alberto ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Please test svn/trunk in prep for OSG-3.0 branch tomorrow!
HI Alberto, On Fri, Jun 17, 2011 at 9:15 AM, Alberto Luaces wrote: > rev 12547 breaks the build when using ffmpeg 0.5.x (mine is > 0.5.2-6). The pixdesc.h header doesn't exist and neither the function > av_get_pix_fmt: > > src/osgPlugins/ffmpeg/FFmpegParameters.cpp:38: error: ‘av_get_pix_fmt’ > was not declared in this scope > > Reverting those changes makes the ffmpeg plugin build again. Darn it... fix a warning... break a build... We'll need to put in a check against the FFMpeg version and switch between the old depercated method and the new one. What version do you have listed in your libavcodec/avcodec.h? The rev I'm using is: #define LIBAVCODEC_VERSION_MAJOR 52 #define LIBAVCODEC_VERSION_MINOR 72 #define LIBAVCODEC_VERSION_MICRO 2 I wonder which version the the new method was introduced, if we can track this down we'll be able to put in a lasting fix. Robert. Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Please test svn/trunk in prep for OSG-3.0 branch tomorrow!
Hi Robert, rev 12547 breaks the build when using ffmpeg 0.5.x (mine is 0.5.2-6). The pixdesc.h header doesn't exist and neither the function av_get_pix_fmt: src/osgPlugins/ffmpeg/FFmpegParameters.cpp:38: error: ‘av_get_pix_fmt’ was not declared in this scope Reverting those changes makes the ffmpeg plugin build again. -- Alberto ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Please test svn/trunk in prep for OSG-3.0 branch tomorrow!
Hi Robert, Compiles well with MinGW 5.1.4 (gcc version 3.4.5) under Windows XP x86. I'm going to test Cygwin build in this weekend if possible. Cheers, Wang Rui 2011/6/17 Robert Osfield : > Hi All, > > Through this week I've been tidying up the codebase and address a few > outstanding bugs, and getting mostly up to date with submissions, and > am now pretty comfortable about going for the 3.0 branch tomorrow. > Are the community as comfortable about this as I? One one way to > find out and that's to go test svn/trunk, so... > > Pretty, pretty please could as many of you as possible start testing > out svn/trunk? Send in your feedback positive or negative. > > This evening I might make one last dev release, and if things go OK > with testing out in the community create the OSG-3.0 branch. Once the > 3.0 branch is made I'll immeditately tag the first rc1, and then > through the weekend and first half of next week we can hammer the poor > source to nail those last release niggles. My aim will be to get > 3.0.0 out towards the end of next week. > > Thanks in advance for your help, > Robert. > ___ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Please test svn/trunk in prep for OSG-3.0 branch tomorrow!
Hi Robert, compiles and works in 32 bit and 64 bit as expected. Win7 x64, MSVC9.0 (2008) Sp1 Cheers, Torben -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=40602#40602 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Please test svn/trunk in prep for OSG-3.0 branch tomorrow!
On Thu, Jun 16, 2011 at 1:23 PM, Robert Osfield wrote: > On Thu, Jun 16, 2011 at 7:05 PM, Jeremy Moles > wrote: > > Absolutely; though, rather than submit each modified file, will you take > > an "svn diff" in this case? :) > > The ideal form of submissions for me is all the files in their > respective directories - I have a merge script that just walks through > each on a fires up xxdiff automatically. > > I would be nice to have a script that takes an svn diff output and > then creates a package containing the complete files. I guess Cmake > should be capable of doing this for us given a little script magic. > > Robert. > If you use the Git mirror at https://github.com/openscenegraph/osg and put each would-be submission in its own feature branch, you can have git spit out a zip containing complete files in the right directories. I've attached (and pasted) the script I use, used as follows: zip-changes-between OpenSceneGraph-2.8 my-topic-branch > thefiles.zip #!/bin/sh git diff --name-only $1 $2 | xargs -d'\n' git archive --format=zip $2 Also, this makes it easy to port changes from one branch to another - suppose I want to port my-topic-branch to trunk (mirrored as "master" in git - here assuming that your master branch is up to date). git branch my-topic-branch-trunk my-topic-branch # create a new branch at the same place git rebase --onto master OpenSceneGraph-2.8 my-topic-branch-trunk # order of arguments: destination parent branch, original parent branch, branch to backport This ends up being mostly automatic for many changes. Ryan -- Ryan Pavlik HCI Graduate Student Virtual Reality Applications Center Iowa State University rpav...@iastate.edu http://academic.cleardefinition.com zip-changes-between Description: Binary data ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Please test svn/trunk in prep for OSG-3.0 branch tomorrow!
On Thu, Jun 16, 2011 at 7:05 PM, Jeremy Moles wrote: > Absolutely; though, rather than submit each modified file, will you take > an "svn diff" in this case? :) The ideal form of submissions for me is all the files in their respective directories - I have a merge script that just walks through each on a fires up xxdiff automatically. I would be nice to have a script that takes an svn diff output and then creates a package containing the complete files. I guess Cmake should be capable of doing this for us given a little script magic. Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Please test svn/trunk in prep for OSG-3.0 branch tomorrow!
On Thu, 2011-06-16 at 19:01 +0100, Robert Osfield wrote: > Hi Jeremy, > > On Thu, Jun 16, 2011 at 6:19 PM, Jeremy Moles wrote: > > Working great for me so far! (I update trunk every morning, usually...) > > I've been changes in through the day so good to svn update a little > more often now > we are approach the branch. > > > I've attached a file you may be interested in looking at. They're just > > warnings, but you may be interested nontheless. > > I'm working on some other warnings right now, feel free to address the > ones you've > found if you have time :-) Absolutely; though, rather than submit each modified file, will you take an "svn diff" in this case? :) > Robert. > ___ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Please test svn/trunk in prep for OSG-3.0 branch tomorrow!
Hi Jeremy, On Thu, Jun 16, 2011 at 6:19 PM, Jeremy Moles wrote: > Working great for me so far! (I update trunk every morning, usually...) I've been changes in through the day so good to svn update a little more often now we are approach the branch. > I've attached a file you may be interested in looking at. They're just > warnings, but you may be interested nontheless. I'm working on some other warnings right now, feel free to address the ones you've found if you have time :-) Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Please test svn/trunk in prep for OSG-3.0 branch tomorrow!
On Thu, 2011-06-16 at 17:38 +0100, Robert Osfield wrote: > Hi All, > > Through this week I've been tidying up the codebase and address a few > outstanding bugs, and getting mostly up to date with submissions, and > am now pretty comfortable about going for the 3.0 branch tomorrow. > Are the community as comfortable about this as I? One one way to > find out and that's to go test svn/trunk, so... > > Pretty, pretty please could as many of you as possible start testing > out svn/trunk? Send in your feedback positive or negative. > > This evening I might make one last dev release, and if things go OK > with testing out in the community create the OSG-3.0 branch. Once the > 3.0 branch is made I'll immeditately tag the first rc1, and then > through the weekend and first half of next week we can hammer the poor > source to nail those last release niggles. My aim will be to get > 3.0.0 out towards the end of next week. Working great for me so far! (I update trunk every morning, usually...) I've attached a file you may be interested in looking at. They're just warnings, but you may be interested nontheless. > Thanks in advance for your help, > Robert. > ___ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > src/osg/ShapeDrawable.cpp:1409:11: warning: variable ‘nzBase’ set but not used [-Wunused-but-set-variable] src/osg/ShapeDrawable.cpp:1410:11: warning: variable ‘nRatioBase’ set but not used [-Wunused-but-set-variable] src/osgUtil/DelaunayTriangulator.cpp:569:27: warning: variable ‘ptest’ set but not used [-Wunused-but-set-variable] src/osgUtil/DelaunayTriangulator.cpp:979:45: warning: variable ‘curp’ set but not used [-Wunused-but-set-variable] src/osgUtil/RenderStage.cpp:631:18: warning: variable ‘stencilAttached’ set but not used [-Wunused-but-set-variable] src/osgDB/ExternalFileWriter.cpp:241:31: warning: unused variable ‘SHADER_EXT’ [-Wunused-variable] src/osgGA/NodeTrackerManipulator.cpp:257:21: warning: variable ‘lookVector’ set but not used [-Wunused-but-set-variable] src/osgGA/NodeTrackerManipulator.cpp:259:21: warning: variable ‘upVector’ set but not used [-Wunused-but-set-variable] src/osgGA/TerrainManipulator.cpp:217:11: warning: variable ‘lookVector’ set but not used [-Wunused-but-set-variable] src/osgGA/TerrainManipulator.cpp:219:11: warning: variable ‘upVector’ set but not used [-Wunused-but-set-variable] src/osgText/FadeText.cpp:74:20: warning: variable ‘edge23’ set but not used [-Wunused-but-set-variable] src/osgText/FadeText.cpp:75:20: warning: variable ‘edge30’ set but not used [-Wunused-but-set-variable] src/osgText/Text.cpp:747:10: warning: variable ‘is_valid_size’ set but not used [-Wunused-but-set-variable] src/osgViewer/View.cpp:737:15: warning: variable ‘cursor’ set but not used [-Wunused-but-set-variable] src/osgViewer/View.cpp:1130:19: warning: variable ‘cursor’ set but not used [-Wunused-but-set-variable] src/osgViewer/View.cpp:1118:15: warning: variable ‘dx’ set but not used [-Wunused-but-set-variable] src/osgViewer/GraphicsWindowX11.cpp:1141:10: warning: variable ‘destroyWindowRequested’ set but not used [-Wunused-but-set-variable] src/osgParticle/FluidProgram.cpp:38:23: warning: variable ‘velBefore’ set but not used [-Wunused-but-set-variable] src/osgVolume/FixedFunctionTechnique.cpp:124:30: warning: variable ‘tf’ set but not used [-Wunused-but-set-variable] src/osgShadow/ParallelSplitShadowMap.cpp:593:22: warning: variable ‘bb’ set but not used [-Wunused-but-set-variable] src/osgTerrain/GeometryTechnique.cpp:777:12: warning: variable ‘i_sampleFactor’ set but not used [-Wunused-but-set-variable] src/osgWrappers/deprecated-dotosg/osg/Texture.cpp: In function ‘const char* Texture_getInternalFormatModeStr(osg::Texture::InternalFormatMode)’: src/osgWrappers/deprecated-dotosg/osg/Texture.cpp:380:11: warning: enumeration value ‘USE_PVRTC_2BPP_COMPRESSION’ not handled in switch [-Wswitch] src/osgWrappers/deprecated-dotosg/osg/Texture.cpp:380:11: warning: enumeration value ‘USE_PVRTC_4BPP_COMPRESSION’ not handled in switch [-Wswitch] src/osgWrappers/deprecated-dotosg/osg/Texture.cpp:380:11: warning: enumeration value ‘USE_ETC_COMPRESSION’ not handled in switch [-Wswitch] src/osgWrappers/deprecated-dotosg/osg/Texture.cpp:380:11: warning: enumeration value ‘USE_S3TC_DXT1c_COMPRESSION’ not handled in switch [-Wswitch] src/osgWrappers/deprecated-dotosg/osg/Texture.cpp:380:11: warning: enumeration value ‘USE_S3TC_DXT1a_COMPRESSION’ not handled in switch [-Wswitch] src/osgPlugins/ive/ShapeAttributeList.cpp:31:48: warning: variable ‘it’ set but not used [-Wunused-but-set-variable] src/osgPlugins/cfg/ConfigParser.cpp:2247:13: warning: variable ‘result’ set but not used [-Wunused-but-set-variable] src/osgPlugins/dds/ReaderWriterDDS.cpp:314:10: warning: variable ‘is3dImage’ set but not used [-Wunused-but-set-variable] src/osgP
[osg-users] Please test svn/trunk in prep for OSG-3.0 branch tomorrow!
Hi All, Through this week I've been tidying up the codebase and address a few outstanding bugs, and getting mostly up to date with submissions, and am now pretty comfortable about going for the 3.0 branch tomorrow. Are the community as comfortable about this as I? One one way to find out and that's to go test svn/trunk, so... Pretty, pretty please could as many of you as possible start testing out svn/trunk? Send in your feedback positive or negative. This evening I might make one last dev release, and if things go OK with testing out in the community create the OSG-3.0 branch. Once the 3.0 branch is made I'll immeditately tag the first rc1, and then through the weekend and first half of next week we can hammer the poor source to nail those last release niggles. My aim will be to get 3.0.0 out towards the end of next week. Thanks in advance for your help, Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org