Linking error when exporting component

Thanks that fixed it. I think I read about this before but I did not realise that there is also a generated file for the module itself.