Hi Robert,
thank you for your suggestion, I double checked everything and finally found
out that among 64 and 32 bit there is a difference in one of OpenThread
headers files (Config)...I thought that there were no differences in the
headers so I was referencing the wrong ones.

Now it works fine. Thanks.
Alessandro

On Thu, Mar 11, 2010 at 9:49 AM, Robert Osfield <[email protected]>wrote:

> Hi Alessandro,
>
> This sounds like a build/runtime linkage issue.  Make sure that OSGEXp is
> built and linking to an OSG which is built with same settings.
>
> Robert.
>
> On Thu, Mar 11, 2010 at 8:36 AM, alessandro terenzi 
> <[email protected]>wrote:
>
>> I'm trying to build OSGExp for 64 bit, but I'm experiencing a runtime
>> problem when executing the lines:
>>
>>   osg::ref_ptr<osg::MatrixTransform> rootTransform;
>>   rootTransform = new osg::MatrixTransform();
>>
>> in particular the OSGExp plugin crashes at the 2nd line. I tryed to
>> replace the osg::ref_ptr with a normal pointer and there is no crash
>> (although a crash appens later in the code because other changes should be
>> done for using the normal pointer instead of a osg::ref_ptr).
>>
>> The very same code has no problems when built for 32 bit. Of course I
>> tryed to build osg itself for 64 bit and had no problems like this if used
>> alone. The same problem arise also when creating a StateSet with
>> osg::ref_ptr instead of a normal pointer.
>>
>> I'm using OSG 2.9.6 (61). Does anyone have an idea of what could be the
>> problem? Thanks.
>> Kind regards.
>> Alessandro
>>
>> _______________________________________________
>> 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