<div dir="ltr"><div>This is how I add the include folders of OSG on CMake<br><br>include_directories ( ${OPENSCENEGRAPH_INCLUDE_DIRS} )<br><br></div>is this correct?<br><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-07-11 12:51 GMT+01:00 Bruno Oliveira <span dir="ltr"><<a href="mailto:bruno.manata.oliveira@gmail.com" target="_blank">bruno.manata.oliveira@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I agree. However, somehow, using CMake, the include/osgDB folder got appended to the include path.... This did not happen previously<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2017-07-11 12:13 GMT+01:00 Voerman, L. <span dir="ltr"><<a href="mailto:l.voerman@rug.nl" target="_blank">l.voerman@rug.nl</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Bruno,<div>it's very uncommon to have subfolder of osg\include in your include path, like include\osgText.</div><div>The normal configuration has something like E:\dev\OpenSceneGraph\include in the project include path, and requests the use of the osgText\String with:</div><div>#include <osgText/String><br></div><div><br></div><div>this way there will be no confusion with the system string haeder files.</div><div>Regards, Laurens.</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_-2200405245838967408h5">On Tue, Jul 11, 2017 at 12:57 PM, Bruno Oliveira <span dir="ltr"><<a href="mailto:bruno.manata.oliveira@gmail.com" target="_blank">bruno.manata.oliveira@gmail.c<wbr>om</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_-2200405245838967408h5"><div dir="ltr"><div><div><div>Hello,<br><br></div>Windows is not case sentitive, hence, on MSVC 2015,<br><br></div>#include <string><br><br></div><div>is the same as <br><br></div><div>#include <String><br><br></div><div>For this reason, I am including <string> to get std::string definitions, but MSVC is include <String> from OSG.<br><br></div><div>Is there a way to fix this? I'm sure this has happened to more people.<br></div></div>
<br></div></div>______________________________<wbr>_________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph<wbr>.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.or<wbr>g/listinfo.cgi/osg-users-opens<wbr>cenegraph.org</a><br>
<br></blockquote></div><br></div>
<br>______________________________<wbr>_________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph<wbr>.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.or<wbr>g/listinfo.cgi/osg-users-opens<wbr>cenegraph.org</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>