git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33674
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if you use all of our CVS repository you have to choose a
toolkit. You must do this by running configure with either of:
if you use all of our CVS repository you have to choose a
toolkit. You must do this by running configure with either of:
- --with-gtk Use the GIMP ToolKit (GTK+). Default.
- --with-gtk2 Use the GTK+ 2.0. Default.
- --with-gtk1 Use the GTK+ 1.2. Default.
+ --with-gtk=2 Use the GTK+ 2.0. Default.
+ --with-gtk=1 Use the GTK+ 1.2.
--with-motif Use either Motif or Lesstif
Configure will look for both.
--with-motif Use either Motif or Lesstif
Configure will look for both.
mkdir build_gtk
cd build_gtk
mkdir build_gtk
cd build_gtk
- ../configure --with-gtk2
+ ../configure --with-gtk=2
make
su <type root password>
make install
ldconfig
make
su <type root password>
make install
ldconfig
-In order to use wxGTK with GTK 1.2 you need to use --with-gtk1
+In order to use wxGTK with GTK 1.2 you need to use --with-gtk=1
configure option. To build the library in Unicode mode (all
strings will be wide strings and so on) you need to configure
configure option. To build the library in Unicode mode (all
strings will be wide strings and so on) you need to configure
-with GTK 2.0 and add --enable-unicode (default by now).
+with GTK 2.0 and add --enable-unicode.
Please note that it is strongly advised to build the library in
a separate directory, as shown above, as it allows you to have
Please note that it is strongly advised to build the library in
a separate directory, as shown above, as it allows you to have
cd obj-shared
../configure --prefix=%{_prefix} \
%if ! %{gtk2}
cd obj-shared
../configure --prefix=%{_prefix} \
%if ! %{gtk2}
%endif
%if %{unicode}
--enable-unicode \
%endif
%if %{unicode}
--enable-unicode \
cd obj-static
../configure --prefix=%{_prefix} \
%if ! %{gtk2}
cd obj-static
../configure --prefix=%{_prefix} \
%if ! %{gtk2}
%endif
--disable-shared \
%if %{unicode}
%endif
--disable-shared \
%if %{unicode}