Not to worry, a friend and I managed to find a simple PPM loader and hack that into my code, so it loads (ppm) textures fine now. Ideally I'll get other formats, but PPM is good enough for now.