[Interest] dependent foo.cpp does not exist.

Thomas Sevaldrud thomas at silentwings.no
Tue May 27 16:50:48 CEST 2014


Hi,

I'm getting these strange errors all the time when trying to build my
projects now... I'm using shadow building and I get these "dependent
<somefile>.cpp does not exist". In some cases the problem goes away when
deleting the entire build folder and re-configuring, but not always... I
can't see any particular pattern in these errors, other than that the file
it complaints about definitely exists in the location pointed to by the
error message. For example:

16:42:48: Running steps for project SilentToolkit...

16:42:48: Configuration unchanged, skipping qmake step.

16:42:48: Starting: "C:\Qt\Tools\QtCreator\bin\jom.exe"

cd StkMeshGraphicsModel\ && ( if not exist Makefile
C:\Qt\5.2.1\msvc2012\bin\qmake.exe
C:\Projects\MARIA\Branches\Development\MariaNG1.0\Native\ThirdParty\SilentToolkit\tests\libs\StkScene\StkMeshGraphicsModel\StkMeshGraphicsModel.pro
-spec win32-msvc2012 CONFIG+=debug CONFIG+=declarative_debug
CONFIG+=qml_debug -o Makefile ) && C:\Qt\Tools\QtCreator\bin\jom.exe -f
Makefile

C:\Qt\Tools\QtCreator\bin\jom.exe -f Makefile.Debug

Error: dependent
'..\..\..\..\..\..\MARIA\Branches\Development\MariaNG1.0\Native\ThirdParty\SilentToolkit\tests\libs\StkScene\StkMeshGraphicsModel\tst_StkMeshGraphicsModelTest.cpp'
does not exist.

jom:
C:\Projects\builds\SilentToolkit-Desktop_Qt_5_2_1_MSVC2012_32bit-Debug\tests\libs\StkScene\StkMeshGraphicsModel\Makefile
[debug] Error 2

jom:
C:\Projects\builds\SilentToolkit-Desktop_Qt_5_2_1_MSVC2012_32bit-Debug\tests\libs\StkScene\Makefile
[sub-StkMeshGraphicsModel-make_first] Error 2

16:42:48: The process "C:\Qt\Tools\QtCreator\bin\jom.exe" exited with code
2.

Error while building/deploying project SilentToolkit (kit: Desktop Qt 5.2.1
MSVC2012 32bit)

When executing step 'Make'

16:42:48: Elapsed time: 00:00.


It is very hard to reproduce with an isolated example. It happens on
various machines, and with various projects. All these projects include a
common qmake include file, and it's probably something stupid I've done
there, but I just wanted to ask if anybody have had similar problems, or
any helpful advice on how to debug this...

Cheers,
Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140527/de62e42c/attachment.html>


More information about the Interest mailing list