Jump to content

compiling sim_solverbullet errors


Recommended Posts

-i'm using fedora 17 with gcc 4.4.7 and houdini 12.1.125

-i compiled bullet 2.81 with debug options

-i compiled SIM_SolverBullet.C that was in /opt/hfs12.1.125/houdini/public/SIM_SolverBullet

i get an error when i try and launch houdini

symbol lookup error: /home/username/houdini12.1/dso/SIM_SolverBullet.so: undefined symbol: _ZN14SIM_BulletData27getBulletDataDopDescriptionEv

i was looking online for any clues. maybe the version of SIM_SolverBullet.C was compiled against a different version of bullet?

i think there there might be an issue with IMPLEMENT_DATAFACTORY

Link to comment
Share on other sites

hcustom -g -L /usr/lib64 -I /usr/include -lBulletDynamics -lBulletCollision -lBulletSoftBody -lLinearMath SIM_BuleltData.C

hcustom -g -L /usr/lib64 -I /usr/include -lBulletDynamics -lBulletCollision -lBulletSoftBody -lLinearMath SIM_ConRelConeTwist.C

hcustom -g -L /usr/lib64 -I /usr/include -lBulletDynamics -lBulletCollision -lBulletSoftBody -lLinearMath SIM_SolverBullet.C

fedora 17 has bullet 2.81 installed.

i do get a SIM_BulletData.o and then hcustom puts SIM_BulletData.so into /home/username/houdini12.1/dso/

there is some older version of bullet that is floating around (maybe on git) that was compiled against version 2.71 and that works(maybe because it defines the sim_bulletdata object inside of sim_solverbullet), but not the version of sim_solverbullet.c that comes with houdini in /opt/hfs12.1.125/houdini/public/SIM_SolverBullet

is this the correct way to compile and link this?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...