Possible Duplicate:
What is an undefined reference/unresolved external symbol error and how do I fix it?
I have troubles with compiling this code http://pastebin.com/a7AMbYPv.
Here are the errors I get:
C:\Dev-Cpp\include\main.cpp In function 'int write_jpeg_file(char*)':
109 25 C:\Dev-Cpp\include\main.cpp [Error] invalid conversion from 'int' to 'J_COLOR_SPACE' [-fpermissive]
C:\Dev-Cpp\include\main.cpp In function 'int main()':
130 21 C:\Dev-Cpp\include\main.cpp [Warning] deprecated conversion from string constant to 'char*' [-Wwrite-strings]
130 48 C:\Dev-Cpp\include\main.cpp [Warning] deprecated conversion from string constant to 'char*' [-Wwrite-strings]
C:\Users\NIVER\Desktop\Makefile.win [Error] [../../../Dev-Cpp/include/main.o] Error 1 (if this is the only error: please check your library includes)
Any help would be appreciated.