jeudi 27 octobre 2016

Libtiff: error LNK2028 unresolved token (0A00000E) "extern "C" void __cdecl TIFFClose

I am getting the below error when I trying to build the project for X64 platform. For the project I set Libtiff information in project properties like additional include directories, Additional library directory and input: additional dependencies. My project is build well under win32 platform.

---------------------------Error information----------------------------

error LNK2028: unresolved token (0A00000E) "extern "C" void __cdecl TIFFClose(struct tiff *)" (?TIFFClose@@$$J0YAXPEAUtiff@@@Z) referenced in function "long __cdecl Myspace::SaveTIFF(wchar_t const *,struct tag *)" (?SaveTIFF@Myspace@@$$FYAJPEB_WPEAUtagBITMAPINFOHEADER@@@Z)

error LNK2028: unresolved token (0A00000F) "extern "C" int __cdecl TIFFWriteEncodedStrip(struct tiff *,unsigned int,void *,int)" (?TIFFWriteEncodedStrip@@$$J0YAHPEAUtiff@@IPEAXH@Z) referenced in function "long __cdecl Myspace::SaveTIFF(wchar_t const *,struct tag *)" (?SaveTIFF@Myspace@@$$FYAJPEB_WPEAUtagBITMAPINFOHEADER@@@Z)

error LNK2028: unresolved token (0A000010) "extern "C" void * __cdecl _TIFFmalloc(int)" (?_TIFFmalloc@@$$J0YAPEAXH@Z) referenced in function "long __cdecl Myspace::SaveTIFF(wchar_t const *,struct tag *)"

error LNK2020: unresolved token (0A000011) "extern "C" int __cdecl TIFFSetField(struct tiff *,unsigned int,...)" (?TIFFSetField@@$$J0YAHPEAUtiff@@IZZ)

-------------------------------------------------------

Kindly suggest if you have any solution.

Aucun commentaire:

Enregistrer un commentaire