Looks like my own project had both of those flags set to true. Setting them to
false cleared it up.
Thanks,
Sean
sth wrote:
Hi Sean,
I had similar problems in the past as you and Chuck. My fix was to make
sure the project-settings for osg and my own project where the same and
set to
Hi Sean,
I had similar problems in the past as you and Chuck. My fix was to make
sure the project-settings for osg and my own project where the same and
set to FALSE:
Symbols hidden by default (GCC_SYMBOLS_PRIVATE_EXTERN): FALSE
and eventually
Inline hidden methods
Hey guys,
I'm trying to pass an osgViewer::GraphicsWindowCocoa::WindowData to my traits
object with CreateOnlyView specified. For some reason whenever my WindowData is
dynamic_cast in GraphicsWindowCocoa.mm it just returns 0. If I switch them to
static_cast they work.
Here's my code:
Code:
Sean,
Don't know conclusively, but I have had problems like this in the past when
using dynamic_cast on a polymorphic object and it failed to give a non-NULL
value even when I knew it should. As you said, using a static_cast or C-style
cast works. In my case it had to do with how objects
4 matches
Mail list logo