Parallel make fails

Dirk Hohndel dirk at hohndel.org
Fri Jan 24 07:46:18 UTC 2014


On Fri, 2014-01-24 at 16:23 +0200, Sergey Starosek wrote:
> Currently parallel make (-j8) fails with the following error:
> 
> 
> compiling qt-ui/profile/profilewidget2.cpp
> In file included from qt-ui/profile/profilewidget2.cpp:21:0:
> qt-ui/mainwindow.h:14:27: fatal error: ui_mainwindow.h: No such file
> or directory
> compilation terminated.
> make: *** [.obj/profilewidget2.o] Error 1
> make: *** Waiting for unfinished jobs....
> 
> 
> Attached patch solves it for me but I'm not sure whether it's correct.

With your patch I get


compiling qt-ui/profile/profilewidget2.cpp
qt-ui/profile/profilewidget2.cpp: In constructor ‘ProfileWidget2::ProfileWidget2(QWidget*)’:
qt-ui/profile/profilewidget2.cpp:358:13: error: ‘mainWindow’ was not declared in this scope
  mainWindow()->tabWidget()->addTab(diveDepthTableView, "Depth Model");
             ^


I'm surprised this compiled for you

/D



More information about the subsurface mailing list