texmacs-dev
[Top][All Lists]
Advanced

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

Re: [Texmacs-dev] Qt TeXmacs-1.0.7.7, Qt-4.6.3 compilation error


From: Gubinelli Massimiliano
Subject: Re: [Texmacs-dev] Qt TeXmacs-1.0.7.7, Qt-4.6.3 compilation error
Date: Mon, 8 Nov 2010 15:24:11 +0100

Maybe imlib2 is not installed, so texmacs do not include support for it and this hide the problem.

mg


On 8 nov. 10, at 15:21, Andrey G. Grozin wrote:

On Mon, 8 Nov 2010, Sam Liddicott wrote:
On 08/11/10 12:35, Andrey G. Grozin wrote:
On Mon, 8 Nov 2010, Sam Liddicott wrote:
I've been using --enable-qt on linux without problems until recently.
Does /usr/inlude/X11/X.h on your system #define CursorShape to be 0?

yes

#define CursorShape 0 /* largest size that can be displayed */

Then I cannot understand how it was possible to compile image_files.cpp on your system.

It #includes "Imlib2/imlib2.hpp" which #includes <Imlib2.h> which #includes <X11/Xlib.h> which #includes <X11/X.h>.

Now CursorShape is #defined to be 0.

Then it #includes "Qt/qt_utilities.hpp" which #includes <QRect> which #includes <QtCore/qsize.h> which #includes <QtCore/ qnamespace.h>.

Its line 1220 (and following) is

enum CursorShape {
...
}

which becomes

enum 0 { ... }

The relevant files have this form at least in TeXmacs-1.0.7.5, 1.0.7.6, 1.0.7.7 (I don't have older sources at hand). And all 3 versions don't compile on my sustem, and should not compile on your system, too. If they compile, there is some miracle which I don't understand.

Andrey


_______________________________________________
Texmacs-dev mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/texmacs-dev




reply via email to

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