Compile Imatest IT with VS2010
Let’s set colorchecker as example. First download Imatet IT and Matlab Compiler Runtime Library(MCR) package.
http://www.imatest.com/packages/MCRInstaller.exe
http://store.imatest.com/imatest-industrial-testing-edition.html
(1)Install Imatest IT & MCR and go into “\samples\colorcheck” folder.
imatest_colorcheck.h
main.cpp
(2)New VS project and put two files above into the project.
(3)set header file path.
Project > properties > configuration properties > c/c++ > general > additional include directories
C:\Program Files\MATLAB\MATLAB Compiler Runtime\v714\extern\include
(4)set lib file path.
Project > properties > configuration properties > linker > general > additional library directories
C:\Program Files\MATLAB\MATLAB Compiler Runtime\v714\extern\lib\win32\microsoft
C:\Program Files\Imatest\IT\libs\colorcheck\cpp
(5)set lib name which used
mclmcrrt.lib
imatest_colorcheck.lib
(6)compile and link.
(7)put “imatest_colorcheck.dll” into current folder.