Closed wxtrac closed 3 years ago
Issue migrated from trac ticket # 214
component: build | priority: normal
I am trying to build on Linux and it fails for current cvs and 2.3.1 source tarball.
i did ./configure --with-gtk make
and this is the error i get c++ -c -MMD -DWXGTK - DGTK_NO_CHECK_CASTS -O2 -I. -I./include -I../ include -I../src/zlib -I../src/png -I../src/jpeg -I../src/tiff -I/usr/lib/gtk-2.0/include -I/usr/include/gtk-2.0 -I/usr/ lib/glib-2.0/include -I/usr/include/glib-2.0 - D_REENTRANT -I/usr/lib/glib-2.0/include -I/usr/ include/glib-2.0 -I/usr/X11R6/include -Wall -I/usr/ X11R6/include "-DwxINSTALL_PREFIX=\"/usr/ local\"" -fPIC -o dcclient.o ../src/gtk/dcclient.cpp ../src/gtk/dcclient.cpp: In method void wxWindowDC::DoDrawText(const wxString &, int, int)': ../src/gtk/dcclient.cpp:1349: initialization tochar ' from `const char ' discards qualifiers make: *** [dcclient.o] Error 1
void wxWindowDC::DoDrawText(const wxString &, int, int)': ../src/gtk/dcclient.cpp:1349: initialization to
Logged In: NO
forgot, gcc version 2.95.3
GTK+ 2.0 is not supported yet, we will support it when it is released, please use 1.2.x for now
Issue migrated from trac ticket # 214
component: build | priority: normal
2001-06-26 23:05:35: anonymous created the issue
I am trying to build on Linux and it fails for current cvs and 2.3.1 source tarball.
i did ./configure --with-gtk make
and this is the error i get c++ -c -MMD -DWXGTK - DGTK_NO_CHECK_CASTS -O2 -I. -I./include -I../ include -I../src/zlib -I../src/png -I../src/jpeg -I../src/tiff -I/usr/lib/gtk-2.0/include -I/usr/include/gtk-2.0 -I/usr/ lib/glib-2.0/include -I/usr/include/glib-2.0 - D_REENTRANT -I/usr/lib/glib-2.0/include -I/usr/ include/glib-2.0 -I/usr/X11R6/include -Wall -I/usr/ X11R6/include "-DwxINSTALL_PREFIX=\"/usr/ local\"" -fPIC -o dcclient.o ../src/gtk/dcclient.cpp ../src/gtk/dcclient.cpp: In method
void wxWindowDC::DoDrawText(const wxString &, int, int)': ../src/gtk/dcclient.cpp:1349: initialization to
char ' from `const char ' discards qualifiers make: *** [dcclient.o] Error 1