I am trying to instal OpenCV library.
After the succesful launch of qmake, when trying to build the project I got the following error:
13:40:46: Configuration unchanged, skipping qmake step. 13:40:46: Starting: "D:\Qt\Tools\QtCreator\bin\jom.exe" D:\Qt\Tools\QtCreator\bin\jom.exe -f Makefile.Debug echo 1 /* CREATEPROCESS_MANIFEST_RESOURCE_ID */ 24 /* RT_MANIFEST */ "debug\\Step.exe.embed.manifest">debug\Step.exe_manifest.rc if not exist debug\Step.exe if exist debug\Step.exe.embed.manifest del debug\Step.exe.embed.manifest if exist debug\Step.exe.embed.manifest copy /Y debug\Step.exe.embed.manifest debug\Step.exe_manifest.bak link /NOLOGO /DYNAMICBASE /NXCOMPAT /DEBUG /SUBSYSTEM:CONSOLE "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='22.214.171.124' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'" /MANIFEST /MANIFESTFILE:debug\Step.exe.embed.manifest /OUT:debug\Step.exe @C:\Users\F37D~1\AppData\Local\Temp\Step.exe.6704.0.jom LINK : fatal error LNK1104: jom: D:\Qt\Documents\Step\Makefile.Debug [debug\Step.exe] Error 1104 jom: D:\Qt\Documents\Step\Makefile [debug] Error 2 13:40:46: The process "D:\Qt\Tools\QtCreator\bin\jom.exe" exited with code 2. Error while building/deploying project Step (kit: Desktop Qt 5.4.2 MSVC2010 OpenGL 32bit) When executing step "Make" 13:40:46: Elapsed time: 00:00.
The same problem occur when using Nmake instead of jom.
I am on Windows 7 and using the Microsoft Visual C++ 2010 compiler.
I have no idea what is causing it. Any help would be greatly appreciated, thanks!
Hi and welcome to devnet
Sorry, but I have a very poor experience in programming... I have already inspected the link, you've sent me and did not find a reason of this error (all listed reasons are not applicable to my project). What additioanal information is needed to help me in solving this error?
Unfortunately is my usage of Visual Studio some time back. Furthermore, I have not used it with Qt creator. When switching to creator I have switched also to MinGW compiler. The manifest stuff is not required with MinGW.
I am not sure if it is related to OpenCV lib. I have never used this. Therefore, you might have to wait for a response of someone with OpenCV experience.
However, you should check compiler versions as required by OpenCV and you need a complete match with Qt. The reason is MSVC which is not compatible in obj-modules between different versions. If there is a limitation for usage with a speicial MSVC version by OpenCV, you need to comply. You need to have the MSVC compiler and Qt libs for the same version.
I think, that it is hardly related to the OpenCV lib, as this problem does not occur when using this library in Microsoft Visual C++ Express 2010. The main reason I do not use MinGW - as OpenCV library contain files for VS2010 (the version of the library I use - is 2.4.9 - with the support of VS2010).
The version of Qt - 5.4.2/5.5.0 that support MSVC 2010.