octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: octave mingw problem


From: Kai Habel
Subject: Re: octave mingw problem
Date: Tue, 22 Nov 2011 21:35:26 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110221 SUSE/3.1.8 Lightning/1.0b2 Thunderbird/3.1.8

On 21.11.2011 16:29, Ben Abbott wrote:
On Nov 21, 2011, at 9:08 AM, Michael Goffioul wrote:

On Mon, Nov 21, 2011 at 1:52 PM, Ben Abbott<address@hidden>  wrote:
I'm happy to try on MacOS. What is the procedure for building the GUI?
Assuming octave bin directory is in your PATH:
cd gui
qmake
make
./start.sh

Now, depending on how Qt is packaged, you might need to use qmake-qt4 instead.

Michael.

I'm getting an error.

$ qmake
/Users/bpabbott/Development/mercurial/gui/gui/octave-gui.pro:102: Parse Error 
('src/terminal/LinuxTerminalEmulation.cpp src/terminal/TerminalEmulation.cpp }')
Error processing project file: 
/Users/bpabbott/Development/mercurial/gui/gui/octave-gui.pro

Ben
I see the same error on linux. I had to remove/add some backslashes. See below:

To compile the gui you also need qscintilla2. Maybe there exist a package for MacOS. For MinGW I have downloaded it from here:

http://www.riverbankcomputing.co.uk/software/qscintilla/download

Kai

diff -r 36f90899e058 -r d15274f9e542 gui/octave-gui.pro
--- a/gui/octave-gui.pro        Mon Nov 21 09:38:45 2011 +0000
+++ b/gui/octave-gui.pro        Tue Nov 22 21:30:34 2011 +0100
@@ -96,9 +96,9 @@
     src/TerminalHighlighter.cpp \
     src/TerminalView.cpp \
     src/terminal/KPty.cpp \
-    src/terminal/KPtyDevice.cpp
+    src/terminal/KPtyDevice.cpp \
     src/terminal/LinuxTerminalEmulation.cpp \
-    src/terminal/TerminalEmulation.cpp \
+    src/terminal/TerminalEmulation.cpp
 }

 win32 {
@@ -135,7 +135,7 @@
     src/TerminalHighlighter.h \
     src/TerminalView.h \
     src/terminal/KPtyDevice.h \
-    src/terminal/KPty.h
+    src/terminal/KPty.h \
     src/terminal/LinuxTerminalEmulation.h \
     src/terminal/TerminalEmulation.h \
 }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]