To use LIBTIFF in your existing VC++ 6.0 Project/WorkSpace, you need to do the following setting modifications:
- Open your existing Project/WorkSpace file in VC++ 6.0
- Choose Project-Settings... menu item.
- Click "C/C++" tab.
- Choose "Preprocessor" item in the "Category:" menu.
- Choose "All Configurations" item in the "Settings for" menu.
- Add to the "Additional Include Directories:" field the path to the include directory of the libtiff folder.
- Choose "Code Generation" item from the "Category" menu
- Choose "Win32 Release" item in the "Settings for:" menu
- Select "Multithreaded" option in the "Use run-time library:" menu.
- Select "Win32 Debug" item in the "Settings for:" menu
- Set "Use run-time library" menu to the option "Debug Multithreaded".
- Click "Link" tab in the dialog.
- Select "Input" item in the "Category:" menu.
- Choose "All Configurations" item in the "Settings for:" menu
- Add to the "Additional library path:" the path to the lib folder in the libtiff folder.
- Choose "Win32 Release" item in the "Settings for:" menu
- Add to the "Object/library modules:" field: libtiff.lib
- Choose "Win32 Debug" item in the "Settings for:" menu
- Add following text to the "Object/library modules:" field: dlibtiff.lib.
- Click "Ok".
No comments:
Post a Comment