Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3985592 By: nobody
Which verson of MSVC are you running? I'm running MSVC2003. To put it mildly, I think the Win32 port of LIBTIFF (tiff-3.8.2-1.exe) is highly suspect. I did get it to link (instructions below) but when I run it to open *any* TIFF file (I've tried many variations from different sources) it fails with an assertion error: Assertion failed! File: ../../tiff-3.7.3-src/libtiff/tif_dirinfo.c Line: 457 Expression: tif->tif_fieldinfo != NULL I was trying to run the tiff2raw.c utility (link below). Why does something supposedly of version 3.8.2-1 reference a source file in directory 3.7.3. And what sort of error is that? An assertion. All TIFF2RAW does is try and open the file. I wasted a day trying to muck around, but I think LIBTIFF is suspect and I gather it isn't supported either. Bloody horrible graphics format. I'm looking for a utility that will convert large TIFF files to something (anything) else. All the utilites in LIBTIFF convert *to* TIFF, rather than away from it. Does anyone know an alternate utility. As for linking in MSVC2003: Your error looks quite strange. Open the MSVC project Properties tab, choose Configuration Properties | Linker | Input and add libtiff.lib to additional dependencies. Then go to Main Menu Tools | Options | VC++ directories and add C:\Program Files\GnuWin32\include to Include and C:\Program Files\GnuWin32\lib to Lib. Leave your project in _cdecl mode (if you're using a *.c); may have to try something else if you're mixing .cpp and .c. That gets it to link, but as described above it doesn't run. Has anyone else there actually seen 3.8.2-1 *work* under Windows? Short of that, I'd say LIBTIFF is a pile of crap and you should migrate your graphics to another standard. TIFF always struck me as a stupid, overly convoluted design slung together by some crappy programmers who failed to grasp keep-it-simple-stupid. LIBJPEG and LIBPNG work out of the box. LIBTIFF doesn't. Avoid ut. http://sipi.usc.edu/database/tiff2raw.c http://gnuwin32.sourceforge.net/packages/tiff.htm ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=74807 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ GnuWin32-Users mailing list GnuWin32-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gnuwin32-users