Discussion:
[osg-users] [forum] Unable to run example (QTCreator, CMake, Windows)
Dylan Webster
2018-10-31 23:04:47 UTC
Permalink
Hello,

I have built OSG on my Windows 10 machine and am now trying to run the
"osgCMakeExample" example with QTCreator and CMake. No luck! I've defined an environment variable "OSG_ROOT" at my install location, but I receive error messages for each library:

"Could NOT find osg (missing: OSG_LIBRARY)"

I get the equivalent message for each library. Anyone have any experience getting OSG to build via CMake in QTCreator?

Thanks,
Dylan

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=75160#75160
Robert Osfield
2018-11-02 08:30:04 UTC
Permalink
Hi Dylan,

Try using OSG_DIR to point to your install location.

Robert.
Post by Dylan Webster
Hello,
I have built OSG on my Windows 10 machine and am now trying to run the
"osgCMakeExample" example with QTCreator and CMake. No luck! I've defined
an environment variable "OSG_ROOT" at my install location, but I receive
"Could NOT find osg (missing: OSG_LIBRARY)"
I get the equivalent message for each library. Anyone have any experience
getting OSG to build via CMake in QTCreator?
Thanks,
Dylan
------------------
http://forum.openscenegraph.org/viewtopic.php?p=75160#75160
_______________________________________________
osg-users mailing list
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Loading...