Ticket #151 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

cal3d extension fails to build in Source/Contrib/Cal3D/OSGCharacter.cpp

Reported by: shaegler Assigned to: unassigned
Priority: major Milestone: 1.8 Release
Component: System Version: 1.8
Keywords: Cc:
Completion:

Description

forgot to mention this one earlier… trying to compile the cal3d extension from a fresh checkout results in the following error:

Source/Contrib/Cal3D/OSGCharacter.cpp: In member function 'osg::Action::ResultE

osg::Character::renderActionHandler(osg::Action*)':

Source/Contrib/Cal3D/OSGCharacter.cpp:599: error: cast from 'void*' to 'osg::UIn

t32' loses precision

scons: *** [Build/linux-gcc/Source/Contrib/opt/OSGCharacter.os] Error 1

the offender:

UInt32 ind = reinterpret_cast<UInt32>(

coremat→getUserData());

platform: amd64, gcc 4.1.1

Change History

01/15/07 13:55:14 changed by dirk

  • status changed from new to closed.
  • resolution set to fixed.

Fixed. ptrdiff_t is your friend.