Building wxWindows

Dinesh Nadarajah ndinesh at sbcglobal.net
Fri May 23 14:56:31 PDT 2003


Would this be the case in FreeBSD or Linux too. I have compiled in Linux with the above command sucessfully. But the WxWindows site does state that only Linux has been tested with GTK2 support. -Dinesh

Jeremy Messenger <mezz7 at cox.net> wrote:On Fri, 23 May 2003 14:19:24 -0700 (PDT), Dinesh Nadarajah 
wrote:

> Hi all:
>
> I am trying to build WxWindows with GTK2 and Unicode support.
>
> As instructed in the README text, I configured with:
>
> ./configure --with-gtk --enable-gtk2 --enable-unicode
>
> But when I do make, I get the folloowing error (listed below). Has
> anyone sucessfully been ablle to compile and install WxWindows with
> GTK2 support? Any advice/recommendations?

Sometime ago, I read in the lemule (eMule for Linux)'s FAQ and it said that 
you can't compile gtk2 with unicode, which it's known bug. Remove the 
unicode is only way to solve the problem for now, unless someone can fix 
it.

Cheers,
Mezz

> -Thanks in advance
>
> --Dinesh
>
> bash-2.05b$ make
> c++ -c -I./lib/wx/include/gtk2u-2.4 -I./include -I./src/png
> -I./src/jpeg -I./src/t
> iff -pthread -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0
> -I/usr/local
> /lib/glib-2.0/include -I/usr/X11R6/include/gtk-2.0
> -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include/pango-1.0 - 
> I/usr/X11R6/include
> -I/usr/local/include/freetype2 -
> I/usr/local/include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ - 
> DGTK_NO_CH
> ECK_CASTS -O2 -MMD -I/usr/local/include/glib-2.0
> -I/usr/local/lib/glib-2.0/include -
> I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include
> -I/usr/local/include/freetype2 -I
> /usr/local/include -pthread -D_THREAD_SAFE -Wall -fPIC -o accel.o
> ./src/generic/acce
> l.cpp
> In file included from include/wx/memory.h:20,
> from include/wx/object.h:25,
> from include/wx/event.h:20,
> from ./src/generic/accel.cpp:34:
> include/wx/string.h: In method `bool wxString::IsSameAs(__wchar_t, bool
> = true) cons
> t':
> include/wx/string.h:646: implicit declaration of function `int
> towupper(...)'
> ./src/generic/accel.cpp: In method
> `wxAcceleratorTable::wxAcceleratorTable(int, cons
> t wxAcceleratorEntry *)':
> ./src/generic/accel.cpp:98: implicit declaration of function `int
> iswlower(...)'
> *** Error code 1
>
> Stop in /usr/home/dinesh/work/poedit/wxGTK-2.4.0.
> _______________________________________________
> freebsd-gnome at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe at freebsd.org"
>


-- 
bsdforums.org 's moderator, mezz.


More information about the freebsd-gnome mailing list