Page 1 of 1

X2 PRO error: KMP_DUPLICATE_LIB

Posted: Wed Sep 24, 2008 6:00 pm
by rkartzinel
I receive the following message when I click on any video to add to the project or click on SmartProxy:

OMP abort: Intializing lidguide.lib, but found libguid40, dell already initializez.
This may cause preformance KMP_DUPLICATE_LIB _OK=TRUE to ignore this problem and force
thr program to continue anyway.
Please note that the use of KMP_DUPLICAT_LIB_OK is Unsupported and using it may cause
undefined behavioer.
For more infomation,please contact Intel(R) Premier Support.

Intel says the follwing:
Cause:
mkl_c.lib is one of mkl static library interface. It defines libguide.lib as a default library for resolution of threading library calls. But other Intel® software such as Intel® IPP, Intel® C++ Compiler and Intel® OpenCV defined libguid40.lib as default. So the error arises because of the duplicate initialization of libguide.lib when using static MKL library and other Intel software at the same time.
Solution:
You could 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.
Operating System:
Windows* XP Professional, Windows* XP Home Edition, Windows* XP Tablet PC Edition, Windows* XP Media Center Edition
This applies to: Intel® Math Kernel Library (Intel® MKL) for Windows*

What do I do to fix this problem?
I cant find this item in the registry. I still have VS 11.5 PLUS on the computer and never had this problem,

Thank you.

Posted: Thu Sep 25, 2008 2:36 pm
by Clevo
This is indeed the most unusual problem I have seen on these pages.

If I am reading this correctly it seem to programs are accessing the same DLL and there is a conflict.

When you get this error message...is it generated by Windows or Video studio. If the former it perhaps something you have running in the background.

Try examining Windows Event Viewer for clues as to which other program is using the same dll when the crash occures.

This is not my area, just guessing and I hate to see posts unanswered.

more info for Clevo

Posted: Thu Sep 25, 2008 4:32 pm
by rkartzinel
The message is white text on a black pop-up that lasts only a few seconds and then VS closes. Looks like a DOS message. I have not seen it with any other program. There is nothing unusual runnung in the background but I will try shutting things down that were running OK with VS 11.5. I have searched my computer and can't find the dll in question. On the web, the there is a Japanese post for VS 12 with the same problem, I cant read the solution.

Any idea how I apply the Intel fix?

Posted: Fri Sep 26, 2008 1:51 am
by Clevo
I have no idea how to follow the Intel's suggested fix.

What you can do though is check for viruses, just to be safe that it's not a trojan accessing the same DLL

error only with divx

Posted: Mon Oct 06, 2008 8:08 pm
by surfer
I have the same error. A dos box with libguide errors and above. But with me it only occurs when opening divx files. My cam files doesn't have this problem. When i open a project made with stuido 11 with divx in it it is also the same problem.

No viruses etc on my pc.

solution

Posted: Tue Oct 07, 2008 5:05 pm
by rkartzinel
I found the solution. You need to set an environmental variable of KMP_DUPLICATE_LIB _OK with a value of TRUE. In Vista, go to Control Panel - System & Maintenance - System - Advanced System Setting on the left side - Envoronmental Variables - User Variables. Create a new variable with the variable name KMP_DUPLICATE_LIB _OK and a variable value TRUE