File: README.win32

package info (click to toggle)
gtkglextmm 1.2.0-8
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 5,248 kB
  • ctags: 4,387
  • sloc: sh: 8,904; cpp: 4,594; xml: 1,605; ansic: 832; makefile: 353; perl: 179
file content (207 lines) | stat: -rw-r--r-- 5,431 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207


  g t k g l e x t m m

  - C++ Wrapper for GtkGLExt


General Information
===================

gtkglextmm is C++ wrapper for GtkGLExt, OpenGL Extension to GTK.

The official web site is:
  http://gtkglext.sourceforge.net/

The official download & development information site is:
  http://sourceforge.net/projects/gtkglext/


Licensing
=========

gtkglextmm libraries are released under the terms of the GNU Lesser
General Public License (GNU LGPL). While components and programs
included with this release are licensed under the terms of the GNU
General Public License (GNU GPL).


Supported Platforms
===================

Currently gtkglextmm supports

  * UNIX and UNIX-like platforms
      Tested under Linux and FreeBSD.

  * Win32 platforms
      Tested under Windows XP Professional using MinGW/Cygwin
      environment.


Requirements
============

  * GNU C++ compiler (MinGW: http://www.mingw.org/)

  * GNU make

  * GtkGLExt (http://gtkglext.sourceforge.net/)

  * gtkmm 2 (http://gtkmm.sourceforge.net/)

  * GTK 2 (http://www.gtk.org/)
      You can find Win32 binaries on
      http://www.gimp.org/~tml/gimp/win32/

  * OpenGL or Mesa (http://www.mesa3d.org/)
      OpenGL headers are also needed. You can use GL/*.h headers
      included in Cygwin opengl package or Microsoft's PlatformSDK.

  * Doxygen and Graphviz  [optional]
      Doxygen  (http://www.doxygen.org/)
      Graphviz (http://www.research.att.com/sw/tools/graphviz/)


Multihead Support
=================

Multihead support requires

  * GTK+ >= 2.1

  * gtkmm >= 2.1

  * GtkGLExt compiled with multihead support

You can check whether installed GtkGLExt library supports multihead
using the following command.

  $ pkg-config --variable=multihead gtkglext-1.0


Installation
============

To build and install gtkglextmm, type follows (use GNU make)

  $ ./configure --prefix=/foo/bar (other options...)
  $ make (or gmake)
  $ make install

To compile example programs, type

  $ make examples

Please read INSTALL or type "./configure --help" for more details.


Configure Options
=================

Debug options

  --enable-warnings=[none|minimum|maximum|hardcore]
                          Control compiler pickyness.  [default=minimum]

Documentation options

  --enable-doxygen-doc    use doxygen to build documentation [default=no]
  --with-html-dir=PATH    path to installed docs [DATADIR/doc]


Building gtkglextmm on Win32
============================

Please note that GTK and gtkmm for Win32 are successfully installed
and Win32-native (non-Cygwin) pkg-config.exe works with appropriate
PKG_CONFIG_PATH.

Personally I run configure like this:

  (GTK is installed in C:\gtk)
  $ export PATH=/cygdrive/c/gtk/bin:$PATH
  $ export PKG_CONFIG_PATH="c:/gtk/lib/pkgconfig"

  (gtkmm is installed in C:\gtkmm)
  $ export PKG_CONFIG_PATH="${PKG_CONFIG_PATH};c:/gtkmm/lib/pkgconfig"

  (GtkGLExt is installed in C:\gtkglext)
  $ export PKG_CONFIG_PATH="${PKG_CONFIG_PATH};c:/gtkglext/lib/pkgconfig"

  (MinGW is installed in C:\mingw)
  $ export PATH=/cygdrive/c/mingw/bin:$PATH

  $ env CXX='g++ -march=pentium' \
        AR=/usr/bin/ar \
        ./configure --prefix=c:/gtkglextmm \
                    --build=i386-pc-mingw32 \
                    --disable-static
  $ make
  $ make install
  $ export PKG_CONFIG_PATH="${PKG_CONFIG_PATH};c:/gtkglextmm/lib/pkgconfig"
  $ cd examples
  $ make -f Makefile.mingw

Notice that you should use not MinGW's ar but Cygwin's ar under Cygwin
environment.

To build the binary installer, Nullsoft's NSIS is required. About NSIS,
see http://nsis.sourceforge.net/.

  $ cp -rf examples c:/gtkglextmm/gtkglextmm-examples
  $ cp COPYING.LIB c:/gtkglextmm/
  $ cp gtkglextmm.nsi c:/gtkglextmm/
  $ cd c:/gtkglextmm/
  $ makensis gtkglextmm.nsi


Building the CVS Version of gtkglextmm
======================================

gtkglextmm's SourceForge CVS repository can be checked out through
anonymous (pserver) CVS with the following instruction set.
When prompted for a password for anonymous, simply press the Enter key. 

  $ cvs \
      -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/gtkglext \
      login
  $ cvs -z3 \
      -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/gtkglext \
      co -r gtkglextmm-X-Y gtkglextmm

  (gtkglextmm-X-Y is a branch name. e.g. gtkglextmm-1-0 is 1.0.x branch.)

When you are at work on the CVS version of gtkglextmm, you can use autogen.sh
for generating configure script and Makefiles.

  $ env ACLOCAL_FLAGS='-I /cygdrive/c/gtk/share/aclocal' \
        CXX='g++ -march=pentium' \
        AR=/usr/bin/ar \
        ./autogen.sh --prefix=c:/gtkglextmm \
                     --build=i386-pc-mingw32 \
                     --disable-static
  $ make
  $ make install
  $ export PKG_CONFIG_PATH="${PKG_CONFIG_PATH};c:/gtkglextmm/lib/pkgconfig"
  $ cd examples
  $ make -f Makefile.mingw

You may have to set ACLOCAL_FLAGS environment variable for some m4
macros used in configure.in.

The following versions of the GNU autotools are required.

  autoconf 2.54 and above
  automake 1.7.x
  libtool  1.5


Contact
=======

Any patches, bug fixes and improvements are always welcome ;-)

  Naofumi Yasufuku (���� ����)  <naofumi@users.sourceforge.net>