LNK2019 error when retrieving a TextureReference

Does anyone know what is causing this behavior?