|
From: | Laurent Hoeltgen |
Subject: | Re: GUI compilation failing with Scintilla |
Date: | Mon, 20 Aug 2012 18:58:32 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120714 Thunderbird/14.0 |
Hi, Am 2012-08-20 18:36, schrieb Daniel J Sebald:
I've tried compiling the GUI. It fails with the following:libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../libgui/src -I../.. -I/usr/include -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtNetwork -I../../../libgui/src/../qterminal/libqterminal -I../../../libgui/src/m-editor -I../../../libgui/src/octave-adapter -I../../../libgui/src/qtinfo -I../../../libgui/src/../../libcruft/misc -I../../liboctave -I../../../libgui/src/../../liboctave -I../../libinterp -I../../libinterp/interp-core -I../../libinterp/interpfcn -I../../libinterp/parse-tree -I../../../libgui/src/../../libinterp -I../../../libgui/src/../../libinterp/interp-core -I../../../libgui/src/../../libinterp/interpfcn -I../../../libgui/src/../../libinterp/octave-value -I../../../libgui/src/../../libtinerp/operators -I../../../libgui/src/../../libinterp/parse-tree -g -O2 -pthread -I/usr/include/freetype2 -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -pthread -MT liboctgui_la-find-dialog.lo -MD -MP -MF .deps/liboctgui_la-find-dialog.Tpo -c ../../../libgui/src/m-editor/find-dialog.cc -fPIC -DPIC -o .libs/liboctgui_la-find-dialog.o ../../../libgui/src/m-editor/find-dialog.cc: In constructor 'find_dialog::find_dialog(QsciScintilla*, QWidget*)': ../../../libgui/src/m-editor/find-dialog.cc:46:68: warning: declaration of 'parent' shadows a member of 'this' ../../../libgui/src/m-editor/find-dialog.cc: In member function 'void find_dialog::search_next()': ../../../libgui/src/m-editor/find-dialog.cc:150:39: error: no matching function for call to 'QsciScintilla::findFirst(QString, bool, bool, bool, bool, bool, int&, int&, bool, bool)' /usr/include/Qsci/qsciscintilla.h:604:18: note: candidate is: virtual bool QsciScintilla::findFirst(const QString&, bool, bool, bool, bool, bool, int, int, bool)
I had similar issues a few days ago. Just remove the last bool parameter in the function call and the error should go away (at least it did for me).
Also, I'm getting a lot of this kind of warning:../../../libgui/src/workspace-model.h:78:30: warning: declaration of 'row' shadows a member of 'this'Could my version of the QScintilla be out of date? I am trying to compile from a separate build directory; is that an issue?The only thing I see in the config.log related to this is: Qt headers: /usr/include Qt libraries: /usr/lib64 For now I'll compile without GUI. ...Jacob, what are you using to layout the GUI. I've looked at Qt4 Designer and it appears to work with something called a ".ui" file. I see only one or two UI files for the welcome screen and the settings screen.Dan
Regards, Laurent
[Prev in Thread] | Current Thread | [Next in Thread] |