Hi Robert,
the
dotosgwrapper_##classname(void) {}
get optimized away. It got pulled in when I put a printf between the brackets.
Have to go but am recompiling with linker flag /OPT:NOREF
Let you know tomorrow
cheers
Mattias
On 12/11/08, Mattias Helsing <[email protected]> wrote:
> Hi Robert,
>
> On Thu, Dec 11, 2008 at 5:58 PM, Robert Osfield
> <[email protected]> wrote:
>> Thanks Mattias, changes merged and submitted to SVN.
>>
>> So does this mean that osgstaticviewer is now able to load cow.osg
>> etc. under Windows?
>>
>
> not really :( What I've seen so far is that no
> RegisterDotOsgWrapperProxy's are ever instatiated => _nodeWrapperMap
> is empty. So no data loaded. I'll rebuild the whole static tree asap
> and see if that changes things. I'm currently working on another
> submission (CPack) which requires regular ccmake and this causes my
> static build tree whenever it detects new configurations.
>
> Also - I haven't built the wrappers before and 3 of them failed with
> these messages:
>
> 2>..\..\..\src\osgWrappers\osgViewer\View.cpp(304) : error C2664:
> 'osgIntrospection::TypedMethodInfo5<C,R,P0,P1,P2,P3,P4>::TypedMethodInfo5(const
> std::string &,bool (__thiscall osgViewer::View::* )(P0,P1,P2,P3,P4)
> const,const osgIntrospection::ParameterInfoList
> &,osgIntrospection::MethodInfo::VirtualState,std::string,std::string)'
> : cannot convert parameter 2 from 'overloaded-function' to 'bool
> (__thiscall osgViewer::View::* )(P0,P1,P2,P3,P4) const'
>
> 3>..\..\..\src\osgWrappers\osgWidget\Browser.cpp(54) : error C2664:
> 'osgIntrospection::TypedMethodInfo1<C,R,P0>::TypedMethodInfo1(const
> std::string &,osgWidget::BrowserImage (__thiscall
> osgWidget::BrowserManager::* )(P0) const,const
> osgIntrospection::ParameterInfoList
> &,osgIntrospection::MethodInfo::VirtualState,std::string,std::string)'
> : cannot convert parameter 2 from 'osgWidget::BrowserImage
> *(__thiscall osgWidget::BrowserManager::* )(const std::string
> &,int,int)' to 'osgWidget::BrowserImage (__thiscall
> osgWidget::BrowserManager::* )(P0) const'
>
> 1>..\..\..\src\osgWrappers\osg\Image.cpp(388) : error C2664:
> 'osgIntrospection::TypedMethodInfo2<C,R,P0,P1>::TypedMethodInfo2(const
> std::string &,void (__thiscall osg::Image::* )(P0,P1) const,const
> osgIntrospection::ParameterInfoList
> &,osgIntrospection::MethodInfo::VirtualState,std::string,std::string)'
> : cannot convert parameter 2 from 'bool (__thiscall osg::Image::*
> )(int,bool)' to 'void (__thiscall osg::Image::* )(P0,P1) const'
>
> cheers
> Mattias
>
>> Robert.
>>
>> On Thu, Dec 11, 2008 at 2:55 PM, Mattias Helsing <[email protected]>
>> wrote:
>>> Hi Robert,
>>>
>>> When building osg static on Windows the _declspec's wasn't escaped for
>>> applications, examples or wrappers. Attached are the CMakeLists I had
>>> to change to make these compile.
>>>
>>> cheers
>>> Mattias
>>>
>>> _______________________________________________
>>> osg-submissions mailing list
>>> [email protected]
>>> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>>>
>>>
>> _______________________________________________
>> osg-submissions mailing list
>> [email protected]
>> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>>
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org