/
Visual Studio Compiler Settings for Imatest IT

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

Related content

Error Message: “An unhandled exception of type ‘System.BadImageFormatException'”
Error Message: “An unhandled exception of type ‘System.BadImageFormatException'”
More like this
Visual C++ Runtime Library: “The Application has requested the Runtime to terminate in an unusual way. “
Visual C++ Runtime Library: “The Application has requested the Runtime to terminate in an unusual way. “
More like this
Matlab Compiler Runtime (MCR) versions
Matlab Compiler Runtime (MCR) versions
More like this
Imatest does not start, unable to read MAT-file
Imatest does not start, unable to read MAT-file
More like this
Invalid MEX File rjpg8c.mexw32
Invalid MEX File rjpg8c.mexw32
More like this
Imatest 5.2: MATLAB Runtime Update 5 or greater required
Imatest 5.2: MATLAB Runtime Update 5 or greater required
More like this