The latest 2.8 branch SVN code builds cleanly on Ubuntu 11.04 x64, with
everything I can enable enabled.

Ryan

On Wed, Jun 1, 2011 at 2:47 PM, Paul Martz <pma...@skew-matrix.com> wrote:

> Thanks, Robert. The person who submitted the backport used new functions
> from FileNameUtils (rather than update that header), and clearly missed some
> of the necessary #includes.
>   -Paul
>
>
>
> On 6/1/2011 3:27 AM, Robert Osfield wrote:
>
>> Hi Paul,
>>
>> I have just done a build of 2.9.5-rc2 and get a build error:
>>
>>  46%] Building CXX object
>> src/osgPlugins/lwo/CMakeFiles/osgdb_lwo.dir/Unit.o
>>
>> /home/robert/temp/OpenSceneGraph-2.8.5-rc2/src/osgPlugins/3ds/WriterNodeVisitor.cpp:
>> In member function ‘std::string
>> plugin3ds::WriterNodeVisitor::getUniqueName(const std::string&, bool,
>> const std::string&, int)’:
>>
>> /home/robert/temp/OpenSceneGraph-2.8.5-rc2/src/osgPlugins/3ds/WriterNodeVisitor.cpp:759:19:
>> error: ‘UINT_MAX’ was not declared in this scope
>>
>> This can be fixed by adding an #include<limits.h>:
>>
>> Index: WriterNodeVisitor.cpp
>> ===================================================================
>> --- WriterNodeVisitor.cpp       (revision 12475)
>> +++ WriterNodeVisitor.cpp       (working copy)
>> @@ -28,6 +28,7 @@
>>  #include "WriterNodeVisitor.h"
>>  #include<assert.h>
>>  #include<string.h>
>> +#include<limits.h>
>>
>>  void copyOsgMatrixToLib3dsMatrix(Lib3dsMatrix lib3ds_matrix, const
>> osg::Matrix&  osg_matrix)
>>  {
>>
>> Modified src/osgPlugions/3ds/WriteNodeVisitor.cpp file attached.
>>
>> I can check this change into the 2.8 branch if you wish.
>>
>> Robert.
>>
>>
>>
>> _______________________________________________
>> osg-users mailing list
>> osg-users@lists.openscenegraph.org
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
>
>
> --
>  -Paul Martz      Skew Matrix Software
>                   http://www.skew-matrix.com/
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



-- 
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

Reply via email to