1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-03-30 17:36:40 +00:00
openmw/components/sceneutil
Sophie Kirschner 4dd9386c4f Fix error: member access into incomplete type 'SceneUtil::UnrefWorkItem'
Fixes compile error encountered on OSX 10.9 with g++

sophie:build pineapple$ g++ --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin13.4.0
Thread model: posix

The compilation error:

[ 24%] Building CXX object apps/openmw/CMakeFiles/openmw.dir/mwrender/renderingmanager.cpp.o
In file included from /Users/pineapple/git/openmw/apps/openmw/mwrender/renderingmanager.cpp:1:
In file included from /Users/pineapple/git/openmw/apps/openmw/mwrender/renderingmanager.hpp:4:
/Users/pineapple/git/openmw/openmw-deps/include/osg/ref_ptr:35:36: error: member access into incomplete type 'SceneUtil::UnrefWorkItem'
        ~ref_ptr() { if (_ptr) _ptr->unref();  _ptr = 0; }
                                   ^
/Users/pineapple/git/openmw/./components/sceneutil/unrefqueue.hpp:14:11: note: in instantiation of member function
      'osg::ref_ptr<SceneUtil::UnrefWorkItem>::~ref_ptr' requested here
    class UnrefQueue : public osg::Referenced
          ^
/Users/pineapple/git/openmw/./components/sceneutil/unrefqueue.hpp:10:11: note: forward declaration of 'SceneUtil::UnrefWorkItem'
    class UnrefWorkItem;
2018-08-24 16:41:52 +03:00
..
attach.cpp Use new logging system for components 2018-08-14 19:42:41 +04:00
attach.hpp Speed up finding of attachment node by using the cached nodeMap 2017-02-03 23:15:37 +01:00
clone.cpp Add custom version of MorphGeometry replacing osgAnimation 2017-09-01 21:42:36 +00:00
clone.hpp Add SceneManager and clone utility 2015-03-26 18:02:51 +01:00
controller.cpp Fixes for building in MSVC 2017-06-13 19:38:12 +09:00
controller.hpp Add virtual destructors 2018-04-01 21:51:59 +03:00
lightcontroller.cpp Move observer_ptr include where it belongs 2016-01-25 21:03:33 +01:00
lightcontroller.hpp Pass a Vec4f by reference 2016-01-03 16:43:20 +01:00
lightmanager.cpp use own inline hash_combine function 2017-06-12 00:32:28 +02:00
lightmanager.hpp Refactor LightListCallback to allow for integration in custom Drawables. 2017-03-14 19:27:55 +01:00
lightutil.cpp Make actors with non-portable lights in inventory glow (Closes #2042, #3338) 2016-10-08 23:17:12 +02:00
lightutil.hpp Make actors with non-portable lights in inventory glow (Closes #2042, #3338) 2016-10-08 23:17:12 +02:00
morphgeometry.cpp Remove redundant _boundingBoxComputed which no longer exists in osg master (Fixes #4075) 2017-09-04 19:35:42 +00:00
morphgeometry.hpp Add an empty compileGLObjects implementation to Rig/MorphGeometry to avoid unnecessary creation of display list done by osg 2018-04-18 12:36:08 +00:00
optimizer.cpp Fix the optimizer messing up LOD node's children (Fixes #4301) 2018-01-29 19:44:12 +00:00
optimizer.hpp Fix the optimizer messing up LOD node's children (Fixes #4301) 2018-01-29 19:44:12 +00:00
pathgridutil.cpp Changes to color scheme, slight change to drag indicator, 2016-05-29 13:26:29 -04:00
pathgridutil.hpp Drag indicator. 2016-05-18 12:17:26 -04:00
positionattitudetransform.cpp Use a single-precision PositionAttitudeTransform in speed critical places 2015-11-22 19:54:26 +01:00
positionattitudetransform.hpp Use a single-precision PositionAttitudeTransform in speed critical places 2015-11-22 19:54:26 +01:00
riggeometry.cpp Use new logging system for components 2018-08-14 19:42:41 +04:00
riggeometry.hpp Add an empty compileGLObjects implementation to Rig/MorphGeometry to avoid unnecessary creation of display list done by osg 2018-04-18 12:36:08 +00:00
serialize.cpp Add custom version of MorphGeometry replacing osgAnimation 2017-09-01 21:42:36 +00:00
serialize.hpp Add 'showSceneGraph' command to export the scene or a particular object to .osgt for debugging purposes 2017-02-01 06:00:14 +01:00
skeleton.cpp Use new logging system for components 2018-08-14 19:42:41 +04:00
skeleton.hpp Don't update off-screen animations 2018-01-11 01:49:35 +00:00
statesetupdater.cpp Change some osg::clone's to direct copy constructor to avoid dynamic_cast overhead 2017-02-09 04:51:20 +01:00
statesetupdater.hpp StateSetUpdater: use the frameNumber 2015-12-03 23:46:25 +01:00
unrefqueue.cpp Fix error: member access into incomplete type 'SceneUtil::UnrefWorkItem' 2018-08-24 16:41:52 +03:00
unrefqueue.hpp Fix error: member access into incomplete type 'SceneUtil::UnrefWorkItem' 2018-08-24 16:41:52 +03:00
util.cpp Fix some style issues flagged by cppcheck 2017-10-15 17:06:58 +02:00
util.hpp Fix some style issues flagged by cppcheck 2017-10-15 17:06:58 +02:00
visitor.cpp use bbox as wrap range & apply to all particle systems 2017-10-14 21:42:19 +02:00
visitor.hpp use bbox as wrap range & apply to all particle systems 2017-10-14 21:42:19 +02:00
waterutil.cpp Move water mesh + simple state generation to components library. 2016-08-05 13:25:05 -04:00
waterutil.hpp Move water mesh + simple state generation to components library. 2016-08-05 13:25:05 -04:00
workqueue.cpp Use new logging system for components 2018-08-14 19:42:41 +04:00
workqueue.hpp Add resource statistics panel opened with F4 2017-02-22 14:28:45 +01:00
writescene.cpp Add 'showSceneGraph' command to export the scene or a particular object to .osgt for debugging purposes 2017-02-01 06:00:14 +01:00
writescene.hpp Add 'showSceneGraph' command to export the scene or a particular object to .osgt for debugging purposes 2017-02-01 06:00:14 +01:00