Solved "CDB process terminated" + IMSL C Library
-
First of all: I read another posts about this kind or Qt Creator IDE error...but I not found a solution to my case.
I'm developing my Qt application using Qt Creator IDE and today I needed to include a C library called "IMSL C Numerical Library":
linkSo, in my Qt *.pro file I added:
INCLUDEPATH += "C:\Program Files (x86)\RogueWave\imsl\cnl-2019.0.0\winms190x64\include" LIBS += -L"C:\Program Files (x86)\RogueWave\imsl\cnl-2019.0.0\winms190x64\lib" imslcmath_dll.lib
and in my C++ header file I put:
extern "C" { #include <imsl.h> }
And inside the C++ source-file I used one IMSL function.
After that, I rebuilded my Qt project and it compiles and links Ok! No errors!
But when I click "Run" or "Start Debug", the program crash and I got this error message:
If I remove the IMSL library and comment the IMSL function, everything return to work good! Run and "Start Debug" ok"
What I have to do?
My system is:
- Windows 10 x64
- Qt Creator IDE 4.10.1 (32 bit IDE)
- Visual Studio 2019 Enterprise
- IMSL C Numerical 2019 x64
-
I found a solution.
IMSL functions need the Intel MKL libraries...
So, just include in the *.pro file:LIBS += -L"C:\Program Files (x86)\RogueWave\imsl\cnl-2019.0.0\winms190x64\mkl\11.3.3\lib\intel64"