Hi everybody
I am new in this mailing list.
And I am also a newby in C lanquage.
I works with Windows XP SP2 and VC++2005
I would like to use lcms with Dcraw, but it does not work
I tried lcms.sln and tesbed with the supplied VC 2005 projetcs
Result: Over 20 000 Errors !!
I then tried the following very simple program
(just open a profile and close)
#include "stdafx.h"
#include <stdio.h>
#include "lcms.h"
FILE *inprof;
#define _CRT_SECURE_NO_DEPRECATE 1
int _tmain(int argc, _TCHAR* argv[])
{
cmsHPROFILE hInProfile;
hInProfile=cmsOpenProfileFromFile("AdobeRGB1998.icc","r");
//inprof=fopen("AdobeRGB1998.icc","r");
//if (inprof) printf("inprof file opent\n");
//fclose(inprof);
//printf("input file closed\n");
getchar();
return 0;
}
error LNK2001: symbole externe non résolu _cmsOpenProfileFromFile
TestLcms.obj
fatal error LNK1120: 1 externes non résolus
ProgrammesVC++2005\TestLcms\Debug\TestLcms.exe 1
This can be translated in :
error LNK2001: unsolved external symbol _cmsOpenProfileFromFile
fatal error LNK1120: 1 extern unsolved
The fopen command works, so this not a prolem of profile adress
When I drag the mouse over the lcms command the pop-up label seams to
indicate
that the command is recognised by VC++2005, indicating that lcms.h is
recognised.
I suspect a very stupid thing like a missing line somewhere
or an uncommented / commented line in lcms.h
(again I am a tender foot in C!)
I really need some help
(BTW, I did not find anything on this subject in the mailing list archives)
Michel FORT
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Lcms-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lcms-user