I am currently working on the simulate command and I have some problems with it. I am trying to add/remove some things from the src/libged/simulate/simphysics.cpp file, or any file from that folder for that matter and I want to print out some statements, the problem is that any time I remove/add a bu_log, bu_vls_printf line I get the following error http://paste.ubuntu.com/1222100/ . To get that I added a "bu_vls_printf("LinearVelocity %f AngularVelocity %f\n", current_node->linear_velocity, current_node->angular_velocity);" in the simphysics.cpp file in the for loop starting at line ~96. Does anyone have any idea why does this happen and maybe can suggest a solution?

Thank you!