[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: octave mingw problem
From: |
Michael Goffioul |
Subject: |
Re: octave mingw problem |
Date: |
Wed, 23 Nov 2011 07:51:26 +0000 |
On Tue, Nov 22, 2011 at 11:44 PM, Ben Abbott <address@hidden> wrote:
> Ok. That fixed the problem with qmake. Now with make I get ....
>
> $ make
> /opt/local/bin/uic src/SettingsDialog.ui -o ui-files/ui_SettingsDialog.h
> /opt/local/bin/uic src/WelcomeWizard.ui -o ui-files/ui_WelcomeWizard.h
> /Developer/usr/bin/llvm-g++-4.2 -c -pipe
> -I/opt/local/include/octave-3.5.0+/octave/..
> -I/opt/local/include/octave-3.5.0+/octave -I/opt/local-native/include -g
> -gdwarf-2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.7 -Wall -W
> -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
> -I/opt/local/share/qt4/mkspecs/macx-g++ -I. -Imoc-files -Isrc -Isrc/terminal
> -Isrc/qirc -Isrc/backend -I-I/opt/local/include/octave-3.5.0+/octave/..
> -I-I/opt/local/include/octave-3.5.0+/octave -I-I/opt/local/include
> -I/opt/local/include/QtWebKit -I/opt/local/include/QtGui
> -I/opt/local/include/QtNetwork -I/opt/local/include/QtCore
> -I/opt/local/include -Iui-files -o object-files/lexeroctavegui.o
> src/lexer/lexeroctavegui.cpp
> In file included from src/lexer/lexeroctavegui.cpp:18:
> src/lexer/lexeroctavegui.h:24:29: error: Qsci/qsciglobal.h: No such file or
> directory
> src/lexer/lexeroctavegui.h:25:28: error: Qsci/qscilexer.h: No such file or
> directory
> In file included from src/lexer/lexeroctavegui.cpp:18:
> src/lexer/lexeroctavegui.h:29: error: expected class-name before ‘{’ token
> src/lexer/lexeroctavegui.cpp: In constructor
> ‘LexerOctaveGui::LexerOctaveGui(QObject*)’:
> src/lexer/lexeroctavegui.cpp:26: error: class ‘LexerOctaveGui’ does not have
> any field named ‘QsciLexer’
> src/lexer/lexeroctavegui.cpp: In member function ‘QColor
> LexerOctaveGui::defaultColor(int) const’:
> src/lexer/lexeroctavegui.cpp:68: error: ‘QsciLexer’ has not been declared
> src/lexer/lexeroctavegui.cpp: In member function ‘QFont
> LexerOctaveGui::defaultFont(int) const’:
> src/lexer/lexeroctavegui.cpp:82: error: ‘QsciLexer’ has not been declared
> src/lexer/lexeroctavegui.cpp:86: error: ‘QsciLexer’ has not been declared
> src/lexer/lexeroctavegui.cpp:89: error: ‘QsciLexer’ has not been declared
> src/lexer/lexeroctavegui.cpp:92: error: ‘QsciLexer’ has not been declared
> make: *** [object-files/lexeroctavegui.o] Error 1
>
> So I istalled qscintilla via macports ...
>
> $ sudo port install qscintilla
>
> "make" not runs without error, but ends with a warning ...
>
> ld: warning: directory not found for option '-L/opt/local-native/lib'
>
> Running produces a lot of warnings and then a crash.
>
> $ ./start.sh
> objc[37537]: Class QCocoaColorPanelDelegate is implemented in both
> /opt/local/lib/libQtGui.4.dylib and /opt/local/lib/libQtGui_debug.4.dylib.
> One of the two will be used. Which one is undefined.
> objc[37537]: Class QMacSoundDelegate is implemented in both
> /opt/local/lib/libQtGui.4.dylib and /opt/local/lib/libQtGui_debug.4.dylib.
> One of the two will be used. Which one is undefined.
> objc[37537]: Class QCocoaPanel is implemented in both
> /opt/local/lib/libQtGui.4.dylib and /opt/local/lib/libQtGui_debug.4.dylib.
> One of the two will be used. Which one is undefined.
> objc[37537]: Class QCocoaView is implemented in both
> /opt/local/lib/libQtGui.4.dylib and /opt/local/lib/libQtGui_debug.4.dylib.
> One of the two will be used. Which one is undefined.
> objc[37537]: Class QCocoaWindow is implemented in both
> /opt/local/lib/libQtGui.4.dylib and /opt/local/lib/libQtGui_debug.4.dylib.
> One of the two will be used. Which one is undefined.
> objc[37537]: Class QCocoaWindowDelegate is implemented in both
> /opt/local/lib/libQtGui.4.dylib and /opt/local/lib/libQtGui_debug.4.dylib.
> One of the two will be used. Which one is undefined.
> objc[37537]: Class QCocoaMenuLoader is implemented in both
> /opt/local/lib/libQtGui.4.dylib and /opt/local/lib/libQtGui_debug.4.dylib.
> One of the two will be used. Which one is undefined.
> objc[37537]: Class QNSApplication is implemented in both
> /opt/local/lib/libQtGui.4.dylib and /opt/local/lib/libQtGui_debug.4.dylib.
> One of the two will be used. Which one is undefined.
> objc[37537]: Class QCocoaApplicationDelegate is implemented in both
> /opt/local/lib/libQtGui.4.dylib and /opt/local/lib/libQtGui_debug.4.dylib.
> One of the two will be used. Which one is undefined.
> objc[37537]: Class QCocoaWindowCustomThemeFrame is implemented in both
> /opt/local/lib/libQtGui.4.dylib and /opt/local/lib/libQtGui_debug.4.dylib.
> One of the two will be used. Which one is undefined.
> objc[37537]: Class QCocoaToolBarDelegate is implemented in both
> /opt/local/lib/libQtGui.4.dylib and /opt/local/lib/libQtGui_debug.4.dylib.
> One of the two will be used. Which one is undefined.
> objc[37537]: Class QCocoaMenu is implemented in both
> /opt/local/lib/libQtGui.4.dylib and /opt/local/lib/libQtGui_debug.4.dylib.
> One of the two will be used. Which one is undefined.
> objc[37537]: Class QNSOpenSavePanelDelegate is implemented in both
> /opt/local/lib/libQtGui.4.dylib and /opt/local/lib/libQtGui_debug.4.dylib.
> One of the two will be used. Which one is undefined.
> objc[37537]: Class QCocoaFontPanelDelegate is implemented in both
> /opt/local/lib/libQtGui.4.dylib and /opt/local/lib/libQtGui_debug.4.dylib.
> One of the two will be used. Which one is undefined.
> objc[37537]: Class QNSWindowProxy is implemented in both
> /opt/local/lib/libQtGui.4.dylib and /opt/local/lib/libQtGui_debug.4.dylib.
> One of the two will be used. Which one is undefined.
> objc[37537]: Class QNSPanelProxy is implemented in both
> /opt/local/lib/libQtGui.4.dylib and /opt/local/lib/libQtGui_debug.4.dylib.
> One of the two will be used. Which one is undefined.
> objc[37537]: Class QCocoaPageLayoutDelegate is implemented in both
> /opt/local/lib/libQtGui.4.dylib and /opt/local/lib/libQtGui_debug.4.dylib.
> One of the two will be used. Which one is undefined.
> objc[37537]: Class QCocoaPrintPanelDelegate is implemented in both
> /opt/local/lib/libQtGui.4.dylib and /opt/local/lib/libQtGui_debug.4.dylib.
> One of the two will be used. Which one is undefined.
> objc[37537]: Class QNSMenu is implemented in both
> /opt/local/lib/libQtGui.4.dylib and /opt/local/lib/libQtGui_debug.4.dylib.
> One of the two will be used. Which one is undefined.
> objc[37537]: Class QNSStatusItem is implemented in both
> /opt/local/lib/libQtGui.4.dylib and /opt/local/lib/libQtGui_debug.4.dylib.
> One of the two will be used. Which one is undefined.
> objc[37537]: Class QNSImageView is implemented in both
> /opt/local/lib/libQtGui.4.dylib and /opt/local/lib/libQtGui_debug.4.dylib.
> One of the two will be used. Which one is undefined.
> ./start.sh: line 20: 37537 Abort trap: 6 ./octave-gui
Maybe you're mixing release and debug libraries when linking. There
used to be 2 versions of each Qt library (at least on Windows, but it
seems to be similar on Mac OS X): one release version, and one debug
version. When linking, either you only uses release ones, or you use
the debug ones, but you can't mix them together.
Michael.
- octave mingw problem, Kai Habel, 2011/11/21
- Re: octave mingw problem, Kai Habel, 2011/11/21
- Re: octave mingw problem, Ben Abbott, 2011/11/21
- Re: octave mingw problem, Michael Goffioul, 2011/11/21
- Re: octave mingw problem, Ben Abbott, 2011/11/21
- Re: octave mingw problem, Kai Habel, 2011/11/22
- Re: octave mingw problem, Ben Abbott, 2011/11/22
- Re: octave mingw problem,
Michael Goffioul <=
- Re: octave mingw problem, Ben Abbott, 2011/11/23
- Re: octave mingw problem, Michael Goffioul, 2011/11/23
- Re: octave mingw problem, Michael Goffioul, 2011/11/23