[osg-users] invalid use of incomplete type ‘std::ifstream in readNodeFile

Robert Osfield robert.osfield at gmail.com
Tue Sep 13 06:32:41 PDT 2016

On 13 September 2016 at 13:10, kyungsoo hong <chesed71 at gmail.com> wrote:
> Hi, Robert
> Thanks for the concern,
> I built it by myself i didn't see any compilation error.
> if there was, even library wasn't created.

If the OSG is building and contains very similar usage to the snippet
you've posted then the difference has to be in the other code you have
in your application that is somehow causing the problem.  We can't
provide an asnwer at what this might be as you haven't posted all the
relevant code.

Without any actual code to go on my best guess is that something in
your include or define prior to including the OSG files is affecting
what happens in the OSG header.


More information about the osg-users mailing list