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

Robert Osfield robert.osfield at gmail.com
Tue Sep 13 10:44:20 PDT 2016


Hi Kyungsoo,

You'll need to track down why the Cmake find script for OpenThreads
didn't find it.  Any chance it's not installed.

FYI, During dev work I don't install, instead just point the lib and
bin paths (LD_LIBRARY_PATH and PATH)  and CMake to my OpenSceneGraph
directory using the OSG_DIR directory.  This allows CMake to handle
cases where you don't even install the OSG.  The Cmake scripts should
also be able to find the include and libs if you have installed them
in standard places.

Run ccmake and then have a look at the directories that CMake has
found for OpenThreads/OSG, this might give you a clue to what might be
amiss.

Robert.



Robert.

On 13 September 2016 at 18:38, kyungsoo hong <chesed71 at gmail.com> wrote:
> Hi,
>
> I tried with
> FIND_PACKAGE(OpenThreads)
> but it failed to find package.
>
> /etc/ld.so.conf.d/openscenegraph.conf already exist
> with "/usr/local/lib64"
>
> of course /usr/loca/lib64/ there are all so filese
>
>
>
>
> ...
>
> Thank you!
>
> Cheers,
> kyungsoo
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=68594#68594
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org



More information about the osg-users mailing list