visual studio 2010 - linking libtiff - LNK2001: unresolve external symbol TIFFOpen -
i using msvs 2010 on 64 bit machine. installed tiff libraries version 3.8.2 using set-up file, changed project properties sheet: include - *\gnuwin32\include; linker - *\gnuwin32\lib, input - libtiff.lib. msvs 2010 still gives me linker errors:
lnk2001: unresolved external symbol tiffopen
lnk2001: unresolved external symbol tiffgetfield
lnk2001: unresolved external symbol tiffistiled
(because of function calls in 1 of source files).
i have tried adding include directory environment variables path well, no avail. downloaded tiff-4.0.3.zip , built libraries command prompt described on libtiff website. updated project properties sheet accordingly: include - *\libtiff; linker - *\libtiff, input - libtiff.lib, libtiff_i.lib. copied libtiff.dll *\windows\system , *\windows\system32 directories , added *\libtiff directory environment variables path. still, msvs 2010 gives me same errors.
i have searched online , no 1 seems have had such problem, or have had similar issues different libraries, solutions have tried above. have spent 2 days on now, , desperate solution. please help!
yipeee!!! solved it. since newbie msvs, didn't know had own command prompt. using normal cmd windows, used visual studio x64 command prompt , compiled. pays not give ha - switching bing search got result gave me idea. tailored google search... :-/
Comments
Post a Comment