Hi Cedric,

On 8 March 2015 at 13:27, Cedric Pinson <[email protected]> wrote:

> Sure I can fix it, but it's weird I use this to compile osg with cmake
> under linux
> cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER="ccache"
> -DCMAKE_CXX_COMPILER_ARG1="g++"
>
> Do you use something different ?
>

For testing purposes I periodically change the Cmake variable
OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION to OFF.  When this setting is on
(the default) a ref_ptr<> will be automatically case to a C pointer when
required, when off you need to explicitly use the ref_ptr<>.get() method to
get the C pointer.

Robert.
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to