[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cygwin, ptys, porting Quint to Windows
From: |
Ben Abbott |
Subject: |
Re: Cygwin, ptys, porting Quint to Windows |
Date: |
Fri, 15 Jul 2011 20:32:59 -0400 |
On Jul 15, 2011, at 7:25 PM, John Swensen wrote:
> On Jul 15, 2011, at 7:21 PM, Ben Abbott wrote:
>
>> On Jul 15, 2011, at 1:15 PM, John Swensen wrote:
>>
>>> On Jul 15, 2011, at 12:27 PM, Jacob Dawid wrote:
>>>
>>>> Can someone confirm a successful build on MacOS?
>>>
>>> I can build and run on OSX (with a few modifications). However, it often
>>> crashes or misbehaves in the following situations:
>>> 1) It always crashes on exit
>>> 2) It always crashes the first time it loads after it crashes previously
>>> 3) Plotting isn't available. It complains that there is no graphical
>>> display
>>> 4) It is very sluggish. Keypresses take 0.1-0.25 seconds to show up in the
>>> terminal
>>> I realize I am not giving very much information about the crashes, but
>>> don't have time right now to investigate further.
>>>
>>> Here are the items that I had to fix (generate with git diff > patch.diff)
>>> to get it to compile.
>>> <patch.diff>
>>> Some of the changes had to do with building on OSX (e.g. the util.h for PTY
>>> stuff and edits to the PRO file to not build the .app bundle).
>>> Some of the changes were because my compiler wanted a cast for the
>>> KeyModifier enum.
>>> One of the changes is a bug (I think). Were you intending to add and
>>> integer to a QString? I couldn't even get it to compile unless I moved the
>>> parenthesis to add the integers to the width of the QString (see the
>>> changes in NumberedCodeEdit).
>>>
>>> Hope this helps,
>>> John
>>
>> John,
>>
>> How did you satisfy "qmake-qt4" on MacOS?
>>
>> Ben
>
> There is a qt4-mac-devel package provided by MacPorts. However, for whatever
> reason it is just qmake, not qmake-qt4, when done this way. It is qmake for
> QT 4.7, even though the script is just qmake.
>
> John
ok.
When I try to compile ...
$ ./compile.sh
sh: mkoctfile: command not found
sh: mkoctfile: command not found
sh: mkoctfile: command not found
sh: mkoctfile: command not found
sh: mkoctfile: command not found
g++-4.2 -c -pipe -Wall -W -Os -D__DARWIN_X11__ -DQT3_SUPPORT -DQT_NO_DEBUG
-I/sw/lib/qt3/mkspecs/default -I. -Isrc -Isrc/terminal -Isrc/qirc
-I/sw/lib/qt3/include -I/sw/lib/qt3/include -Iui-files/ -Imoc-files/ -o
object-files/TerminalCharacterDecoder.o
src/terminal/TerminalCharacterDecoder.cpp
In file included from
/Library/Frameworks/QtCore.framework/Headers/qatomic_arch.h:42,
from /Library/Frameworks/QtCore.framework/Headers/qatomic.h:45,
from /Library/Frameworks/QtCore.framework/Headers/qhash.h:42,
from /Library/Frameworks/QtCore.framework/Headers/QHash:1,
from src/terminal/Character.h:27,
from src/terminal/TerminalCharacterDecoder.h:25,
from src/terminal/TerminalCharacterDecoder.cpp:23:
/Library/Frameworks/QtCore.framework/Headers/qglobal.h:919:6: error: #error
"This version of Mac OS X is unsupported"
In file included from src/terminal/TerminalCharacterDecoder.cpp:23:
src/terminal/TerminalCharacterDecoder.h:27:17: error: QList: No such file or
directory
make: *** [object-files/TerminalCharacterDecoder.o] Error 1
I'm using Fink, and have qt-4.7.3 installed. See below. Any advice?
$ fink list qt | grep -i 4.7.3
i qt4-base-mac 4.7.3-1 Cross-Platform framework (mac)
i qt4-base-mac-assistant 4.7.3-1 Qt documentation tool (mac)
i qt4-base-mac-designer 4.7.3-1 Qt GUI design tool (mac)
i qt4-base-mac-doc 4.7.3-1 Qt documentation (mac)
i qt4-base-mac-linguist 4.7.3-1 Qt translation tool (mac)
i qt4-base-mac-qt3support-shlibs 4.7.3-1 Qt3 backwards compat library
(mac)
i qt4-base-mac-qtclucene-shlibs 4.7.3-1 Qt Lucene library (mac)
i qt4-base-mac-qtcore-shlibs 4.7.3-1 Qt Core library (mac)
i qt4-base-mac-qtdbus-shlibs 4.7.3-1 Qt D-Bus library (mac)
i qt4-base-mac-qtdeclarative-shlibs 4.7.3-1 Qt dynamic UI library
(mac)
i qt4-base-mac-qtdesigner-shlibs 4.7.3-1 Qt designer library (mac)
i qt4-base-mac-qtdesignercomponents-shlibs 4.7.3-1 Qt designer
component library (mac)
i qt4-base-mac-qtgui-shlibs 4.7.3-1 Qt GUI library (mac)
i qt4-base-mac-qthelp-shlibs 4.7.3-1 Qt help library (mac)
i qt4-base-mac-qtmultimedia-shlibs 4.7.3-1 Qt multimedia library
(mac)
i qt4-base-mac-qtnetwork-shlibs 4.7.3-1 Qt networking library (mac)
i qt4-base-mac-qtopengl-shlibs 4.7.3-1 Qt OpenGL library (mac)
i qt4-base-mac-qtscript-shlibs 4.7.3-1 Qt scripting library (mac)
i qt4-base-mac-qtscripttools-shlibs 4.7.3-1 Qt script component
library (mac)
i qt4-base-mac-qtsql-shlibs 4.7.3-1 Qt SQL library (mac)
i qt4-base-mac-qtsvg-shlibs 4.7.3-1 Qt SVG library (mac)
i qt4-base-mac-qttest-shlibs 4.7.3-1 Qt test library (mac)
i qt4-base-mac-qtxml-shlibs 4.7.3-1 Qt XML library (mac)
i qt4-base-mac-qtxmlpatterns-shlibs 4.7.3-1 Qt
XPath/XQuery/XSLT/XSD library (mac)
i qt4-base-x11 4.7.3-1 Cross-Platform framework (x11)
i qt4-base-x11-assistant 4.7.3-1 Qt documentation tool (x11)
i qt4-base-x11-designer 4.7.3-1 Qt GUI design tool (x11)
i qt4-base-x11-doc 4.7.3-1 Qt documentation (x11)
i qt4-base-x11-linguist 4.7.3-1 Qt translation tool (x11)
i qt4-base-x11-qt3support-shlibs 4.7.3-1 Qt3 backwards compat library
(x11)
i qt4-base-x11-qtclucene-shlibs 4.7.3-1 Qt Lucene library (x11)
i qt4-base-x11-qtcore-shlibs 4.7.3-1 Qt Core library (x11)
i qt4-base-x11-qtdbus-shlibs 4.7.3-1 Qt D-Bus library (x11)
i qt4-base-x11-qtdeclarative-shlibs 4.7.3-1 Qt dynamic UI library
(x11)
i qt4-base-x11-qtdesigner-shlibs 4.7.3-1 Qt designer library (x11)
i qt4-base-x11-qtdesignercomponents-shlibs 4.7.3-1 Qt designer
component library (x11)
i qt4-base-x11-qtgui-shlibs 4.7.3-1 Qt GUI library (x11)
i qt4-base-x11-qthelp-shlibs 4.7.3-1 Qt help library (x11)
i qt4-base-x11-qtmultimedia-shlibs 4.7.3-1 Qt multimedia library
(x11)
i qt4-base-x11-qtnetwork-shlibs 4.7.3-1 Qt networking library (x11)
i qt4-base-x11-qtopengl-shlibs 4.7.3-1 Qt OpenGL library (x11)
i qt4-base-x11-qtscript-shlibs 4.7.3-1 Qt scripting library (x11)
i qt4-base-x11-qtscripttools-shlibs 4.7.3-1 Qt script component
library (x11)
i qt4-base-x11-qtsql-shlibs 4.7.3-1 Qt SQL library (x11)
i qt4-base-x11-qtsvg-shlibs 4.7.3-1 Qt SVG library (x11)
i qt4-base-x11-qttest-shlibs 4.7.3-1 Qt test library (x11)
i qt4-base-x11-qtxml-shlibs 4.7.3-1 Qt XML library (x11)
i qt4-base-x11-qtxmlpatterns-shlibs 4.7.3-1 Qt
XPath/XQuery/XSLT/XSD library (x11)
i qt4-mac 4.7.3-3 OBSOLETE: use qt4-base-mac
i qt4-mac-core-shlibs 4.7.3-3 OBSOLETE: use qt4-base-mac
i qt4-mac-designer 4.7.3-3 OBSOLETE: use qt4-base-mac
i qt4-mac-designer-shlibs 4.7.3-3 OBSOLETE: use qt4-base-mac
i qt4-mac-doc 4.7.3-3 OBSOLETE: use qt4-base-mac
i qt4-mac-gui-shlibs 4.7.3-3 OBSOLETE: use qt4-base-mac
i qt4-mac-linguist 4.7.3-3 OBSOLETE: use qt4-base-mac
i qt4-x11 4.7.3-3 OBSOLETE: use qt4-base-x11
i qt4-x11-core-shlibs 4.7.3-3 OBSOLETE: use qt4-base-x11
i qt4-x11-designer 4.7.3-3 OBSOLETE: use qt4-base-x11
i qt4-x11-designer-shlibs 4.7.3-3 OBSOLETE: use qt4-base-x11
i qt4-x11-doc 4.7.3-3 OBSOLETE: use qt4-base-x11
i qt4-x11-gui-shlibs 4.7.3-3 OBSOLETE: use qt4-base-x11
i qt4-x11-linguist 4.7.3-3 OBSOLETE: use qt4-base-x11
- Re: Cygwin, ptys, porting Quint to Windows, (continued)
- Re: Cygwin, ptys, porting Quint to Windows, Marco Atzeri, 2011/07/14
- Re: Cygwin, ptys, porting Quint to Windows, Michael Goffioul, 2011/07/14
- Re: Cygwin, ptys, porting Quint to Windows, Jordi GutiƩrrez Hermoso, 2011/07/14
- Re: Cygwin, ptys, porting Quint to Windows, Jacob Dawid, 2011/07/15
- Re: Cygwin, ptys, porting Quint to Windows, John Swensen, 2011/07/15
- Message not available
- Fwd: Cygwin, ptys, porting Quint to Windows, Jacob Dawid, 2011/07/15
- Re: Cygwin, ptys, porting Quint to Windows, Ben Abbott, 2011/07/15
- Re: Cygwin, ptys, porting Quint to Windows, John Swensen, 2011/07/15
- Re: Cygwin, ptys, porting Quint to Windows,
Ben Abbott <=