<div dir="ltr">I suspect you are mixing debug and release builds.<div>Basic guess is that you build osg in release and are trying to run a debug build of your main application. Try a release or RelWithDebinfo build.</div><div>Regards, Laurens.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 19, 2018 at 9:33 PM, Mark Jablin <span dir="ltr"><<a href="mailto:jablin@bridgetech-laramie.com" target="_blank">jablin@bridgetech-laramie.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Robert,<br>
<br>
That doesn't solve the problem. <br>
<br>
My log file handler:<br>
<br>
<br>
Code:<br>
class LogFileHandler : public osg::NotifyHandler<br>
{<br>
public:<br>
   LogFileHandler(const std::string& file)<br>
   {<br>
      m_log.open(file.c_str());<br>
   }<br>
   virtual ~LogFileHandler() { m_log.close(); }<br>
   virtual void notify(osg::NotifySeverity severity,<br>
      const char* msg)<br>
   {<br>
      m_log << msg;<br>
   }<br>
protected:<br>
   std::ofstream m_log;<br>
};<br>
<br>
<br>
<br>
I took that out of OpenSceneGraph 3.0 Beginner's Guide.<br>
<br>
I'm using OSG 3.4.1.<br>
<br>
Thanks for your help.<br>
<span class=""><br>
Mark<br>
<br>
------------------<br>
Read this topic online here:<br>
</span><a href="http://forum.openscenegraph.org/viewtopic.php?p=73457#73457" rel="noreferrer" target="_blank">http://forum.openscenegraph.<wbr>org/viewtopic.php?p=73457#<wbr>73457</a><br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.<wbr>openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.<wbr>org/listinfo.cgi/osg-users-<wbr>openscenegraph.org</a><br>
</div></div></blockquote></div><br></div>