I realise the window iD isn't used. I saw that in the code.
If I get Irrlicht to create a separate window, then it will happily render objects. If I prevent it from creating a new window and try to make it use the one created by the ClanLib application, then it doesn't render anything.