Wow! Thanks for the reply. I’ve attempted using gcc 4.2 and 4.0 and received the same error. I think a reasonable option would be to comment out the shapeComplementarity function so it doesn’t get compiled. Can you give me advice for how to do this? Many thanks for the help.