<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;">
<p style="margin-top:0; margin-bottom:0"><span style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 13.3333px;">Hello, I am trying
 to upgrade some image generators and found that we can no longer compile our code.  In fact I cannot compile OSG 3.0.1 anymore.  Here is the error I getting:</span><br>
</p>
<p style="margin-top:0; margin-bottom:0"><span style="font-family:monospace"><span style="font-weight:bold"><br>
</span></span></p>
<p style="margin-top:0; margin-bottom:0"><span style="font-family:monospace"><span style="font-weight:bold"><br>
</span></span></p>
<p style="margin-top:0; margin-bottom:0"><span style="font-family:monospace"><span style="font-weight:bold">/data/oldproject/OpenSceneGraph/src/osg/State.cpp:</span> In constructor ‘<span style="font-weight:bold">osg::State::State()</span>’:
<br>
<span style="font-weight:bold">/data/<span style="font-family: monospace; font-size: 16px; font-weight: 700;">oldproject</span>/OpenSceneGraph/src/osg/State.cpp:112:26:</span>
<span style="font-weight:bold; color:rgb(255,84,84)">error: </span>cannot convert ‘<span style="font-weight:bold">bool</span>’ to ‘<span style="font-weight:bold">bool*</span>’ in assignment
<br>
    _abortRenderingPtr = <span style="font-weight:bold; color:rgb(255,84,84)">false</span>;
<br>
                         <span style="font-weight:bold; color:rgb(255,84,84)">^~~~~</span>
<br>
<span style="font-weight:bold">/data/<span style="font-family: monospace; font-size: 16px; font-weight: 700;">oldproject</span>/OpenSceneGraph/src/osg/State.cpp:</span> In member function ‘<span style="font-weight:bold">const osg::StateAttribute* osg::State::getLastAppliedTextureAttribute(unsigned
 int, osg::StateAttribute::Type, unsigned int) const</span>’: <br>
<span style="font-weight:bold">/data/<span style="font-family: monospace; font-size: 16px; font-weight: 700;">oldproject</span>/OpenSceneGraph/src/osg/State.cpp:692:55:</span>
<span style="font-weight:bold; color:rgb(255,84,84)">error: </span>cannot convert ‘<span style="font-weight:bold">bool</span>’ to ‘<span style="font-weight:bold">const osg::StateAttribute*</span>’ in return
<br>
    if (unit>=_textureAttributeMapList.size()) return <span style="font-weight:bold; color:rgb(255,84,84)">
false</span>; <br>
                                                      <span style="font-weight:bold; color:rgb(255,84,84)">^~~~~</span>
<br>
src/osg/CMakeFiles/osg.dir/build.make:2702: recipe for target 'src/osg/CMakeFiles/osg.dir/State.o' failed
<br>
make[2]: *** [src/osg/CMakeFiles/osg.dir/State.o] Error 1 <br>
CMakeFiles/Makefile2:300: recipe for target 'src/osg/CMakeFiles/osg.dir/all' failed
<br>
make[1]: *** [src/osg/CMakeFiles/osg.dir/all] Error 2 <br>
Makefile:129: recipe for target 'all' failed <br>
make: *** [all] Error 2<br>
<br>
</span><br>
</p>
<p style="margin-top:0; margin-bottom:0">We made an effort to upgrade our software to use the latest and greatest OSG but failed because of some low level code issues which we just don't understand.  We plan to do a tech refresh.  This is just a band aid to
 keep things usable.</p>
<div id="Signature">
<div class="BodyFragment"><font size="2"><span style="font-size:10pt">
<div class="PlainText"><br>
</div>
</span></font></div>
</div>
</div>
</body>
</html>