Robert Osfield wrote:
> HI Sid,
> 
> I've merged all the changes except the additions of #include <gmpxx.h>
> 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 
<cstring>" instead of "#include <gmpxx.h>". 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
<TRUNCATED>
/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*’
<TRUNCATED more "typedef" warnings>
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
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to