verison that did compile, did link, and did run; based on the underground_physics example