Reputation: 565
I'm currently working on a QT application, targeting windows platform.
After compiling and installing ITPP (it++ library) on my system, I've tried to add it to this project, but after linking .lib and adding header files, when I try to include and use it, application crashes on start without any output!
What I get in application output:
AppName.exe exited with code -1073741515
In .pro file: (.lib and header folders are in root directory)
win32: LIBS += -L$$PWD/./ -litpp
INCLUDEPATH += $$PWD/.
DEPENDPATH += $$PWD/.
The code which causes the crash:
#include <itpp/itcomm.h>
using namespace itpp;
using namespace std;
... (sample from test files)
Upvotes: 1
Views: 785
Reputation: 10837
The error code you get, -1073741515
, is in hex 0xc0000135
. According to the Microsoft documentation for status codes, there is a missing dll
:
STATUS_DLL_NOT_FOUND {Unable To Locate Component} This application has failed to start because %hs was not found. Reinstalling the application might fix this problem.
Copy the dependent dll
s to a folder of the PATH
environment variable or to the location of your executable.
Upvotes: 2