Subject says it all...
2.4 branch CVS, Debian GNU/Linux
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -DSWIG_GLOBAL
-DHAVE_CONFIG_H -DWXP_USE_THREAD=1 -Isrc -I/usr/include/python2.2 -c
src/gtk/misc.cpp -o build/temp.linux-i686-2.2/src/gtk/misc.o
-I/usr/local/lib/wx/include/gtk-2.3 -DGTK_NO_CHECK_CASTS -D__WXGTK__
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
-UNDEBUG
src/gtk/misc.cpp: In function `class wxString wxGetResource(const
wxString &, const wxString &, const wxString & = wxPyEmptyString)':
src/gtk/misc.cpp:119: conversion from `wxChar **' to non-scalar type
`wxString' requested
src/gtk/misc.cpp:117: in passing argument 3 of `wxGetResource(const
wxString &, const wxString &, const wxString &)'
src/gtk/misc.cpp: In function `struct PyObject *
_wrap_new_wxAcceleratorTable(PyObject *, PyObject *, PyObject *)':
src/gtk/misc.cpp:4364: warning: `class wxAcceleratorEntry * _arg1' might
be used uninitialized in this function
error: command 'gcc' failed with exit status 1
mithrandi
Tristan Seligmann <mithrandi@mithrandi.za.net> writes:
Subject says it all...
2.4 branch CVS, Debian GNU/Linux
[...]
src/gtk/misc.cpp: In function `class wxString wxGetResource(const
wxString &, const wxString &, const wxString & = wxPyEmptyString)':
src/gtk/misc.cpp:119: conversion from `wxChar **' to non-scalar type
`wxString' requested
src/gtk/misc.cpp:117: in passing argument 3 of `wxGetResource(const
wxString &, const wxString &, const wxString &)'
[...]
error: command 'gcc' failed with exit status 1
FWIW I had the same problem today (also Debian, Python 2.1.3).
Recompiling wxGTK with --enable-resources --enable-prologio solved it
for me. At least I got it to compile, I'm currently getting segfaults
when I try to use it
Is --enable-resources a new requirement for wxPython? A few weeks ago it
wasn't necessary
Bernhard
···
--
Intevation GmbH http://intevation.de/
Sketch http://sketch.sourceforge.net/
MapIt! http://www.mapit.de/
Robin
November 18, 2002, 10:26pm
3
Tristan Seligmann wrote:
Subject says it all...
2.4 branch CVS, Debian GNU/Linux
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -DSWIG_GLOBAL
-DHAVE_CONFIG_H -DWXP_USE_THREAD=1 -Isrc -I/usr/include/python2.2 -c
src/gtk/misc.cpp -o build/temp.linux-i686-2.2/src/gtk/misc.o
-I/usr/local/lib/wx/include/gtk-2.3 -DGTK_NO_CHECK_CASTS -D__WXGTK__
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
-UNDEBUG
src/gtk/misc.cpp: In function `class wxString wxGetResource(const
wxString &, const wxString &, const wxString & = wxPyEmptyString)':
src/gtk/misc.cpp:119: conversion from `wxChar **' to non-scalar type
`wxString' requested
src/gtk/misc.cpp:117: in passing argument 3 of `wxGetResource(const
wxString &, const wxString &, const wxString &)'
src/gtk/misc.cpp: In function `struct PyObject *
_wrap_new_wxAcceleratorTable(PyObject *, PyObject *, PyObject *)':
src/gtk/misc.cpp:4364: warning: `class wxAcceleratorEntry * _arg1' might
be used uninitialized in this function
error: command 'gcc' failed with exit status 1
Yes, I'm currently testing changes to fix this. In the meantime you can add these flags to wxGTK's configure and you should then be able to build:
--enable-prologio --enable-resources
···
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
Robin
November 18, 2002, 10:27pm
4
Bernhard Herzog wrote:
Is --enable-resources a new requirement for wxPython? A few weeks ago it
wasn't necessary
The flags were recently added to wxGTK's configure and defaulted to off. The old style resources are being deprecated.
···
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!