wxWidgets / wxWidgets

Cross-Platform C++ GUI Library
https://www.wxwidgets.org/
6.33k stars 1.79k forks source link

Build Fails initialization to `char *' f #19579

Closed wxtrac closed 3 years ago

wxtrac commented 23 years ago

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 tochar ' from `const char ' discards qualifiers make: *** [dcclient.o] Error 1

wxtrac commented 23 years ago

2001-06-26 23:09:25: anonymous commented


Logged In: NO

forgot, gcc version 2.95.3

wxtrac commented 23 years ago

2001-07-27 15:33:32: @vadz commented


GTK+ 2.0 is not supported yet, we will support it when it is released, please use 1.2.x for now