Problem with compilation

Dirk Hohndel dirk at hohndel.org
Tue Dec 10 05:17:38 UTC 2013


You have almost certainly old .h files sitting around in your tree
somewhere... 

git clean -f

will help (but run it with --dry-run in case it wants to remove some
files you'd rather keep around)

/D

On Tue, 2013-12-10 at 14:11 +0100, Ďoďo wrote:
> Folks,
> 
> 
> alredy several weeks I have problem to compile subsurface. First I
> thought it is some bug, so I was just waiting few days, but because
> problem is still there, I think I am doing something wrong:
> 
> compiling qt-ui/divecomputermanagementdialog.cpp
> compiling qt-ui/divelistview.cpp
> compiling qt-ui/diveplanner.cpp
> qt-ui/diveplanner.cpp: In constructor
> ‘DivePlannerWidget::DivePlannerWidget(QWidget*, Qt::WindowFlags)’:
> qt-ui/diveplanner.cpp:960:5: error: ‘class Ui::DivePlanner’ has no
> member named ‘cylinderTableWidget’
>   ui.cylinderTableWidget->setTitle(tr("Available Gases"));
>      ^
> qt-ui/diveplanner.cpp:961:5: error: ‘class Ui::DivePlanner’ has no
> member named ‘cylinderTableWidget’
>   ui.cylinderTableWidget->setModel(CylindersModel::instance());
>      ^
> qt-ui/diveplanner.cpp:962:24: error: ‘class Ui::DivePlanner’ has no
> member named ‘cylinderTableWidget’
>   QTableView *view = ui.cylinderTableWidget->view();
>                         ^
> qt-ui/diveplanner.cpp:967:13: error: ‘class Ui::DivePlanner’ has no
> member named ‘cylinderTableWidget’
>   connect(ui.cylinderTableWidget, SIGNAL(addButtonClicked()),
> DivePlannerPointsModel::instance(), SLOT(addCylinder_clicked()));
>              ^
> qt-ui/diveplanner.cpp:982:13: error: ‘class Ui::DivePlanner’ has no
> member named ‘gfhigh’
>   connect(ui.gfhigh, SIGNAL(valueChanged(int)), plannerModel,
> SLOT(setGFHigh(int)));
>              ^
> qt-ui/diveplanner.cpp:983:13: error: ‘class Ui::DivePlanner’ has no
> member named ‘gflow’
>   connect(ui.gflow, SIGNAL(valueChanged(int)), plannerModel,
> SLOT(setGFLow(int)));
>              ^
> qt-ui/diveplanner.cpp:998:5: error: ‘class Ui::DivePlanner’ has no
> member named ‘gflow’
>   ui.gflow->setValue(prefs.gflow);
>      ^
> qt-ui/diveplanner.cpp:999:5: error: ‘class Ui::DivePlanner’ has no
> member named ‘gfhigh’
>   ui.gfhigh->setValue(prefs.gfhigh);
>      ^
> qt-ui/diveplanner.cpp: In member function ‘void
> DivePlannerWidget::settingsChanged()’:
> qt-ui/diveplanner.cpp:1007:5: error: ‘class Ui::DivePlanner’ has no
> member named ‘gflow’
>   ui.gflow->setValue(prefs.gflow);
>      ^
> qt-ui/diveplanner.cpp:1008:5: error: ‘class Ui::DivePlanner’ has no
> member named ‘gfhigh’
>   ui.gfhigh->setValue(prefs.gfhigh);
>      ^
> make: *** [.obj/diveplanner.o] Error 1
> 
> commit 9545745c90874390e1d9ba740061fca9cb20fcdb
> Author: Willem Ferguson <willemferguson at zoology.up.ac.za>
> Date:   Tue Dec 10 11:05:35 2013 +0200
> 
> 
> 
> any hing is welcome
> 
> thanks
> 
> dodo
> 
> 
> _______________________________________________
> subsurface mailing list
> subsurface at hohndel.org
> http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface




More information about the subsurface mailing list