Use bind* instead of bind to embed include directive (so Foo definition will be seen at compile stage). And info on cplusplus-object's methods is outdated in bind documentation, replace accordingly: make-instance -> new destroy -> delete .