help
help > libtiff 4.0.2 build for Vaa3D
Oct 1, 2014 05:10 PM | Hanchuan Peng
libtiff 4.0.2 build for Vaa3D
If under Mac or Linux, building libtiff4 is currently automatically
done when you build vaa3d for the first time.
However, for Windows, you might need to do the following to generate the libtiff library first (if you do not have it in the svn checkout)
LibTiff:
Download http://download.osgeo.org/libtiff/tiff-4... (or other versions)
1. Run Visual Studio Command prompt (Start->Visual Studio Command Prompt (2010)) or x64
You must use Visual Studio Command prompt appropriate to version you are building 32/64bit.
2. Run NMAKE /f makefile.vc (Start -> Visual Studio Command Prompt, go to tiff-4.0.3\libtiff folder, type it and press enter)
3. Verify, that tiff-4.0.3\libtiff\libtiff.lib exists and copy it to v3d_main/common_lib/winlib64
4. Copy header files from tiff-4.0.3\libtiff to v3d_main/common_lib/include
However, for Windows, you might need to do the following to generate the libtiff library first (if you do not have it in the svn checkout)
LibTiff:
Download http://download.osgeo.org/libtiff/tiff-4... (or other versions)
1. Run Visual Studio Command prompt (Start->Visual Studio Command Prompt (2010)) or x64
You must use Visual Studio Command prompt appropriate to version you are building 32/64bit.
2. Run NMAKE /f makefile.vc (Start -> Visual Studio Command Prompt, go to tiff-4.0.3\libtiff folder, type it and press enter)
3. Verify, that tiff-4.0.3\libtiff\libtiff.lib exists and copy it to v3d_main/common_lib/winlib64
4. Copy header files from tiff-4.0.3\libtiff to v3d_main/common_lib/include