jeudi 1 août 2019

C++ undenied refence to readimagefile() function in Dev-C++? [duplicate]

when i run the program compiler saying "undefined refence to 'readimagefile'. I need to use readimagefile() in my program. How can i do that in Dev-C++ ?

There is no error with the header files or eye.jpg. Only undefined reference to readimagefile()

#include<graphics.h>
#include<iostream>
int main(){
    initwindow(500,600);
    readimagefile("eye.jpg",0,0,250,200);

    getch();
    return 0;
}

Aucun commentaire:

Enregistrer un commentaire