I did everything that you said to do and it still did not compile. Sorry that this is so long, but I am going to post the whole error message
Linking virtualt /usr/lib/x86_64-linux-gnu/libfltk_images.a(Fl_JPEG_Image.o): In function `Fl_JPEG_Image::Fl_JPEG_Image(char const*)': (.text+0x175): undefined reference to `jpeg_std_error' /usr/lib/x86_64-linux-gnu/libfltk_images.a(Fl_JPEG_Image.o): In function `Fl_JPEG_Image::Fl_JPEG_Image(char const*)': (.text+0x1e8): undefined reference to `jpeg_CreateDecompress' /usr/lib/x86_64-linux-gnu/libfltk_images.a(Fl_JPEG_Image.o): In function `Fl_JPEG_Image::Fl_JPEG_Image(char const*)': (.text+0x1fa): undefined reference to `jpeg_stdio_src' /usr/lib/x86_64-linux-gnu/libfltk_images.a(Fl_JPEG_Image.o): In function `Fl_JPEG_Image::Fl_JPEG_Image(char const*)': (.text+0x20c): undefined reference to `jpeg_read_header' /usr/lib/x86_64-linux-gnu/libfltk_images.a(Fl_JPEG_Image.o): In function `Fl_JPEG_Image::Fl_JPEG_Image(char const*)': (.text+0x245): undefined reference to `jpeg_calc_output_dimensions' /usr/lib/x86_64-linux-gnu/libfltk_images.a(Fl_JPEG_Image.o): In function `Fl_JPEG_Image::Fl_JPEG_Image(char const*)': (.text+0x2b4): undefined reference to `jpeg_start_decompress' /usr/lib/x86_64-linux-gnu/libfltk_images.a(Fl_JPEG_Image.o): In function `Fl_JPEG_Image::Fl_JPEG_Image(char const*)': (.text+0x2fa): undefined reference to `jpeg_read_scanlines' /usr/lib/x86_64-linux-gnu/libfltk_images.a(Fl_JPEG_Image.o): In function `Fl_JPEG_Image::Fl_JPEG_Image(char const*)': (.text+0x317): undefined reference to `jpeg_finish_decompress' /usr/lib/x86_64-linux-gnu/libfltk_images.a(Fl_JPEG_Image.o): In function `Fl_JPEG_Image::Fl_JPEG_Image(char const*)': (.text+0x324): undefined reference to `jpeg_destroy_decompress' /usr/lib/x86_64-linux-gnu/libfltk_images.a(Fl_JPEG_Image.o): In function `Fl_JPEG_Image::Fl_JPEG_Image(char const*)': (.text+0x3a4): undefined reference to `jpeg_finish_decompress' /usr/lib/x86_64-linux-gnu/libfltk_images.a(Fl_JPEG_Image.o): In function `Fl_JPEG_Image::Fl_JPEG_Image(char const*)': (.text+0x3b9): undefined reference to `jpeg_destroy_decompress' /usr/lib/x86_64-linux-gnu/libfltk_images.a(Fl_JPEG_Image.o): In function `Fl_JPEG_Image::Fl_JPEG_Image(char const*, unsigned char const*)': (.text+0x4db): undefined reference to `jpeg_std_error' /usr/lib/x86_64-linux-gnu/libfltk_images.a(Fl_JPEG_Image.o): In function `Fl_JPEG_Image::Fl_JPEG_Image(char const*, unsigned char const*)': (.text+0x569): undefined reference to `jpeg_finish_decompress' /usr/lib/x86_64-linux-gnu/libfltk_images.a(Fl_JPEG_Image.o): In function `Fl_JPEG_Image::Fl_JPEG_Image(char const*, unsigned char const*)': (.text+0x57e): undefined reference to `jpeg_destroy_decompress' /usr/lib/x86_64-linux-gnu/libfltk_images.a(Fl_JPEG_Image.o): In function `Fl_JPEG_Image::Fl_JPEG_Image(char const*, unsigned char const*)': (.text+0x60b): undefined reference to `jpeg_CreateDecompress' /usr/lib/x86_64-linux-gnu/libfltk_images.a(Fl_JPEG_Image.o): In function `Fl_JPEG_Image::Fl_JPEG_Image(char const*, unsigned char const*)': (.text+0x66e): undefined reference to `jpeg_resync_to_restart' /usr/lib/x86_64-linux-gnu/libfltk_images.a(Fl_JPEG_Image.o): In function `Fl_JPEG_Image::Fl_JPEG_Image(char const*, unsigned char const*)': (.text+0x682): undefined reference to `jpeg_read_header' /usr/lib/x86_64-linux-gnu/libfltk_images.a(Fl_JPEG_Image.o): In function `Fl_JPEG_Image::Fl_JPEG_Image(char const*, unsigned char const*)': (.text+0x6bb): undefined reference to `jpeg_calc_output_dimensions' /usr/lib/x86_64-linux-gnu/libfltk_images.a(Fl_JPEG_Image.o): In function `Fl_JPEG_Image::Fl_JPEG_Image(char const*, unsigned char const*)': (.text+0x728): undefined reference to `jpeg_start_decompress' /usr/lib/x86_64-linux-gnu/libfltk_images.a(Fl_JPEG_Image.o): In function `Fl_JPEG_Image::Fl_JPEG_Image(char const*, unsigned char const*)': (.text+0x769): undefined reference to `jpeg_read_scanlines' /usr/lib/x86_64-linux-gnu/libfltk_images.a(Fl_JPEG_Image.o): In function `Fl_JPEG_Image::Fl_JPEG_Image(char const*, unsigned char const*)': (.text+0x786): undefined reference to `jpeg_finish_decompress' /usr/lib/x86_64-linux-gnu/libfltk_images.a(Fl_JPEG_Image.o): In function `Fl_JPEG_Image::Fl_JPEG_Image(char const*, unsigned char const*)': (.text+0x793): undefined reference to `jpeg_destroy_decompress' collect2: error: ld returned 1 exit status make: *** [virtualt] Error 1
