Hi again, I should have posted the whole compilation error in the previous post. Here it goes:
Code: sajjad@sajjad-G74Sx:~/Downloads/OpenSceneGraph/osgCompute/osgCompute$ make [ 15%] Built target osgCompute [ 25%] Built target osgCuda [ 32%] Built target osgCudaUtil [ 55%] Built target osgdb_serializers_osgCuda [ 57%] Built target osgCudaStats [ 60%] Built target osgCudaInit [ 62%] Building CXX object src/osgOpenCL/CMakeFiles/osgOpenCL.dir/osgOpenCLContext.cpp.o In file included from /home/sajjad/Downloads/OpenSceneGraph/osgCompute/osgCompute/src/osgOpenCL/osgOpenCLContext.cpp:10:0: /home/sajjad/Downloads/OpenSceneGraph/osgCompute/osgCompute/include/osgOpenCL/osgOpenCLContext:23:16: error: ‘osgOpenCL’ is not a type /home/sajjad/Downloads/OpenSceneGraph/osgCompute/osgCompute/include/osgOpenCL/osgOpenCLContext:23:42: error: ISO C++ forbids declaration of ‘META_OBJECT’ with no type [-fpermissive] /home/sajjad/Downloads/OpenSceneGraph/osgCompute/osgCompute/include/osgOpenCL/osgOpenCLContext:23:4: error: cannot declare parameter ‘<anonymous>’ to be of abstract type ‘osgOpenCL::osgOpenCLContext’ /home/sajjad/Downloads/OpenSceneGraph/osgCompute/osgCompute/include/osgOpenCL/osgOpenCLContext:18:23: note: because the following virtual functions are pure within ‘osgOpenCL::osgOpenCLContext’: /usr/local/include/osg/Object:71:25: note: virtual osg::Object* osg::Object::cloneType() const /usr/local/include/osg/Object:75:25: note: virtual osg::Object* osg::Object::clone(const osg::CopyOp&) const /usr/local/include/osg/Object:82:29: note: virtual const char* osg::Object::libraryName() const /usr/local/include/osg/Object:86:29: note: virtual const char* osg::Object::className() const /home/sajjad/Downloads/OpenSceneGraph/osgCompute/osgCompute/src/osgOpenCL/osgOpenCLContext.cpp: In member function ‘bool osgOpenCL::osgOpenCLContext::setupOsgOpenCLAndViewer(osgViewer::ViewerBase&, int)’: /home/sajjad/Downloads/OpenSceneGraph/osgCompute/osgCompute/src/osgOpenCL/osgOpenCLContext.cpp:103:26: error: expected type-specifier before ‘GraphicsWindowX11’ /home/sajjad/Downloads/OpenSceneGraph/osgCompute/osgCompute/src/osgOpenCL/osgOpenCLContext.cpp:103:26: error: expected ‘>’ before ‘GraphicsWindowX11’ /home/sajjad/Downloads/OpenSceneGraph/osgCompute/osgCompute/src/osgOpenCL/osgOpenCLContext.cpp:103:26: error: expected ‘(’ before ‘GraphicsWindowX11’ /home/sajjad/Downloads/OpenSceneGraph/osgCompute/osgCompute/src/osgOpenCL/osgOpenCLContext.cpp:103:26: error: ‘GraphicsWindowX11’ was not declared in this scope /home/sajjad/Downloads/OpenSceneGraph/osgCompute/osgCompute/src/osgOpenCL/osgOpenCLContext.cpp:103:26: note: suggested alternative: /usr/local/include/osgViewer/api/X11/GraphicsWindowX11:30:24: note: ‘osgViewer::GraphicsWindowX11’ /home/sajjad/Downloads/OpenSceneGraph/osgCompute/osgCompute/src/osgOpenCL/osgOpenCLContext.cpp:103:44: error: expected primary-expression before ‘>’ token /home/sajjad/Downloads/OpenSceneGraph/osgCompute/osgCompute/src/osgOpenCL/osgOpenCLContext.cpp:103:50: error: expected ‘)’ before ‘;’ token /home/sajjad/Downloads/OpenSceneGraph/osgCompute/osgCompute/src/osgOpenCL/osgOpenCLContext.cpp:121:51: error: ‘class osg::GraphicsContext’ has no member named ‘getGLXContext’ /home/sajjad/Downloads/OpenSceneGraph/osgCompute/osgCompute/src/osgOpenCL/osgOpenCLContext.cpp:122:39: error: ‘class osg::GraphicsContext’ has no member named ‘getDisplay’ make[2]: *** [src/osgOpenCL/CMakeFiles/osgOpenCL.dir/osgOpenCLContext.cpp.o] Error 1 make[1]: *** [src/osgOpenCL/CMakeFiles/osgOpenCL.dir/all] Error 2 make: *** [all] Error 2 Thank you! Cheers, Sajjadul ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=53851#53851 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

