Visual Studio Compiler Settings for Imatest IT
The settings for a Visual Studio project file require that you have proper path includes that point to the appropriate Imatest IT library and Matlab Compiler runtime libraries.
In Visual Studio, from the Projects menu select Properties
Enter these settings:
C/C++ -> Additional Include Directories
3.10+
“C:\Program Files (x86)\MATLAB\MATLAB Compiler Runtime\v81\extern\include”
3.9 and below
“C:\Program Files (x86)\MATLAB\MATLAB Compiler Runtime\v714\extern\include”
Linker -> Input -> Additional Dependencies
3.10+
“C:\Program Files (x86)\MATLAB\MATLAB Compiler Runtime\v81\extern\lib\win32\microsoft\mclmcrrt.lib”;
“C:\Program Files (x86)\imatest\IT\libs\sfr\cpp\imatest_sfr.lib”; (replace sfr with the module you are using)
3.9 and below
“C:\Program Files (x86)\MATLAB\MATLAB Compiler Runtime\v81\extern\lib\win32\microsoft\mclmcrrt.lib”;
“C:\Program Files (x86)\imatest\IT\libs\sfr\cpp\imatest_sfr.lib”; (replace sfr with the module you are using)
Linker -> System
Enable Large Addresses
Yes (/LARGEADDRESSAWARE) – Required for testing images over 10 Megapixels with blemish detect