<div dir="ltr"><font face="monospace, monospace">Hi,</font><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">I think there is a bug in osgViewer/View. It's related to the pointer reference of the ImagePager:</font></div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(147,161,161);background-color:rgb(1,43,54)">/tmp/OpenSceneGraph-3.5.1/include/osgViewer/View:130:91: <span style="color:rgb(255,81,45)">error: </span>member reference base type</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(147,161,161);background-color:rgb(1,43,54)"> 'const osg::ref_ptr<T> *' is not a structure or union</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(131,148,150);background-color:rgb(1,43,54)"> template<class T> void setImagePager(const osg::ref_ptr<T>* ip) { setImagePager(ip.get()); }</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(61,239,45);background-color:rgb(1,43,54)"> ~~^~~~</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(131,148,150);background-color:rgb(1,43,54)">1 error generated.</p><div><font face="monospace, monospace">Find a patch below, which resolves this.</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">Cheers</font></div><div><font face="monospace, monospace">Mario</font></div><div><font face="monospace, monospace"><br></font><div><font face="monospace, monospace">BEGIN</font></div><div><div><font face="monospace, monospace">--- a/View<span class="" style="white-space:pre"> </span>2015-11-26 11:37:57.000000000 +0100</font></div><div><font face="monospace, monospace">+++ b/View<span class="" style="white-space:pre"> </span>2015-11-26 11:38:53.000000000 +0100</font></div><div><font face="monospace, monospace">@@ -127,7 +127,7 @@</font></div><div><font face="monospace, monospace"> /** Set the View's image pager.*/</font></div><div><font face="monospace, monospace"> void setImagePager(osgDB::ImagePager* ip);</font></div><div><font face="monospace, monospace"> </font></div><div><font face="monospace, monospace">- template<class T> void setImagePager(const osg::ref_ptr<T>* ip) { setImagePager(ip.get()); }</font></div><div><font face="monospace, monospace">+ template<class T> void setImagePager(const osg::ref_ptr<T>& ip) { setImagePager(ip.get()); }</font></div><div><font face="monospace, monospace"> </font></div><div><font face="monospace, monospace"> /** Get the View's image pager.*/</font></div><div><font face="monospace, monospace"> osgDB::ImagePager* getImagePager();</font></div></div><div><font face="monospace, monospace">END</font></div></div></div>