2005.08.18 21:51 "[Tiff] win32 libtiff", by Mark R. Olin

2005.08.19 20:37 "RE: [Tiff] win32 libtiff", by Mark R. Olin

I was able to compile a binary lib and dll using "nmake" (begrudgingly), which is a MS Visual Studio utility (I have it, but don't use much).

I read comments in "makefile.vc" in the libtiff distribution which said to execute

nmake /f makefile.vc all

and that worked to supply me with natively compiled libtiff.lib and libtiff.dll.

Linking them into my program using Codewarrior IDE, I am able to use the TIFF routines successfully again, but with the same unusual Access Violation and runtime error in ntdll.dll.

Invalid Address specified to RtlFreeHeap( 00140000, 0014A2F8 )

Since I am using two different linking environments, Codewarrior and MSVC, I am thinking that the problem lies there.

Anyway, thanks to Edward L. for the new direction.

Mark

I'll work with Cygwin gcc and make and let you know how it goes. Gotta install Cygwin first though.

I really recommend setting up make. There's a win32 version of make that you can compile as well although I'm not sure how well it works. We're using the cygwin version of gnu make.