[Interest] dependent foo.cpp does not exist.

Scott Aron Bloom scott.bloom at onshorecs.com
Tue May 27 19:34:30 CEST 2014


Try again.



-----Original Message-----
From: interest-bounces+scott.bloom=onshorecs.com at qt-project.org [mailto:interest-bounces+scott.bloom=onshorecs.com at qt-project.org] On Behalf Of John Weeks
Sent: Tuesday, May 27, 2014 10:34 AM
To: Interest at qt-project.org
Subject: Re: [Interest] dependent foo.cpp does not exist.

I forget the exact symptoms, be we've had strange problems like that if there are two different files in the project that have the same names.

-John Weeks

On May 27, 2014, at 7:50 AM, Thomas Sevaldrud <thomas at silentwings.no> wrote:

> 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\Si
> lentToolkit\tests\libs\StkScene\StkMeshGraphicsModel\StkMeshGraphicsMo
> del.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
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest

_______________________________________________
Interest mailing list
Interest at qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest



More information about the Interest mailing list