|
View:
New views
1 Messages
—
Rating Filter:
Alert me
|
|
|
Qt terminal and Wxt terminal on Mac Os X - no successHi all,
this is my first post in the mailing list. First of all, thank you to all developers for the great software; I use it daily at work and it never failed me. However, I got tired of the usual X11 terminal. I wanted a terminal with antialias but I was not satisfied by Aquaterm (no zooming...). Hence, I tried to install Qt terminal (see http://www.nabble.com/Qt-terminal-td21784702.html#a21803303 and http://www.nabble.com/Qt-terminal-td25149285.html) and wxt terminal. Alas, I had no success. These are my experiences: 1) QT TERMINAL: On compile time, I have to manually set the following QT flags: export QT_LIBS='-L/usr/lib -L/Library/Frameworks -framework QtCore - framework QtSvg -framework QtNetwork -framework QtGui' export QT_CFLAGS='-I/Library/Frameworks/QtCore.framework/Headers -I/ Library/Frameworks/QtNetwork.framework/Headers -I/Library/Frameworks/ QtGui.framework/Headers -I/Library/Frameworks/QtSvg.framework/Headers' The command "./configure --enable-qt" gives me the reassuring "Qt terminal: yes (EXPERIMENTAL)." among the other messages. Then, I execute "make". I immediately get these errors: Making all in qtterminal make[3]: Nothing to be done for `all'. o ui_QtGnuplotSettings.h qtterminal/QtGnuplotSettings.ui make[3]: o: No such file or directory make[3]: [ui_QtGnuplotSettings.h] Error 1 (ignored) o moc_QtGnuplotWindow.cpp qtterminal/QtGnuplotWindow.h make[3]: o: No such file or directory o moc_QtGnuplotApplication.cpp qtterminal/QtGnuplotApplication.h make[3]: o: No such file or directory make[3]: [moc_QtGnuplotWindow.cpp] Error 1 (ignored) o moc_QtGnuplotWidget.cpp qtterminal/QtGnuplotWidget.h make[3]: o: No such file or directory make[3]: [moc_QtGnuplotApplication.cpp] Error 1 (ignored) o moc_QtGnuplotScene.cpp qtterminal/QtGnuplotScene.h make[3]: o: No such file or directory make[3]: [moc_QtGnuplotWidget.cpp] Error 1 (ignored) o moc_QtGnuplotEvent.cpp qtterminal/QtGnuplotEvent.h make[3]: o: No such file or directory make[3]: [moc_QtGnuplotScene.cpp] Error 1 (ignored) Then, it continues to compile correctly for a while, until I get this error: "qtterminal/QtGnuplotWidget.cpp:280:34: error: ui_QtGnuplotSettings.h: No such file or directory" followed by qtterminal/QtGnuplotWidget.cpp: In member function ‘void QtGnuplotWidget::showSettingsDialog()’: qtterminal/QtGnuplotWidget.cpp:285: error: invalid use of incomplete type ‘struct Ui_settingsDialog’ qtterminal/QtGnuplotWidget.h:53: error: forward declaration of ‘struct Ui_settingsDialog’ qtterminal/QtGnuplotWidget.cpp:286: error: invalid use of incomplete type ‘struct Ui_settingsDialog’ qtterminal/QtGnuplotWidget.h:53: error: forward declaration of ‘struct Ui_settingsDialog’ qtterminal/QtGnuplotWidget.cpp:287: error: invalid use of incomplete type ‘struct Ui_settingsDialog’ qtterminal/QtGnuplotWidget.h:53: error: forward declaration of ‘struct Ui_settingsDialog’ qtterminal/QtGnuplotWidget.cpp:288: error: invalid use of incomplete type ‘struct Ui_settingsDialog’ qtterminal/QtGnuplotWidget.h:53: error: forward declaration of ‘struct Ui_settingsDialog’ qtterminal/QtGnuplotWidget.cpp:289: error: invalid use of incomplete type ‘struct Ui_settingsDialog’ qtterminal/QtGnuplotWidget.h:53: error: forward declaration of ‘struct Ui_settingsDialog’ qtterminal/QtGnuplotWidget.cpp:291: error: invalid use of incomplete type ‘struct Ui_settingsDialog’ qtterminal/QtGnuplotWidget.h:53: error: forward declaration of ‘struct Ui_settingsDialog’ qtterminal/QtGnuplotWidget.cpp:293: error: invalid use of incomplete type ‘struct Ui_settingsDialog’ qtterminal/QtGnuplotWidget.h:53: error: forward declaration of ‘struct Ui_settingsDialog’ qtterminal/QtGnuplotWidget.cpp:299: error: invalid use of incomplete type ‘struct Ui_settingsDialog’ qtterminal/QtGnuplotWidget.h:53: error: forward declaration of ‘struct Ui_settingsDialog’ qtterminal/QtGnuplotWidget.cpp:300: error: invalid use of incomplete type ‘struct Ui_settingsDialog’ qtterminal/QtGnuplotWidget.h:53: error: forward declaration of ‘struct Ui_settingsDialog’ qtterminal/QtGnuplotWidget.cpp: In member function ‘void QtGnuplotWidget::settingsSelectBackgroundColor()’: qtterminal/QtGnuplotWidget.cpp:309: error: invalid use of incomplete type ‘struct Ui_settingsDialog’ qtterminal/QtGnuplotWidget.h:53: error: forward declaration of ‘struct Ui_settingsDialog’ qtterminal/QtGnuplotWidget.cpp:311: error: invalid use of incomplete type ‘struct Ui_settingsDialog’ qtterminal/QtGnuplotWidget.h:53: error: forward declaration of ‘struct Ui_settingsDialog’ make[3]: *** [QtGnuplotWidget.o] Error 1 make[3]: *** Waiting for unfinished jobs.... mv -f .deps/QtGnuplotScene.Tpo .deps/QtGnuplotScene.Po make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 The compile command that generated this error was: /Developer/usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I.. -I../term -I../ term -DBINDIR=\"/usr/local/bin\" -DX11_DRIVER_DIR=\"/usr/local/libexec/ gnuplot/4.5\" -DGNUPLOT_PS_DIR=\"/usr/local/share/gnuplot/4.5/ PostScript\" -DGNUPLOT_JS_DIR=\"/usr/local/share/gnuplot/4.5/js\" - DCONTACT=\"gnuplot-bugs@...\" -DHELPFILE=\"/usr/ local/share/gnuplot/4.5/gnuplot.gih\" -DGNUPLOT_X11=\"`echo gnuplot_x11 | sed 's,x,x,'`\" -DQTGNUPLOT_DATA_DIR=\"/usr/local/share/ gnuplot/4.5/qt\" -I/opt/local/include -I/opt/local/include/cairo -I/ opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/ include -I/opt/local/include/libpng12 -I/opt/local/include/pango-1.0 - I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/ opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/ include/freetype2 -I/opt/local/include -I/opt/local/include/libpng12 - I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/ local/lib/glib-2.0/include -I/Library/Frameworks/QtCore.framework/ Headers -I/Library/Frameworks/QtNetwork.framework/Headers -I/Library/ Frameworks/QtGui.framework/Headers -I/Library/Frameworks/ QtSvg.framework/Headers -g -O2 -I/usr/local/lib/wx/include/osx_cocoa- unicode-release-static-2.9 -I/usr/local/include/wx-2.9 - D_FILE_OFFSET_BITS=64 -D__WXOSX_COCOA__ -I/opt/local/include/cairo -I/ opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/ include -I/opt/local/include/libpng12 -I/opt/local/include/pango-1.0 - I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -MT QtGnuplotScene.o -MD -MP -MF .deps/QtGnuplotScene.Tpo -c -o QtGnuplotScene.o `test -f 'qtterminal/QtGnuplotScene.cpp' || echo './'`qtterminal/QtGnuplotScene.cpp 2) WXT TERMINAL: No problems at compile time. After issuing to Gnuplot "set term wxt; plot x", I succesfully obtain the plot but (i) it has no frame, nor menus and (ii) I cannot click on it (spinning wheel pointer). Gnuplot repeats for several times this error message: "2009-10-28 12:05:19.521 gnuplot[28832:903] *** __NSAutoreleaseNoPool (): Object 0x101671710 of class NSEvent autoreleased with no pool in place - just leaking". My computer's spec are: Mac Os X 10.6 aka Snow Leopard gcc 2.1 provided by Apple Qt 4.6 (I tried with Qt 4.5.3 and I got the same result) wxWidgets 2.9 Thank you very much for any help! Regards, Guido ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Gnuplot-info mailing list Gnuplot-info@... https://lists.sourceforge.net/lists/listinfo/gnuplot-info |
| Free embeddable forum powered by Nabble | Forum Help |