this is what i have so far:
Code:
#include <stdio.h>
#include <stdlib.h>
#include "jpeg.h"
int loadJPG(const char* input_file_name, const char* output_file_name);
int main()
{
loadJPG("Lenna.jpg","output");
}
compile it with
Code:
%gcc -c histogram3.c -o histogram3
then to compile into executable:
Code:
%gcc -ljpeg jpeg64.o histogram3.o -o load
when i run the program, it returns "can't open Lenna". i tried including the entire path to the file and the same. tried re-dling the jpg file and then recompiled. im getting no errors for each compilation.
anything else i can try?