textures disappear when executable moved

I have a glut application that loads 6 textures and displays them (although this isn’t the only thing it does) when I copy the executable file (windows .exe file) and the texture files to a new computer they are no longer visible when the application runs. all of the files are in the same folder on both the development pc and test pc.

please help.

A sanity check is to try a simple 128x128 image, that should work everywhere.

There is a good chance that one pc has a more capable hardware.
Things to check, once GL in initialized, log some info :

  • maximum texture size :
GLint texSize;
glGetIntegerv(GL_MAX_TEXTURE_SIZE, &texSize);
  • hardware support for non-power-of two textures :
    does glGetString(GL_EXTENSIONS) contain GL_ARB_texture_non_power_of_two ?
  • loaded image size. check it stays within the above limits.

Do you use mipmaps ?