[osg-users] [osgPlugins] osgjs failing to build in osg 3.5.1

Ben Woods woodsb02 at gmail.com
Thu Apr 21 13:20:55 PDT 2016


Hi,

I am trying to build openscenegraph 3.5.1 on FreeBSD (with clang 3.4.1 and cmake 3.5.2), but I am getting the following error:


> [ 92%] Building CXX object src/osgPlugins/osgjs/CMakeFiles/osgdb_osgjs.dir/Base64.o
> cd /wrkdirs/usr/ports/graphics/osg-devel/work/.build/src/osgPlugins/osgjs && /usr/bin/c++   -Dosgdb_osgjs_EXPORTS -I/wrkdirs/usr/ports/graphics/osg-devel/work/OpenSceneGraph-3.5.1/include -I/usr/local/include -I/wrkdirs/usr/ports/graphics/osg-devel/work/.build/include -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wparentheses -Wno-long-long -Wno-import -Wreturn-type -Wmissing-braces -Wunknown-pragmas -Wunused -Wno-overloaded-virtual -O2 -pipe -fstack-protector -fno-strict-aliasing -fPIC -o CMakeFiles/osgdb_osgjs.dir/Base64.o -c /wrkdirs/usr/ports/graphics/osg-devel/work/OpenSceneGraph-3.5.1/src/osgPlugins/osgjs/Base64.cpp
> c++ -O2 -pipe -fstack-protector -fno-strict-aliasing    -fstack-protector /wrkdirs/usr/ports/graphics/osg-devel/work/OpenSceneGraph-3.5.1/src/osgPlugins/osgjs/WriteVisitor.cpp  -o /wrkdirs/usr/ports/graphics/osg-devel/work/OpenSceneGraph-3.5.1/src/osgPlugins/osgjs/WriteVisitor
> In file included from /wrkdirs/usr/ports/graphics/osg-devel/work/OpenSceneGraph-3.5.1/src/osgPlugins/osgjs/WriteVisitor.cpp:1:
> /wrkdirs/usr/ports/graphics/osg-devel/work/OpenSceneGraph-3.5.1/src/osgPlugins/osgjs/WriteVisitor:5:10: fatal error: 'osg/Image' file not found
> #include <­osg/Image>
>          ^
> 1 error generated.
> *** Error code 1



Any ideas what the problem could be?

Thanks in advance,
Ben

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=66914#66914








More information about the osg-users mailing list