<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Hi Michael,<div><br></div><div>The portable way is to define a byte array. </div><div><br></div><div>See this stackoverflow for more detail: <a href="https://stackoverflow.com/questions/7288279/how-to-embed-a-file-into-an-executable">https://stackoverflow.com/questions/7288279/how-to-embed-a-file-into-an-executable</a><br><br><div id="AppleMailSignature" dir="ltr">Sent from my iPhone</div><div dir="ltr"><br>On Jan 21, 2019, at 4:02 AM, Michael Maurus <<a href="mailto:michael.maurus@web.de">michael.maurus@web.de</a>> wrote:<br><br></div><blockquote type="cite"><div dir="ltr"><span>Hi guys,</span><br><span></span><br><span>is it possible to somehow compile resources like models/nodes into an executable?</span><br><span>How about putting the content of an osgt file as a string into my source code?</span><br><span>But as far as I've seen, there is no readNodeFromString method in osgDB.</span><br><span></span><br><span>Any ideas/suggestions?</span><br><span></span><br><span>Thank you!</span><br><span></span><br><span>Cheers,</span><br><span>Michael</span><br><span></span><br><span>------------------</span><br><span>Read this topic online here:</span><br><span><a href="http://forum.openscenegraph.org/viewtopic.php?p=75519#75519">http://forum.openscenegraph.org/viewtopic.php?p=75519#75519</a></span><br><span></span><br><span></span><br><span></span><br><span></span><br><span></span><br><span>_______________________________________________</span><br><span>osg-users mailing list</span><br><span><a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.openscenegraph.org</a></span><br><span><a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a></span><br></div></blockquote></div></body></html>