We are trying to use the Texture sample from the OpenGLEs samples. Our code is as below:

_LIT(KHubbleTexture, "nasa_hubble.jpg");
iTextureManager->RequestToLoad(KHubbleTexture, &iNasaHubble);

We have defined iTextureManager as CTextureManager in our class' header file, and also inherited it from CFiniteStateMachine and MTextureLoadingListener.

However, it gives an error saying

undefined reference to `CTextureManager::RequestToLoad(TDesC16 const&, TTexture*, unsigned char*, unsigned char*, int)'

Please let me know what is missing here.