qt erreur 0xc0000135
Afficher commentaires plus anciens
i want call MATLAB Script from QT Creator i use ENGINE MATLAB , i add the libeng and libmx librairies in QT , i test a simple example , in executin it appears a black windows whit the error message : DURING STARTUP PROGRAM EXITED WHIT CODE 0xC0000135 the program is not being run
my file .pro :
QT += datavisualization
QT+=widgets
QT += script
QT -= gui
TARGET = QtScript
CONFIG += console
CONFIG -= app_bundle
TEMPLATE = app
SOURCES += main.cpp
LIBS += -L"C:/Program Files (x86)/MATLAB/R2013a/extern/lib/win32/microsoft" -llibeng \
-L"C:/Program Files (x86)/MATLAB/R2013a/extern/lib/win32/microsoft" -llibmx
INCLUDEPATH += "C:/Program Files (x86)/MATLAB/R2013a/extern/include"
file main.cpp :
#include <QApplication>
#include <stdio.h>
#include<iostream>
#include "engine.h"
int main(int argc, char **argv)
{
Engine *eng = engOpen("NULL");
engEvalString(eng,"testPlot.m");
}
execution result:

error message :

Réponses (1)
Guillaume
le 3 Août 2018
0 votes
0xC0000135 is possibly STATUS_DLL_NOT_FOUND. Make sure all the required dlls are installed. If necessary use procmon to see which dlls your program attempts to load and fail to find.
Catégories
En savoir plus sur Deploy to C++ Applications Using mwArray API (C++03) dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!