Gentoo Archives: gentoo-dev

From: "Justin T." <justint@×××.net>
To: gentoo-user@g.o, gentoo-dev@g.o
Subject: [gentoo-dev] Re: [gentoo-user] Kdeartwork and OpenGL screensavers
Date: Sun, 21 Apr 2002 15:57:38
Message-Id: 200204212259.26033.justint@gmx.net
1 Ok... this is a problem that is occuring for me now too... it is since the
2 update in QT (which I hadn't recompiled until recently.)
3
4 The fix is rather simple to do, however it may be easier to have this updated
5 in the cvs rather than doing it manually.
6
7 #define LONG64
8
9 This needs to be added to the beginning of the pipes.cpp file (this is also
10 currently added to two of the other files in the the xsavers directory.)
11 Once that is done it will compile without a problem.
12
13 I can also send in some more direct instructions if need be :)
14
15 Justin T
16
17 On Sunday 21 April 2002 04:09, Troy Dack wrote:
18 <snip>
19 > Emerge'ing with opengl set to xfree (opengl-update xfree) builds fine. The
20 > OpenGL screensavers are installed and work, all be it badly, the are really
21 > slow and flicker quite badly.
22 >
23 > Switching opengl back to nvidia after installation of the screen savers
24 > causes them to not work at all.
25 >
26 > Here's the errors when built with opengl == nvidia (there's also a couple
27 > of bugs on bugs.gentoo.org about this, if I can find them I'll add this
28 > stuff):
29 >
30 > In file included from /usr/X11R6/include/GL/glx.h:27,
31 > from pipes.cpp:153:
32 > /usr/X11R6/include/X11/Xmd.h:133: conflicting types for `typedef long int
33 > INT32'
34 > /usr/qt/3/include/qglobal.h:497: previous declaration as `typedef int
35 > INT32' make[3]: *** [pipes.o] Error 1
36 >
37 > source='pipes.cpp' object='pipes.o' libtool=no \
38 > depfile='.deps/pipes.Po' tmpdepfile='.deps/pipes.TPo' \
39 > depmode=gcc /bin/sh ../../admin/depcomp \
40 > g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3/include
41 > -I/usr/qt/3/include -I/usr/X11R6/include -UQT_NO_ASCII_CAST
42 > -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -O2 -march=i686 -O3
43 > -pipe -fno-exceptions
44 > -fno-check-new -c -o pipes.o `test -f pipes.cpp || echo './'`pipes.cpp
45 > In file included from /usr/X11R6/include/GL/glx.h:27,
46 > from pipes.cpp:153:
47 > /usr/X11R6/include/X11/Xmd.h:133: conflicting types for `typedef long int
48 > INT32'
49 > /usr/qt/3/include/qglobal.h:497: previous declaration as `typedef int
50 > INT32' make[3]: *** [pipes.o] Error 1
51 >
52 >
53 >
54 > Troy.