This is a question about C++ setting you dont even need to know about the library I am trying to use.
I am coding C++ in VS2010 right now and I am trying to use 'icclib' which was downloaded from http://www.argyllcms.com/icclibsrc.html
I made a new project, added an aditional dependency folder and included a right header file (#include "icc.h")
And I tried to run a sample code which is:
char *file_name = "C:\\icc\\sample.icm"; icmFile *wr_fp; /* Open up the file for writing */ if ((wr_fp = new_icmFileStd_name(file_name,"w")) == NULL) printf("Write: Can't open file '%s'",file_name);
But I couldnt compile and the error message is:
error LNK2001: unresolved external symbol _new_icmFileStd_name
The library package doesn't even have any lib and dll files in it.
I actually have been facing this kind of errors so much everytime I try to use open source libraries and I don't know how to fix it.. Would you guys please give me some advices?
Edited 4 Years Ago by 9tontruck