Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8610525
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T04:09:09+00:00 2026-06-12T04:09:09+00:00

Possible Duplicate: Using LibTiff in Visual Studio 2010 I have been trying to work

  • 0

Possible Duplicate:
Using LibTiff in Visual Studio 2010

I have been trying to work with libtiff library but I couldnt get it working. I looked up the installation notes but still I couldn’t manage to build it. I used setup but since it fails to find lots of header files when I try to use it. Is there any step by step guide that you could recommend explaining where to put source files or how to include? I am searching and trying for hours, still couldnt find anything.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T04:09:11+00:00Added an answer on June 12, 2026 at 4:09 am

    The GnuWin32 page you link to seems to be mostly about building LibTIFF with GCC (CygWin or Mingw).

    There is a section on LibTIFF home page about Building the Software under Windows 95/98/NT/2000 with MS VC++ :


    With Microsoft Visual C++ installed, and properly configured for commandline use (you will likely need to source VCVARS32.BAT in AUTOEXEC.bAT or somewhere similar) you should be able to use the provided makefile.vc.

    The source package is delivered using Unix line termination conventions, which work with MSVC but do not work with Windows ‘notepad’. If you use unzip from the Info-Zip package, you can extract the files using Windows normal line termination conventions with a command similar to:

    
      unzip -aa -a tiff-4.0.0.zip
    

    By default libtiff expects that a pre-built zlib and jpeg library are provided by the user. If this is not the case, then you may edit libtiff\tiffconf.h using a text editor (e.g. notepad) and comment out the entries for JPEG_SUPPORT, PIXARLOG_SUPPORT, and ZIP_SUPPORT. Ignore the comment at the top of the file which says that it has no influence on the build, because the statement is not true for Windows. However, by taking this approach, libtiff will not be able to open some TIFF files.

    To build using the provided makefile.vc you may use:

    
      C:\tiff-4.0.0> nmake /f makefile.vc clean
      C:\tiff-4.0.0> nmake /f makefile.vc
    

    or (the hard way)

    
      C:\tiff-4.0.0> cd port
      C:\tiff-4.0.0\port> nmake /f makefile.vc clean
      C:\tiff-4.0.0\port> nmake /f makefile.vc
      C:\tiff-4.0.0> cd ../libtiff
      C:\tiff-4.0.0\libtiff> nmake /f makefile.vc clean
      C:\tiff-4.0.0\libtiff> nmake /f makefile.vc
      C:\tiff-4.0.0\libtiff> cd ..\tools
      C:\tiff-4.0.0\tools> nmake /f makefile.vc clean
      C:\tiff-4.0.0\tools> nmake /f makefile.vc
    

    This will build the library file libtiff\libtiff\libtiff.lib. This can be used in Win32 programs. You may want to adjust the build options before start compiling. All parameters contained in the nmake.opt file.This is a plain text file you can open with your favorite text editor.

    The makefile also builds a DLL (libtiff.dll) with an associated import library (libtiff_i.lib). Any builds using libtiff will need to include the LIBTIFF\LIBTIFF directory in the include path.

    The libtiff\tools\makefile.vc should build .exe’s for all the standard TIFF tool programs.


    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: Using VFP/Neon for a Visual Studio 2008 application I have built a
Possible Duplicate: Using Git with Visual Studio What's the most painless way for the
Possible Duplicate: Using delegate() with hover()? I am trying this code, but apparently I
Possible Duplicate: Using a bitwise & inside an if statement I have the following
Possible Duplicate: Case Order by using Null I'm looking to get a list of
Possible Duplicate: Using ApplicationSettings to store Checked property for WinForms RadioButtons I have three
Possible Duplicate: Using IoC for Unit Testing I think I do have a Problem
Possible Duplicate: VB Using colons to put two statements on same line I have
Possible Duplicate: Using global exception handling with “setUncaughtExceptionHandler” and “Toast” I have implemented UncaughtExceptionHandler
Possible Duplicate: Using Linq to get the last N elements of a collection? In

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.