help
help > RE: Matlab toolbox build problem (missing tiff.h)
Feb 22, 2016 07:02 PM | Zhi Zhou
RE: Matlab toolbox build problem (missing tiff.h)
Mario,
It seems you are missing tiff library. Yes, you can build Vaa3D first following the instruction (https://github.com/Vaa3D/Vaa3D_Wiki/wiki...). In this way, the tiff library will be built automatically. Or you can just build tiff library under v3d_external/v3d_main/common_lib/src_packages/ folder. Following the instruction below, you should be able to build the tiff library appropriately (assume you are using Mac 64bit) .
cd v3d_external/v3d_main/common_lib/src_packages
tar zxvf tiff-4.0.2.tar.gz
cd ../
TIFFPATH='pwd'
cd build
../src_packages/tiff-4.0.2/configure -prefix=$TIFFPATH CFLAGS="-arch x86_64" CXXFLAGS="-arch x86_64" --disable-jpeg --disable-zlib --disable-pixarlog
make clean
make
make install
mv ../lib/libtiff.a ../lib/libv3dtiff.a
mv ../lib/libtiff.dylib ../lib/libv3dtiff.dylib
if [ ! -d ../lib_mac64 ]; then
mkdir ../lib_mac64
fi
cp ../lib/libv3dtiff.a ../lib_mac64/.
cp ../lib/libv3dtiff.dylib ../lib_mac64/.
It seems you are missing tiff library. Yes, you can build Vaa3D first following the instruction (https://github.com/Vaa3D/Vaa3D_Wiki/wiki...). In this way, the tiff library will be built automatically. Or you can just build tiff library under v3d_external/v3d_main/common_lib/src_packages/ folder. Following the instruction below, you should be able to build the tiff library appropriately (assume you are using Mac 64bit) .
cd v3d_external/v3d_main/common_lib/src_packages
tar zxvf tiff-4.0.2.tar.gz
cd ../
TIFFPATH='pwd'
cd build
../src_packages/tiff-4.0.2/configure -prefix=$TIFFPATH CFLAGS="-arch x86_64" CXXFLAGS="-arch x86_64" --disable-jpeg --disable-zlib --disable-pixarlog
make clean
make
make install
mv ../lib/libtiff.a ../lib/libv3dtiff.a
mv ../lib/libtiff.dylib ../lib/libv3dtiff.dylib
if [ ! -d ../lib_mac64 ]; then
mkdir ../lib_mac64
fi
cp ../lib/libv3dtiff.a ../lib_mac64/.
cp ../lib/libv3dtiff.dylib ../lib_mac64/.
Threaded View
| Title | Author | Date |
|---|---|---|
| Hanchuan Peng | Aug 29, 2011 | |
| mario negrello | Feb 22, 2016 | |
| Zhi Zhou | Feb 22, 2016 | |
| mario negrello | Feb 22, 2016 | |
| Mark Schroeder | Aug 29, 2011 | |
| Hanchuan Peng | Aug 29, 2011 | |
| Mark Schroeder | Aug 31, 2011 | |
| Hanchuan Peng | Aug 31, 2011 | |
| Mark Schroeder | Sep 1, 2011 | |
