Forum Updated on Feb 6th
This topic has been deleted. Only users with topic management privileges can see it.
-
Hi,
I am developing an image processing application in Qt. I had problems with libs. I tried commenting all the libs, which I was not using. Now the build happens correctly. But I get this error when I run the application. What’s reason for this error. I use VS 20!2, Qt 4.8.5 and QMake for building. -
Hi,
It’s not a compilation issue. You have one or more missing dependencies when starting your application. Check that the PATH contains all folders to the dlls your application needs
-
Just a side note:
This exit code should be interpreted as an unsigned 32-Bit value. Then you get -1073741515 ⇒ 0xC0000135, which is the «NT status code»:http://www.tenox.net/links/ntstatus.html for STATUS_DLL_NOT_FOUND. It means Windows could not start the program, because a required DLL file is missing.
-
Hi,
I checked running the .exe which was generated it pops up itkcommon.dll is not found. But I built all the libs as static, not dynamic. I have also added the libpath of itk and vtk in environmental variables.Is there any work around for the problem? -
Put «itkcommon.dll» into the same directory where the EXE file is located. Alternatively you could put it into one of the directories in your PATH environment variable or into the SYSTEM directory.
For details see «Dynamic-Link Library Search Order»:http://tinyurl.com/q2t6jjf.
Furthermore, I highly recommend you try this tool:
[url]http://www.dependencywalker.com/[/url]DependencyWalker is a must-have for tracking down DLL dependencies
-
Hi,
But the problem is i built all the libs as static, not dynamic. I have already added the static lib to the project file, i couldn’t find the itkcommon.dll as i didn’t built any libs as dynamic… -
If your application depends on «itkcommon.dll», which it obviously does (but you may want to verify that with Dependency Walker), it was built using a dynamically linked version ITK. No doubt about that. So if you want to link statically, please make sure you really have built ITK as a static lib and that you are linking against the correct (static) .lib file! Please keep in mind that, on Windows, there are two completely different «flavors» of .lib files: Static libraries and import libraries. Import libraries are .lib files too, but they’re only «stub» files that make your EXE file depend on the corresponding DLL.
- Forum
- Qt
- Qt Programming
- 1073741515 problem
-
1st December 2013, 00:03
#1
1073741515 problem
This is the strangest thing I have seen in Qt. Built a simple test application with one external library plus qwt.
Just one other source file plus the main window.Compiles fine, runs fine, no errors. Then just change the title in the main window. Recompile (ok) and run and get the 1073741515 error. I have tried this in multiple little test projects and it happens every time.
Driving me nuts, any advice greatly appreciated.Thanks
WaynePortaudio_Test.zip
-
1st December 2013, 09:35
#2
Re: 1073741515 problem
When quote error numbers and messages it is important to be precise. The error number is «-1073741515» not «1073741515». The value -1073741515 is 0xC0000135 in hex, which basically means «some dll not found».
In this case it is likely to be the Qwt or the other library not being in the run-time environment.
-
1st December 2013, 13:53
#3
Re: 1073741515 problem
Thanks Chris. Does it matter where the libraries are, so long as the pro file specifies the location correctly?
Here is the pro file:QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = Portaudio_Test
TEMPLATE = app
SOURCES += main.cpp
mainwindow.cpp
helloring.cpp
HEADERS += mainwindow.h
helloring.h
FORMS += mainwindow.ui
INCLUDEPATH += C:/development/qt_projects/portaudio_test/portaudio/include
LIBS += -L"C:/development/QT_Projects/portaudio_test/portaudio/lib"
LIBS += -lportaudio_x86
INCLUDEPATH += C:/development/qt_projects/qwt/qwt-6.1-rc3/src
LIBS += -L"C:/development/qt_projects/qwt/qwt-6.1-rc3/lib"
LIBS += -lqwt
CONFIG += debug
qwt
To copy to clipboard, switch view to plain text mode
-
1st December 2013, 18:43
#4
Re: 1073741515 problem
LIBS directive specifies location of lib files for linker. You have a problem with location of DLL files and this is a runtime problem.
-
The following user says thank you to Lesiok for this useful post:
K4ELO (1st December 2013)
-
1st December 2013, 23:32
#5
Re: 1073741515 problem
The DLLs need to be in the same directory as the executable, the current working directory, one of the windows directories, or located somewhere on the PATH
http://msdn.microsoft.com/en-us/libr…/7d83bc18.aspx
-
The following user says thank you to ChrisW67 for this useful post:
K4ELO (1st December 2013)
Similar Threads
-
Replies: 2
Last Post: 13th February 2013, 16:02
-
Replies: 1
Last Post: 9th May 2012, 12:58
-
Replies: 4
Last Post: 6th April 2010, 14:54
Bookmarks
Bookmarks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
- BB code is On
- Smilies are On
- [IMG] code is On
- [VIDEO] code is On
- HTML code is Off
Forum Rules
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.
__Heaven__
Джедай : наставник для всех Сообщений: 2129
|
Здравствуйте! :-1: ошибка: [ui_mainwindow.h] Error -1073741515 Что можно в этой ситуации исправить? |
||
|
Пантер
Administrator Сообщений: 5876 Жаждущий знаний |
Это не вся ошибка. Давай полный лог сборки. |
||
1. Qt — Qt Development Frameworks; QT — QuickTime |
__Heaven__
Джедай : наставник для всех Сообщений: 2129
|
12:49:05: Выполняются этапы для проекта ProCASTilCut… |
||
|
__Heaven__
Джедай : наставник для всех Сообщений: 2129
|
При пересборке 13:22:45: Выполняются этапы для проекта ProCASTilCut… |
||
|
Пантер
Administrator Сообщений: 5876 Жаждущий знаний |
Пропробуй qmake прогнать. |
||
1. Qt — Qt Development Frameworks; QT — QuickTime |
__Heaven__
Джедай : наставник для всех Сообщений: 2129
|
Я разобрался с ошибкой. Дело было в отсутствующих icu dll в папке mingw bin |
||
|