User forums > Help
slow
Biplab:
--- Quote from: rotalever on August 01, 2007, 12:57:01 pm ---But if I want to compile CB with this wxWidgets it says that it need GTK-2.0-dev. So installed the GTK2 development files for ubuntu.
And I do not know howto disable ansi, whatever this means...
--- End quote ---
So it means you need GTK+2 to compile C::B. ANSI build can be turned off using --enable-unicode
dmoore:
--- Quote from: Biplab on August 01, 2007, 01:01:56 pm ---So it means you need GTK+2 to compile C::B.
--- End quote ---
... with the supplied C::B configure/makefiles.
it seems to me that they should be tweakable to work with GTK1.
dmoore:
configure.in contains:
--- Code: ---if test "x$HAVE_PKG_CONFIG" = "xyes"; then
PKG_CHECK_MODULES(GTK2, gtk+-2.0 >= 2.0.0)
fi
...
WX_GTK2_CFLAGS=
WX_GTK2_LIBS=
...
WX_BASENAME=`$WX_CONFIG_WITH_ARGS --basename`
case $WX_BASENAME in
*wx_gtk*)
AC_MSG_RESULT(wxGTK)
WX_GTK2_CFLAGS="$GTK2_CFLAGS"
WX_GTK2_LIBS="$GTK2_LIBS"
;;
--- End code ---
so because none of that checking stuff seems to actually do anything specific to GTK2, try deleting
--- Code: ---if test "x$HAVE_PKG_CONFIG" = "xyes"; then
PKG_CHECK_MODULES(GTK2, gtk+-2.0 >= 2.0.0)
fi
--- End code ---
and see what errors you get.
mandrav:
--- Quote from: dmoore on August 01, 2007, 04:42:02 pm ---configure.in contains:
--- Code: ---.....
--- End code ---
so because none of that checking stuff seems to actually do anything specific to GTK2
.......
and see what errors you get.
--- End quote ---
gtk2 is needed by the debugger's tooltips. The build will break there if you do this.
dmoore:
can this be worked around with an #ifdef or two?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version