Thanks Rui, fix looks appropriate, I've made this change and the
warning goes away.  Plenty more warnings still to fix though...  This
particular fix is now checked into svn/trunk.  Cheers, Robert.

On Sun, May 15, 2011 at 12:58 AM, Wang Rui <[email protected]> wrote:
> Hi Robert and J-S,
>
> I've met the same problem while compiling with FBX SDK 2012.1. Edit
> the line 364 of WriteNodeVisitor.cpp:
>
> _fbxTexture = KFbxTexture::Create(...);
>
> to
>
> _fbxTexture = KFbxFileTexture::Create(...);
>
> and it compiles fine now.
>
> Cheers,
>
> Wang Rui
>
>
> 2011/5/15 Robert Osfield <[email protected]>:
>> Hi J-S,
>>
>> I downloaded FBX SDK for linux on Thursday and it built fine with the
>> fbx plugin in svn/trunk.  I've just rebuilt the plugin and while I get
>> lots of warnings everything compiles.  One of the warnings is;
>>
>> /home/robert/OpenSceneGraph/src/osgPlugins/fbx/WriterNodeVisitor.cpp:364:76:
>> warning: invalid conversion from ‘fbxsdk_2012_1::KFbxTexture*’ to
>> ‘fbxsdk_2012_1::KFbxFileTexture*’
>>
>> Which lots mightly like the one that is causing an error for you.
>> I'm afraid I don't know anything about the fbx plugin or the fbx SDK
>> so can't say what the appropriate fix would be.  I'll defer to those
>> who've been working with the fbx SDK for guidance on this.
>>
>> Cheers,
>> Robert.
>>
>>
>> On Sat, May 14, 2011 at 1:18 PM, Jean-Sébastien Guay
>> <[email protected]> wrote:
>>> Hi all,
>>>
>>> I had fixed my nightly build lately (I had to update my FBX plugin), but it
>>> has started failing again. Is it possible that a recent submission has been
>>> made with the wrong version of the FBX plugin?
>>>
>>> The error I get is:
>>>
>>> 1>..\..\..\..\src\osgPlugins\fbx\WriterNodeVisitor.cpp(364) : error C2440:
>>> '=' : cannot convert from 'fbxsdk_2012_1::KFbxTexture *' to
>>> 'fbxsdk_2012_1::KFbxFileTexture *'
>>>
>>> Thanks,
>>>
>>> J-S
>>> --
>>> ______________________________________________________
>>> Jean-Sebastien Guay    [email protected]
>>>                               http://www.cm-labs.com/
>>>                    http://whitestar02.dyndns-web.com/
>>> _______________________________________________
>>> osg-users mailing list
>>> [email protected]
>>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>>
>> _______________________________________________
>> osg-users mailing list
>> [email protected]
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to