Im trying to figure out how to display an image, just a .jpeg file onto the graphics window. However, I'm pretty sure the code is right.... it looks like this:
window w(800,600,0,0);
w;
image card("images\\scs.jpg", JPEG);
w.DrawImage(card,10,10);
This seems like it should work because I basically copied the code from a sheet with the CMU functions on it. But when it runs it gives me an error:
[Linker error] Unresolved external '_jpegload' referenced from......
I am using Borland C++ Builder 5 if that helps anyone.