IMG_Load won't accept my string! [SOLVED]

IMG_Load may want a const char * instead of a string. try

image[i] = IMG_Load( ally[i].getIMFileName().c_str() );

John

Thanks! That fixed it.On Sun, Mar 1, 2009 at 6:07 PM, John Magnotti <john.magnotti at auburn.edu>wrote: