[osg-users] svn and git versions builds fail
/usr/src/OSG/OpenSceneGraph/src/osgPlugins/gif/ReaderWriterGIF.cpp: In function ‘unsigned char* simage_gif_load(std::istream&, int*, int*, int*, GifImageStream**)’: /usr/src/OSG/OpenSceneGraph/src/osgPlugins/gif/ReaderWriterGIF.cpp:373:44: error: too few arguments to function ‘GifFileType* DGifOpen(void*, InputFunc, int*)’ In file included from /usr/src/OSG/OpenSceneGraph/src/osgPlugins/gif/ReaderWriterGIF.cpp:53:0: /usr/include/gif_lib.h:180:14: note: declared here make[2]: *** [src/osgPlugins/gif/CMakeFiles/osgdb_gif.dir/ReaderWriterGIF.o] Error 1 make[1]: *** [src/osgPlugins/gif/CMakeFiles/osgdb_gif.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs from /usr/include/gif_lib.h -- GifFileType *DGifOpenFileName(const char *GifFileName, int *Error); GifFileType *DGifOpenFileHandle(int GifFileHandle, int *Error); int DGifSlurp(GifFileType * GifFile); GifFileType *DGifOpen(void *userPtr, InputFunc readFunc, int *Error); /* new one (TVT) */ int DGifCloseFile(GifFileType * GifFile); Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Senior Staff Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Inconsistent errors whilst building OSG
On 21/11/12 20:04, osg-users-requ...@lists.openscenegraph.org wrote: Date: Wed, 21 Nov 2012 08:26:02 + From: Robert Osfield To:sbo...@blueyonder.co.uk,osg-users@lists.openscenegraph.org Subject: Re: [osg-users] Inconsistent errors whilst building OSG Message-ID: Content-Type: text/plain; charset="iso-8859-1" Hi Sid, It looks like the xinelib library headers have changed since 3.0.x was released. Robert. It seems that way. Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Senior Staff Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Inconsistent errors whilst building OSG
1. Inconsistent errors whilst building OSG (Sid Boyce) -- Message: 1 Date: Sun, 30 Sep 2012 11:58:25 +0100 From: Sid Boyce To: osg-users@lists.openscenegraph.org Subject: [osg-users] Inconsistent errors whilst building OSG Message-ID: <506825d1.4040...@blueyonder.co.uk> Content-Type: text/plain; charset=windows-1252; format=flowed Sometimes there are ffmpeg errors, other times deprecated warnings and errors. This has happened in 3.0.0 and 3.0.1 SVN sources. In builds going back a while, osg used to fetch the latest ffmepg sources. The error below is not about ffmpeg but I can download 3.0.1 SVN again and recreate that error. Just before this one I had lots of FFMPEG deprecated warnings and the error. The latest error:- Scanning dependencies of target osgdb_shp Linking CXX shared module ../../../lib/osgPlugins-3.0.1/osgdb_shp.so [ 90%] Built target osgdb_shp [ 90%] Built target osgdb_txf [ 91%] Built target osgdb_bsp [ 92%] Built target osgdb_mdl [ 93%] Built target osgdb_ply Scanning dependencies of target osgdb_txp Linking CXX shared module ../../../lib/osgPlugins-3.0.1/osgdb_txp.so [ 96%] Built target osgdb_txp [ 96%] Building C object src/osgPlugins/xine/CMakeFiles/osgdb_xine.dir/video_out_rgb.o /home/lancelot/ftp/SEP12/OSG301/OpenSceneGraph/src/osgPlugins/xine/video_out_rgb.c: In function ?rgbout_update_frame_format?: /home/lancelot/ftp/SEP12/OSG301/OpenSceneGraph/src/osgPlugins/xine/video_out_rgb.c:2325:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] /home/lancelot/ftp/SEP12/OSG301/OpenSceneGraph/src/osgPlugins/xine/video_out_rgb.c:2328:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] /home/lancelot/ftp/SEP12/OSG301/OpenSceneGraph/src/osgPlugins/xine/video_out_rgb.c:2331:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] /home/lancelot/ftp/SEP12/OSG301/OpenSceneGraph/src/osgPlugins/xine/video_out_rgb.c:2349:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] /home/lancelot/ftp/SEP12/OSG301/OpenSceneGraph/src/osgPlugins/xine/video_out_rgb.c: In function ?init_class?: /home/lancelot/ftp/SEP12/OSG301/OpenSceneGraph/src/osgPlugins/xine/video_out_rgb.c:2772:25: error: ?video_driver_class_t? has no member named ?get_identifier? /home/lancelot/ftp/SEP12/OSG301/OpenSceneGraph/src/osgPlugins/xine/video_out_rgb.c:2773:25: error: ?video_driver_class_t? has no member named ?get_description? make[2]: *** [src/osgPlugins/xine/CMakeFiles/osgdb_xine.dir/video_out_rgb.o] Error 1 make[1]: *** [src/osgPlugins/xine/CMakeFiles/osgdb_xine.dir/all] Error 2 make: *** [all] Error 2 Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Senior Staff Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks -- ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org End of osg-users Digest, Vol 63, Issue 45 * ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] ffmpeg version to use ??? (Alberto Luaces)
On 13/11/12 20:04, osg-users-requ...@lists.openscenegraph.org wrote: Carlos Sanches writes: >Hello ! >I d like to know what version of ffmpeg I have to use to compile osg 3.0.1? in linux ? >Thanks Hi, OSG 3.0.1 and ffmpeg 0.8.4 work with this tiny patch: https://alioth.debian.org/scm/browser.php?group_id=100578 or you could just upgrade to the latest development version of OSG, where it is already applied. -- Alberto With the latest svn checkout of 3.0.1. Scanning dependencies of target osgdb_xine [ 43%] Building C object src/osgPlugins/xine/CMakeFiles/osgdb_xine.dir/video_out_rgb.o /home/lancelot/ftp/NOV12/OpenSceneGraph/src/osgPlugins/xine/video_out_rgb.c: In function ‘rgbout_update_frame_format’: /home/lancelot/ftp/NOV12/OpenSceneGraph/src/osgPlugins/xine/video_out_rgb.c:2325:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] /home/lancelot/ftp/NOV12/OpenSceneGraph/src/osgPlugins/xine/video_out_rgb.c:2328:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] /home/lancelot/ftp/NOV12/OpenSceneGraph/src/osgPlugins/xine/video_out_rgb.c:2331:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] /home/lancelot/ftp/NOV12/OpenSceneGraph/src/osgPlugins/xine/video_out_rgb.c:2349:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] /home/lancelot/ftp/NOV12/OpenSceneGraph/src/osgPlugins/xine/video_out_rgb.c: In function ‘init_class’: /home/lancelot/ftp/NOV12/OpenSceneGraph/src/osgPlugins/xine/video_out_rgb.c:2772:25: error: ‘video_driver_class_t’ has no member named ‘get_identifier’ /home/lancelot/ftp/NOV12/OpenSceneGraph/src/osgPlugins/xine/video_out_rgb.c:2773:25: error: ‘video_driver_class_t’ has no member named ‘get_description’ make[2]: *** [src/osgPlugins/xine/CMakeFiles/osgdb_xine.dir/video_out_rgb.o] Error 1 make[1]: *** [src/osgPlugins/xine/CMakeFiles/osgdb_xine.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Senior Staff Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Inconsistent errors whilst building OSG
Sometimes there are ffmpeg errors, other times deprecated warnings and errors. This has happened in 3.0.0 and 3.0.1 SVN sources. In builds going back a while, osg used to fetch the latest ffmepg sources. The error below is not about ffmpeg but I can download 3.0.1 SVN again and recreate that error. Just before this one I had lots of FFMPEG deprecated warnings and the error. The latest error:- Scanning dependencies of target osgdb_shp Linking CXX shared module ../../../lib/osgPlugins-3.0.1/osgdb_shp.so [ 90%] Built target osgdb_shp [ 90%] Built target osgdb_txf [ 91%] Built target osgdb_bsp [ 92%] Built target osgdb_mdl [ 93%] Built target osgdb_ply Scanning dependencies of target osgdb_txp Linking CXX shared module ../../../lib/osgPlugins-3.0.1/osgdb_txp.so [ 96%] Built target osgdb_txp [ 96%] Building C object src/osgPlugins/xine/CMakeFiles/osgdb_xine.dir/video_out_rgb.o /home/lancelot/ftp/SEP12/OSG301/OpenSceneGraph/src/osgPlugins/xine/video_out_rgb.c: In function ‘rgbout_update_frame_format’: /home/lancelot/ftp/SEP12/OSG301/OpenSceneGraph/src/osgPlugins/xine/video_out_rgb.c:2325:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] /home/lancelot/ftp/SEP12/OSG301/OpenSceneGraph/src/osgPlugins/xine/video_out_rgb.c:2328:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] /home/lancelot/ftp/SEP12/OSG301/OpenSceneGraph/src/osgPlugins/xine/video_out_rgb.c:2331:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] /home/lancelot/ftp/SEP12/OSG301/OpenSceneGraph/src/osgPlugins/xine/video_out_rgb.c:2349:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] /home/lancelot/ftp/SEP12/OSG301/OpenSceneGraph/src/osgPlugins/xine/video_out_rgb.c: In function ‘init_class’: /home/lancelot/ftp/SEP12/OSG301/OpenSceneGraph/src/osgPlugins/xine/video_out_rgb.c:2772:25: error: ‘video_driver_class_t’ has no member named ‘get_identifier’ /home/lancelot/ftp/SEP12/OSG301/OpenSceneGraph/src/osgPlugins/xine/video_out_rgb.c:2773:25: error: ‘video_driver_class_t’ has no member named ‘get_description’ make[2]: *** [src/osgPlugins/xine/CMakeFiles/osgdb_xine.dir/video_out_rgb.o] Error 1 make[1]: *** [src/osgPlugins/xine/CMakeFiles/osgdb_xine.dir/all] Error 2 make: *** [all] Error 2 Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Senior Staff Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] ffmpeg problem.
There is a problem building openscenegraph against the latest ffmpeg-0.8. /home/lancelot/ftp/jun11/OSG/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:81:106: warning: ‘int av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, AVFormatParameters*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1110) [-Wdeprecated-declarations] /home/lancelot/ftp/jun11/OSG/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:88:26: error: ‘AVERROR_IO’ was not declared in this scope /home/lancelot/ftp/jun11/OSG/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:89:26: error: ‘AVERROR_NUMEXPECTED’ was not declared in this scope /home/lancelot/ftp/jun11/OSG/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:91:26: error: ‘AVERROR_NOMEM’ was not declared in this scope /home/lancelot/ftp/jun11/OSG/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:92:26: error: ‘AVERROR_NOFMT’ was not declared in this scope /home/lancelot/ftp/jun11/OSG/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:93:26: error: ‘AVERROR_NOTSUPP’ was not declared in this scope /home/lancelot/ftp/jun11/OSG/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:94:26: error: ‘AVERROR_NOENT’ was not declared in this scope /home/lancelot/ftp/jun11/OSG/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:106:17: warning: ‘int av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, AVFormatParameters*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1110) [-Wdeprecated-declarations] /home/lancelot/ftp/jun11/OSG/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:106:96: warning: ‘int av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, AVFormatParameters*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1110) [-Wdeprecated-declarations] /home/lancelot/ftp/jun11/OSG/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:123:9: warning: ‘void dump_format(AVFormatContext*, int, const char*, int)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1597) [-Wdeprecated-declarations] /home/lancelot/ftp/jun11/OSG/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:123:65: warning: ‘void dump_format(AVFormatContext*, int, const char*, int)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1597) [-Wdeprecated-declarations] /home/lancelot/ftp/jun11/OSG/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp: In member function ‘void osgFFmpeg::FFmpegDecoder::findAudioStream()’: /home/lancelot/ftp/jun11/OSG/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:223:64: error: ‘CODEC_TYPE_AUDIO’ was not declared in this scope /home/lancelot/ftp/jun11/OSG/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp: In member function ‘void osgFFmpeg::FFmpegDecoder::findVideoStream()’: /home/lancelot/ftp/jun11/OSG/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:241:64: error: ‘CODEC_TYPE_VIDEO’ was not declared in this scope /home/lancelot/ftp/jun11/OSG/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp: In member function ‘bool osgFFmpeg::FFmpegDecoder::readNextPacketNormal()’: /home/lancelot/ftp/jun11/OSG/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:281:17: warning: ‘int url_ferror(AVIOContext*)’ is deprecated (declared at /usr/include/libavformat/avio.h:298) [-Wdeprecated-declarations] /home/lancelot/ftp/jun11/OSG/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:281:48: warning: ‘int url_ferror(AVIOContext*)’ is deprecated (declared at /usr/include/libavformat/avio.h:298) [-Wdeprecated-declarations] make[2]: *** [src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/FFmpegDecoder.o] Error 1 make[1]: *** [src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/all] Error 2 make: *** [all] Error 2 slipstream:/home/lancelot/ftp/jun11/OSG/OpenSceneGraph # svn info Path: . URL: http://www.openscenegraph.org/svn/osg/OpenSceneGraph/tags/OpenSceneGraph-3.0.0-rc3 Repository Root: http://www.openscenegraph.org/svn/osg Repository UUID: 16af8721-9629-0410-8352-f15c8da7e697 Revision: 12702 Node Kind: directory Schedule: normal Last Changed Author: robert Last Changed Rev: 12604 Last Changed Date: 2011-06-22 17:36:14 +0100 (Wed, 22 Jun 2011) Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Senior Staff Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] Can't build osg 2.8.3 on 64-bit Linux - which files to change ?
Hi, On openSUSE "zypper in librsvg-devel" is what you need. # rpm -qf /usr/include/librsvg-2.0/librsvg/rsvg.h librsvg-devel-2.34.0-2.1.x86_64 ... Thank you! Cheers, Sid -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=39254#39254 ___ 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 of OpenSceneGraph in pre for 2.3.1 dev release
Robert Osfield wrote: > HI Sid, > > I've merged all the changes except the additions of #include > as this break the build even on my Kubuntu 7.10 install, so chances > are that it'll break practically everywhere else as well. > > Could you post what errors the above addition fixed? We should be > able to come up with a more portable replacement. > > Cheers, > Robert. > With the latest SVN I got these 2 errors for which I used "#include " instead of "#include ". Otherwise it built OK except for a bunch of "typedef" warnings. [ 19%] Building CXX object src/osgDB/CMakeFiles/osgDB.dir/FileNameUtils.o /ftp/dec07/OpenSceneGraph/src/osgDB/FileNameUtils.cpp:29: error: ‘std::strlen’ has not been declared make[2]: *** [src/osgDB/CMakeFiles/osgDB.dir/FileNameUtils.o] Error 1 make[1]: *** [src/osgDB/CMakeFiles/osgDB.dir/all] Error 2 make: *** [all] Error 2 [ 19%] Building CXX object src/osgDB/CMakeFiles/osgDB.dir/Registry.o /ftp/dec07/OpenSceneGraph/src/osgDB/Registry.cpp:38: error: ‘std::strlen’ has not been declared make[2]: *** [src/osgDB/CMakeFiles/osgDB.dir/Registry.o] Error 1 make[1]: *** [src/osgDB/CMakeFiles/osgDB.dir/all] Error 2 make: *** [all] Error 2 [ 92%] Building CXX object src/osgPlugins/txp/CMakeFiles/osgdb_txp.dir/ReaderWriterTXP.o In file included from /ftp/dec07/OpenSceneGraph/src/osgPlugins/txp/trpage_read.h:26, from /ftp/dec07/OpenSceneGraph/src/osgPlugins/txp/TXPArchive.h:38, from /ftp/dec07/OpenSceneGraph/src/osgPlugins/txp/ReaderWriterTXP.h:49, from /ftp/dec07/OpenSceneGraph/src/osgPlugins/txp/ReaderWriterTXP.cpp:13: /ftp/dec07/OpenSceneGraph/src/osgPlugins/txp/trpage_geom.h:608: warning: ‘typedef’ was ignored in this declaration /ftp/dec07/OpenSceneGraph/src/osgPlugins/txp/trpage_geom.h:619: warning: ‘typedef’ was ignored in this declaration /ftp/dec07/OpenSceneGraph/src/osgPlugins/txp/trpage_geom.h:628: warning: ‘typedef’ was ignored in this declaration [ 93%] Building CXX object src/osgPlugins/txp/CMakeFiles/osgdb_txp.dir/TileMapper.o In file included from /ftp/dec07/OpenSceneGraph/src/osgPlugins/txp/trpage_read.h:26, from /ftp/dec07/OpenSceneGraph/src/osgPlugins/txp/TileMapper.h:18, from /ftp/dec07/OpenSceneGraph/src/osgPlugins/txp/TileMapper.cpp:14: /ftp/dec07/OpenSceneGraph/src/osgPlugins/txp/trpage_geom.h:608: warning: ‘typedef’ was ignored in this declaration /ftp/dec07/OpenSceneGraph/src/osgPlugins/txp/trpage_geom.h:619: warning: ‘typedef’ was ignored in this declaration /ftp/dec07/OpenSceneGraph/src/osgPlugins/txp/trpage_geom.h:608: warning: ‘typedef’ was ignored in this declaration /ftp/dec07/OpenSceneGraph/src/osgPlugins/txp/trpage_geom.h:619: warning: ‘typedef’ was ignored in this declaration /ftp/dec07/OpenSceneGraph/src/osgPlugins/txp/trpage_geom.h:628: warning: ‘typedef’ was ignored in this declaration /ftp/dec07/OpenSceneGraph/src/osgPlugins/txp/trpage_managers.cpp: In member function ‘virtual void trpgPageManager::LodPageInfo::Print(trpgPrintBuffer&)’: /ftp/dec07/OpenSceneGraph/src/osgPlugins/txp/trpage_managers.cpp:725: warning: deprecated conversion from string constant to ‘char*’ /ftp/dec07/OpenSceneGraph/src/osgPlugins/txp/trpage_managers.cpp: In member function ‘virtual void trpgPageManager::Print(trpgPrintBuffer&)’: /ftp/dec07/OpenSceneGraph/src/osgPlugins/txp/trpage_managers.cpp:1005: warning: deprecated conversion from string constant to ‘char*’ /ftp/dec07/OpenSceneGraph/src/osgPlugins/txp/trpage_managers.cpp: In member function ‘void trpgPageManageTester::ProcessChanges()’: /ftp/dec07/OpenSceneGraph/src/osgPlugins/txp/trpage_managers.cpp:1171: warning: deprecated conversion from string constant to ‘char*’ /ftp/dec07/OpenSceneGraph/src/osgPlugins/txp/trpage_managers.cpp:1182: warning: deprecated conversion from string constant to ‘char*’ Regards Sid. > On Dec 22, 2007 5:24 PM, Sid Boyce <[EMAIL PROTECTED]> wrote: >> Robert Osfield wrote: >>> Hi Sid, >>> >>> Could you post me those changes so I can review them and get fixes into SVN. >>> >>> Cheers, >>> Robert. >>> >> See attached file. >> Regards >> Sid. >> >>> On Dec 22, 2007 7:49 AM, Sid Boyce <[EMAIL PROTECTED]> wrote: >>>> With openSUSE 11.0 (X86-64) Alpha0 gcc version 4.3.0 20071129 >>>> (experimental) [trunk revision 130511] (SUSE Linux) >>>> I have had to insert header files in various places in order to get it >>>> to build. Most missing ones were string.h and stdlib.h, also gmpxx.h, >>>> values.h, memory. >>>> Regards >>>> Sid. >>>> >>>> -- -- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks ___ 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 of OpenSceneGraph in pre for 2.3.1 dev release
Robert Osfield wrote: > HI Sid, > > I've merged all the changes except the additions of #include > as this break the build even on my Kubuntu 7.10 install, so chances > are that it'll break practically everywhere else as well. > > Could you post what errors the above addition fixed? We should be > able to come up with a more portable replacement. > > Cheers, > Robert. > > On Dec 22, 2007 5:24 PM, Sid Boyce <[EMAIL PROTECTED]> wrote: >> Robert Osfield wrote: >>> Hi Sid, >>> >>> Could you post me those changes so I can review them and get fixes into SVN. >>> >>> Cheers, >>> Robert. >>> >> See attached file. >> Regards >> Sid. >> >>> On Dec 22, 2007 7:49 AM, Sid Boyce <[EMAIL PROTECTED]> wrote: >>>> With openSUSE 11.0 (X86-64) Alpha0 gcc version 4.3.0 20071129 >>>> (experimental) [trunk revision 130511] (SUSE Linux) >>>> I have had to insert header files in various places in order to get it >>>> to build. Most missing ones were string.h and stdlib.h, also gmpxx.h, >>>> values.h, memory. >>>> Regards >>>> Sid. >>>> >>>> -- AOK. I have been looking at gmpxx.h which led me to /usr/include/c++/4.3/cstring which is interesting. // ISO C++ 14882: 20.4.6 C library // #pragma GCC system_header #include #include #include_next #ifndef _GLIBCXX_CSTRING #define _GLIBCXX_CSTRING 1 // Get rid of those macros defined in in lieu of real functions. #undef memchr #undef memcmp #undef memcpy #undef memmove #undef memset #undef strcat #undef strchr #undef strcmp #undef strcoll #undef strcpy #undef strcspn #undef strerror #undef strlen #undef strncat #undef strncmp #undef strncpy #undef strpbrk #undef strrchr #undef strspn #undef strstr #undef strtok #undef strxfrm _GLIBCXX_BEGIN_NAMESPACE(std) using ::memchr; using ::memcmp; using ::memcpy; using ::memmove; using ::memset; using ::strcat; using ::strcmp; using ::strcoll; using ::strcpy; using ::strcspn; using ::strerror; using ::strlen; using ::strncat; using ::strncmp; using ::strncpy; using ::strspn; using ::strtok; using ::strxfrm; inline void* memchr(void* __p, int __c, size_t __n) { return memchr(const_cast(__p), __c, __n); } using ::strchr; inline char* strchr(char* __s1, int __n) { return __builtin_strchr(const_cast(__s1), __n); } using ::strpbrk; inline char* strpbrk(char* __s1, const char* __s2) { return __builtin_strpbrk(const_cast(__s1), __s2); } using ::strrchr; inline char* strrchr(char* __s1, int __n) { return __builtin_strrchr(const_cast(__s1), __n); } using ::strstr; inline char* strstr(char* __s1, const char* __s2) { return __builtin_strstr(const_cast(__s1), __s2); } _GLIBCXX_END_NAMESPACE #endif Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks ___ 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 of OpenSceneGraph in pre for 2.3.1 dev release
Robert Osfield wrote: Hi Sid, Could you post me those changes so I can review them and get fixes into SVN. Cheers, Robert. See attached file. Regards Sid. On Dec 22, 2007 7:49 AM, Sid Boyce <[EMAIL PROTECTED]> wrote: With openSUSE 11.0 (X86-64) Alpha0 gcc version 4.3.0 20071129 (experimental) [trunk revision 130511] (SUSE Linux) I have had to insert header files in various places in order to get it to build. Most missing ones were string.h and stdlib.h, also gmpxx.h, values.h, memory. Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks osg_svn_includes.diff.gz Description: GNU Zip compressed 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 of OpenSceneGraph in pre for 2.3.1 dev release
With openSUSE 11.0 (X86-64) Alpha0 gcc version 4.3.0 20071129 (experimental) [trunk revision 130511] (SUSE Linux) I have had to insert header files in various places in order to get it to build. Most missing ones were string.h and stdlib.h, also gmpxx.h, values.h, memory. Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osg-users Digest, Vol 6, Issue 58
[EMAIL PROTECTED] wrote: > Message: 1 > Date: Fri, 21 Dec 2007 14:48:59 + > From: "Robert Osfield" <[EMAIL PROTECTED]> > Subject: [osg-users] FlightGear hits 1.0! > To: "OpenSceneGraph Users" > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1 > > Just came across the following article on the FlightGear's 1.0 release: > >http://freegamer.blogspot.com/2007/12/flightgear-100-released.html > > I wish to pass on my heart felt congratulation to all the engineers > behind FlightGear. Getting a project to 1.0 is hard work, just in > time for Christmas too :-) > > For those who don't know, FlightGear was ported over to use the OSG as > its scene graph around a year ago, and since then the OSG itself has > benefited virtue of contributors to FligthGear also contributing > various improvements and bug fixes to the OSG. > > Well done guys!! > > Robert. > Quite an achievement and I must also say well done. I didn't know 1.0.0 was imminent, so it was a surprise. I didn't see it trumpeted on the FlightGear mailing list either, I picked it up in someone's posting. I got a clean build using the osg that I built on Monday by wading through and adding missing header files. It runs well and with the latest 169.07 NVidia driver. Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osg build errors
Robert Osfield wrote: > Hi Sid, > > On Dec 9, 2007 10:51 PM, Sid Boyce <[EMAIL PROTECTED]> wrote: >> Recently subscribed to this list, perhaps this is one more appropriate >> to the developers list. > > There is no separate developers list, we're all user-developers ;-) > >> 'void osg::Image::flipHorizontal()': >> /ftp/dec07/OSG/OpenSceneGraph/src/osg/Image.cpp:940: error: 'memcpy' was >> not declared in this scope >> make[2]: *** [src/osg/CMakeFiles/osg.dir/Image.o] Error 1 >> make[1]: *** [src/osg/CMakeFiles/osg.dir/all] Error 2 >> make: *** [all] Error 2 >> >> Looks like this is a problem associated with the version of gcc in openSUSE. >> OpenSceneGraph SVN At revision 7639, also 2.2.0 and up to the latest level. >> Regards > > I've got 4.1.3 installed on my Kubuntu system so haven't seen these > errors pop up. My guess is that there might well be quite a few of > these types of errors if you've already found two in the core osg. > I've added string.h to both DisplaySettings.cpp and Image.cpp which > should fix these errors, but my guess more will follow along behind, > please just post them, or even better patched files to the > osg-submissions list. > > Robert. > > Looks very much like changes to gcc-4.2.x. I also had to add malloc.h to Image.cpp, then it moves on to: /ftp/dec07/OSG/OpenSceneGraph/src/osg/Notify.cpp: In function ‘bool osg::initNotifyLevel()’: /ftp/dec07/OSG/OpenSceneGraph/src/osg/Notify.cpp:47: error: ‘getenv’ was not declared in this scope make[2]: *** [src/osg/CMakeFiles/osg.dir/Notify.o] Error 1 make[1]: *** [src/osg/CMakeFiles/osg.dir/all] Error 2 make: *** [all] Error 2 Fixed by adding stdlib.h to Notify.cpp, then it moves on to src/osgDB/Field.cpp files with what seems similar errors. I shall plough through find/fix and see if it's successful. Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] osg build errors
Recently subscribed to this list, perhaps this is one more appropriate to the developers list. # cat /etc/SuSE-release openSUSE 11.0 (X86-64) Alpha0 VERSION = 11.0 # gcc -v Using built-in specs. Target: x86_64-suse-linux Configured with: ../configure --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.3 --enable-ssp --disable-libssp --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --program-suffix=-4.3 --enable-version-specific-runtime-libs --without-system-libunwind --with-cpu=generic --build=x86_64-suse-linux Thread model: posix gcc version 4.3.0 20071129 (experimental) [trunk revision 130511] (SUSE Linux) # make [ 0%] Built target OpenThreads [ 0%] Building CXX object src/osg/CMakeFiles/osg.dir/DisplaySettings.o /ftp/dec07/OSG/OpenSceneGraph/src/osg/DisplaySettings.cpp: In member function ‘void osg::DisplaySettings::readEnvironmentalVariables()’: /ftp/dec07/OSG/OpenSceneGraph/src/osg/DisplaySettings.cpp:178: error: ‘strcmp’ was not declared in this scope /ftp/dec07/OSG/OpenSceneGraph/src/osg/DisplaySettings.cpp:201: error: ‘strcmp’ was not declared in this scope /ftp/dec07/OSG/OpenSceneGraph/src/osg/DisplaySettings.cpp:241: error: ‘strcmp’ was not declared in this scope /ftp/dec07/OSG/OpenSceneGraph/src/osg/DisplaySettings.cpp:274: error: ‘strcmp’ was not declared in this scope /ftp/dec07/OSG/OpenSceneGraph/src/osg/DisplaySettings.cpp:293: error: ‘strcmp’ was not declared in this scope /ftp/dec07/OSG/OpenSceneGraph/src/osg/DisplaySettings.cpp:306: error: ‘strcmp’ was not declared in this scope /ftp/dec07/OSG/OpenSceneGraph/src/osg/DisplaySettings.cpp:329: error: ‘strcmp’ was not declared in this scope /ftp/dec07/OSG/OpenSceneGraph/src/osg/DisplaySettings.cpp:342: error: ‘strcmp’ was not declared in this scope make[2]: *** [src/osg/CMakeFiles/osg.dir/DisplaySettings.o] Error 1 make[1]: *** [src/osg/CMakeFiles/osg.dir/all] Error 2 make: *** [all] Error 2 I added "#include " to DisplaySettings.cpp and got the following error. # make [ 0%] Built target OpenThreads Scanning dependencies of target osg [ 0%] Building CXX object src/osg/CMakeFiles/osg.dir/DisplaySettings.o [ 0%] Building CXX object src/osg/CMakeFiles/osg.dir/DrawPixels.o [ 1%] Building CXX object src/osg/CMakeFiles/osg.dir/Drawable.o [ 1%] Building CXX object src/osg/CMakeFiles/osg.dir/Fog.o [ 1%] Building CXX object src/osg/CMakeFiles/osg.dir/FragmentProgram.o [ 1%] Building CXX object src/osg/CMakeFiles/osg.dir/FrameBufferObject.o [ 1%] Building CXX object src/osg/CMakeFiles/osg.dir/FrameStamp.o [ 1%] Building CXX object src/osg/CMakeFiles/osg.dir/FrontFace.o [ 1%] Building CXX object src/osg/CMakeFiles/osg.dir/GLExtensions.o [ 1%] Building CXX object src/osg/CMakeFiles/osg.dir/GLObjects.o [ 1%] Building CXX object src/osg/CMakeFiles/osg.dir/Geode.o [ 1%] Building CXX object src/osg/CMakeFiles/osg.dir/Geometry.o [ 2%] Building CXX object src/osg/CMakeFiles/osg.dir/GraphicsContext.o [ 2%] Building CXX object src/osg/CMakeFiles/osg.dir/GraphicsThread.o [ 2%] Building CXX object src/osg/CMakeFiles/osg.dir/Group.o [ 2%] Building CXX object src/osg/CMakeFiles/osg.dir/Hint.o [ 2%] Building CXX object src/osg/CMakeFiles/osg.dir/Image.o /ftp/dec07/OSG/OpenSceneGraph/src/osg/Image.cpp: In copy constructor ‘osg::Image::Image(const osg::Image&, const osg::CopyOp&)’: /ftp/dec07/OSG/OpenSceneGraph/src/osg/Image.cpp:68: error: ‘memcpy’ was not declared in this scope /ftp/dec07/OSG/OpenSceneGraph/src/osg/Image.cpp: In member function ‘void osg::Image::deallocateData()’: /ftp/dec07/OSG/OpenSceneGraph/src/osg/Image.cpp:82: error: ‘::free’ has not been declared /ftp/dec07/OSG/OpenSceneGraph/src/osg/Image.cpp: In member function ‘void osg::Image::flipHorizontal()’: /ftp/dec07/OSG/OpenSceneGraph/src/osg/Image.cpp:940: error: ‘memcpy’ was not declared in this scope make[2]: *** [src/osg/CMakeFiles/osg.dir/Image.o] Error 1 make[1]: *** [src/osg/CMakeFiles/osg.dir/all] Error 2 make: *** [all] Error 2 Looks like this is a problem associated with the version of gcc in openSUSE. OpenSceneGraph SVN At revision 7639, also 2.2.0 and up to the latest level. Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org