Error using Intel compilers with FlyCapture programs.

Last Revision Date: 6/8/2015

This article explains why some versions of the FlyCapture SDK may report link errors when using the Intel compiler.      


Users have reported an error when using an Intel compiler rather than the Microsoft Visual Studio compiler:

OMP abort : Initializing libguide.lib, but found libguide40.lib already initialized.

 To resolve the problem, users can do one of two things:

    1. Set environment variable KMP_DUPLICATE_LIB_OK=TRUE if you want your program to continue in this case.
    2. Use linker switch /nodefaultlib:libguide.lib and link with libguide40.lib by adding the option to the link line or in project option. For example, link users.obj mkl_c.lib /nodefaultlib:libguide.lib libguide40.lib. This will stop mkl_c.lib from defining libguide.lib as a default library for resolution of threading library calls.
Related Articles