Hi all,

A student of mine wants to use OpenSG on Mac, he has some trouble with the
Deferred Shading:

at the line
#include <OpenSG/OSGDeferredShadingStage.h>

he gets:


   1. In file included from
   /usr/local/include/OpenSG/OSGDeferredShadingStage.h:45:
   2. In file included from
   /usr/local/include/OpenSG/OSGDeferredShadingStageBase.h:66:
   3. In file included from /usr/local/include/OpenSG/OSGSimpleStage.h:47:
   4. In file included from
   /usr/local/include/OpenSG/OSGSimpleStageBase.h:66:
   5. In file included from
   /usr/local/include/OpenSG/OSGRenderCallbackStage.h:47:
   6. In file included from
   /usr/local/include/OpenSG/OSGRenderCallbackStageBase.h:66:
   7. In file included from /usr/local/include/OpenSG/OSGStage.h:47:
   8. In file included from /usr/local/include/OpenSG/OSGStageBase.h:66:
   9. In file included from /usr/local/include/OpenSG/OSGGroup.h:46:
   10. In file included from /usr/local/include/OpenSG/OSGGroupBase.h:66:
   11. In file included from /usr/local/include/OpenSG/OSGNodeCore.h:45:
   12. In file included from /usr/local/include/OpenSG/OSGNodeCoreBase.h:66:
   13. In file included from
   /usr/local/include/OpenSG/OSGAttachmentContainer.h:45:
   14. In file included from
   /usr/local/include/OpenSG/OSGFieldContainer.h:48:
   15. In file included from
   /usr/local/include/OpenSG/OSGReflexiveContainer.h:51:
   16. In file included from /usr/local/include/OpenSG/OSGThread.h:48:
   17. In file included from /usr/local/include/OpenSG/OSGBaseThread.h:46:
   18. In file included from /usr/local/include/OpenSG/OSGMPBase.h:48:
   19. In file included from /usr/local/include/OpenSG/OSGRefCountPtr.h:238:
   20. /usr/local/include/OpenSG/OSGRefCountPtr.inl:110:28: error: cannot
   initialize a parameter of type 'OSG2::FieldContainer *' with an lvalue of
   type 'Object *' (aka 'OSG2::ShaderProgram *')
   21.     RefCountPolicy::subRef(_pObj);
   22.                            ^~~~~


Any hint what is going wrong? I have no problems on Ubuntu.
He is using OpenSG 2

Best regards,
Victor
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to