Opened 6 years ago

Closed 6 years ago

#57465 closed defect (fixed)

h3dphysics @1.3.0: error: no member named 'm_limitSoftness' in 'btRotationalLimitMotor2'

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: support@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: h3dphysics

Description

h3dphysics does not build:

[  7%] Building CXX object CMakeFiles/H3DPhysics.dir/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_graphics_h3dphysics/h3dphysics/work/h3dphysics-1.3.0/src/BulletWorldOptions.o
/usr/bin/clang++  -DH3DPHYSICS_EXPORTS -DH3DPhysics_EXPORTS -I/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_graphics_h3dphysics/h3dphysics/work/build/include -I/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_graphics_h3dphysics/h3dphysics/work/h3dphysics-1.3.0/build/../include -I/opt/local/include -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks -I/opt/local/include/bullet -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/python2.7  -pipe -Os -stdlib=libc++ -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -DNDEBUG -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -mmacosx-version-min=10.14 -fPIC   -I/opt/local/include -o CMakeFiles/H3DPhysics.dir/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_graphics_h3dphysics/h3dphysics/work/h3dphysics-1.3.0/src/BulletWorldOptions.o -c /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_graphics_h3dphysics/h3dphysics/work/h3dphysics-1.3.0/src/BulletWorldOptions.cpp
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_graphics_h3dphysics/h3dphysics/work/h3dphysics-1.3.0/src/BulletJoints.cpp:570:51: error: no member named 'm_limitSoftness' in 'btRotationalLimitMotor2'
    doubleHingeJoint->getRotationalLimitMotor(2)->m_limitSoftness= btScalar ( doubleHingeJointParameters->getStopBounce1() );
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ^
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_graphics_h3dphysics/h3dphysics/work/h3dphysics-1.3.0/src/BulletCallbacks.cpp:922:18: warning: enumeration values 'UNIT_EDGE' and 'UNIT_ELEMENT' not handled in switch [-Wswitch]
        switch ( output->getUnitType() ) {
                 ^
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_graphics_h3dphysics/h3dphysics/work/h3dphysics-1.3.0/src/BulletCallbacks.cpp:922:18: note: add missing switch cases
        switch ( output->getUnitType() ) {
                 ^
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_graphics_h3dphysics/h3dphysics/work/h3dphysics-1.3.0/src/BulletCallbacks.cpp:933:18: warning: enumeration values 'UNIT_EDGE' and 'UNIT_ELEMENT' not handled in switch [-Wswitch]
        switch ( output->getUnitType() ) {
                 ^
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_graphics_h3dphysics/h3dphysics/work/h3dphysics-1.3.0/src/BulletCallbacks.cpp:933:18: note: add missing switch cases
        switch ( output->getUnitType() ) {
                 ^
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_graphics_h3dphysics/h3dphysics/work/h3dphysics-1.3.0/src/BulletCallbacks.cpp:919:14: warning: enumeration values 'OUTPUT_INTERACTION_FORCE_MAGNITUDE' and 'OUTPUT_EXTERNAL_FORCE_MAGNITUDE' not handled in switch [-Wswitch]
    switch ( output->getOutputType() ) {
             ^
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_graphics_h3dphysics/h3dphysics/work/h3dphysics-1.3.0/src/BulletCallbacks.cpp:919:14: note: add missing switch cases
    switch ( output->getOutputType() ) {
             ^
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_graphics_h3dphysics/h3dphysics/work/h3dphysics-1.3.0/src/BulletCallbacks.cpp:952:18: warning: enumeration values 'UNIT_EDGE' and 'UNIT_ELEMENT' not handled in switch [-Wswitch]
        switch ( output->getUnitType() ) {
                 ^
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_graphics_h3dphysics/h3dphysics/work/h3dphysics-1.3.0/src/BulletCallbacks.cpp:952:18: note: add missing switch cases
        switch ( output->getUnitType() ) {
                 ^
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_graphics_h3dphysics/h3dphysics/work/h3dphysics-1.3.0/src/BulletCallbacks.cpp:963:18: warning: enumeration values 'UNIT_EDGE' and 'UNIT_ELEMENT' not handled in switch [-Wswitch]
        switch ( output->getUnitType() ) {
                 ^
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_graphics_h3dphysics/h3dphysics/work/h3dphysics-1.3.0/src/BulletCallbacks.cpp:963:18: note: add missing switch cases
        switch ( output->getUnitType() ) {
                 ^
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_graphics_h3dphysics/h3dphysics/work/h3dphysics-1.3.0/src/BulletCallbacks.cpp:949:14: warning: enumeration values 'OUTPUT_INTERACTION_FORCE' and 'OUTPUT_EXTERNAL_FORCE' not handled in switch [-Wswitch]
    switch ( output->getOutputType() ) {
             ^
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_graphics_h3dphysics/h3dphysics/work/h3dphysics-1.3.0/src/BulletCallbacks.cpp:949:14: note: add missing switch cases
    switch ( output->getOutputType() ) {
             ^
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_graphics_h3dphysics/h3dphysics/work/h3dphysics-1.3.0/src/BulletCallbacks.cpp:2170:10: error: no member named 'm_contactCFM1' in 'btManifoldPoint'; did you mean 'm_contactCFM'?
      cp.m_contactCFM1= p.softness_constant_force_mix;
         ^~~~~~~~~~~~~
         m_contactCFM
/opt/local/include/bullet/BulletCollision/NarrowPhaseCollision/btManifoldPoint.h:126:27: note: 'm_contactCFM' declared here
                btScalar                m_contactCFM;
                                        ^
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_graphics_h3dphysics/h3dphysics/work/h3dphysics-1.3.0/src/BulletCallbacks.cpp:2171:10: error: no member named 'm_contactCFM2' in 'btManifoldPoint'; did you mean 'm_contactCFM'?
      cp.m_contactCFM2= p.softness_constant_force_mix;
         ^~~~~~~~~~~~~
         m_contactCFM
/opt/local/include/bullet/BulletCollision/NarrowPhaseCollision/btManifoldPoint.h:126:27: note: 'm_contactCFM' declared here
                btScalar                m_contactCFM;
                                        ^
[  8%] Building CXX object CMakeFiles/H3DPhysics.dir/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_graphics_h3dphysics/h3dphysics/work/h3dphysics-1.3.0/src/Cloth.o
/usr/bin/clang++  -DH3DPHYSICS_EXPORTS -DH3DPhysics_EXPORTS -I/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_graphics_h3dphysics/h3dphysics/work/build/include -I/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_graphics_h3dphysics/h3dphysics/work/h3dphysics-1.3.0/build/../include -I/opt/local/include -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks -I/opt/local/include/bullet -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/python2.7  -pipe -Os -stdlib=libc++ -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -DNDEBUG -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -mmacosx-version-min=10.14 -fPIC   -I/opt/local/include -o CMakeFiles/H3DPhysics.dir/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_graphics_h3dphysics/h3dphysics/work/h3dphysics-1.3.0/src/Cloth.o -c /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_graphics_h3dphysics/h3dphysics/work/h3dphysics-1.3.0/src/Cloth.cpp
1 error generated.
make[2]: *** [CMakeFiles/H3DPhysics.dir/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_graphics_h3dphysics/h3dphysics/work/h3dphysics-1.3.0/src/BulletJoints.o] Error 1
make[2]: *** Waiting for unfinished jobs....
6 warnings and 2 errors generated.

Change History (1)

comment:1 Changed 6 years ago by jjandersson <44439490+jjandersson@…>

Resolution: fixed
Status: assignedclosed

In 163c15de78f0738e62cbf28cdc9f4a79a4d044ca/macports-ports (master):

h3dphysics: patches for upgraded Bullet+ODE

  • variable used in BulletCallbacks changed name
  • function called from BulletJoints obsoleted
  • type in ODECallbacks changed to const

Closes: #57465

Note: See TracTickets for help on using tickets.