Compilation of OSG+Bullet

  •   I get this error when compiling:

BulletCollision.lib(btCollisionShape.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in BoundingCone.obj

It is OK to change the compiled version from Debug to Release.

  •  osgBullet needs to manually set its loaded header files and lib library files

The compilation order is this:

1. Lib osgbCollision	
2. Lib osgbDynamics	
3. Lib osgbInteraction	
之后的任意顺序

  • The program crashes when running the BasicDemo of osgBullet
  • It is feasible to write your own code to make the coordinate data of the Bullet engine act on the osg node. But still hope

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324376932&siteId=291194637