Problems installing wxPython from source on openSuse 10.2

Hi,

I am having a hard time installing wxPython from source on my openSuse
10.2 installation. Are you guys sure that one can easily install
wxPython following the build instructions given on the website?
Because I tried, and every time, I get strange errors during
compilation. I tried alternatives, like the simple, ./configure, make,
make install method, and then 'python ./setup.py install', but that
gives 'errors' as well.

I tried reinstalling gtk+, but that created even more problems. I
tried installing wxWidgets separately and not the ones that come with
wxpython-source tar archive. But failed.

Any ideas guy? Please ask if you need more specific information about
my system.

Thanks.

···

--
M. Shuaib Khan

Hello,

M. Shuaib Khan said the following on 09.02.2007 16:08:

I am having a hard time installing wxPython from source on my openSuse
10.2 installation.

If you want just install wxPython - there is one already packaged in
distribution. It is called python-wxGTK.

···

--
Oleg

Hello,

M. Shuaib Khan said the following on 09.02.2007 16:08:

> I am having a hard time installing wxPython from source on my openSuse
> 10.2 installation.

If you want just install wxPython - there is one already packaged in
distribution. It is called python-wxGTK.

Thanks, but still, why is the installation from source so daunting? It
has given me such hard time that my primary aim now is to get it
working from source. Can any one please provide good pointers on how
to get it done or tips to figure out what I am missing?

Thanks

···

On 2/9/07, Oleg Deribas <thisaddressisnotmine@td.selfip.net> wrote:

Oleg

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

--
M. Shuaib Khan

M. Shuaib Khan wrote:

Hi,

I am having a hard time installing wxPython from source on my openSuse
10.2 installation. Are you guys sure that one can easily install
wxPython following the build instructions given on the website?
Because I tried, and every time, I get strange errors during
compilation. I tried alternatives, like the simple, ./configure, make,
make install method, and then 'python ./setup.py install', but that
gives 'errors' as well.

I can't read your mind. What errors did you get?

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Hello,

M. Shuaib Khan said the following on 09.02.2007 18:03:

If you want just install wxPython - there is one already packaged in
distribution. It is called python-wxGTK.

Thanks, but still, why is the installation from source so daunting? It
has given me such hard time that my primary aim now is to get it
working from source. Can any one please provide good pointers on how
to get it done or tips to figure out what I am missing?

I'd try to download python-wxGTK source rpm and try to look at spec file.

···

--
Oleg

Oleg Deribas wrote:

I'd try to download python-wxGTK source rpm and try to look at spec file.

Or just build from the src.rpm -- that's the easiest way to build on rpm-based systems.

Building from source using Robin's instructions DOES work. But it is complicated, and there are a fair number of dependencies, so make sure you have all the deps, and go through the process line by line carefully.

If that doesn't work post the first few errors you get here, Robin (and others, but mostly Robin for build issues) is very helpful.

-Chris

···

--
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@noaa.gov

M. Shuaib Khan wrote:
> Hi,
>
> I am having a hard time installing wxPython from source on my openSuse
> 10.2 installation. Are you guys sure that one can easily install
> wxPython following the build instructions given on the website?
> Because I tried, and every time, I get strange errors during
> compilation. I tried alternatives, like the simple, ./configure, make,
> make install method, and then 'python ./setup.py install', but that
> gives 'errors' as well.

I can't read your mind. What errors did you get?

Here they are...

python ./setup.py install
Found wx-config: /usr/local/bin/wx-config
    Using flags: --toolkit=gtk2 --unicode=yes --version=2.8

  Warning: No config found to match: /usr/local/bin/wx-config
--toolkit=gtk2 --unicode=yes --version=2.8 --cxxflags
           in /usr/local/lib/wx/config
  If you require this configuration, please install the desired
  library build. If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.

  Warning: No config found to match: /usr/local/bin/wx-config
--toolkit=gtk2 --unicode=yes --version=2.8 --libs
           in /usr/local/lib/wx/config
  If you require this configuration, please install the desired
  library build. If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.

  Warning: No config found to match: /usr/local/bin/wx-config
--toolkit=gtk2 --unicode=yes --version=2.8 --basename
           in /usr/local/lib/wx/config
  If you require this configuration, please install the desired
  library build. If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.

  Warning: No config found to match: /usr/local/bin/wx-config
--toolkit=gtk2 --unicode=yes --version=2.8 --release
           in /usr/local/lib/wx/config
  If you require this configuration, please install the desired
  library build. If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.

  Warning: No config found to match: /usr/local/bin/wx-config
--toolkit=gtk2 --unicode=yes --version=2.8 --prefix
           in /usr/local/lib/wx/config
  If you require this configuration, please install the desired
  library build. If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.

Preparing CORE...
Preparing GLCANVAS...

  Warning: No config found to match: /usr/local/bin/wx-config
--toolkit=gtk2 --unicode=yes --version=2.8 --libs gl
           in /usr/local/lib/wx/config
  If you require this configuration, please install the desired
  library build. If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.

Preparing STC...
Preparing GIZMOS...
running install
running build
running build_py
copying wx/__version__.py -> build-gtk2.unicode/lib.linux-i686-2.5/wx
copying wx/build/build_options.py ->
build-gtk2.unicode/lib.linux-i686-2.5/wx/build
running build_ext
building '_core_' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -march=i586 -mtune=i686
-fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -g
-fPIC -DSWIG_TYPE_TABLE=_wxPython_table -DSWIG_PYTHON_OUTPUT_TUPLE
-DWXP_USE_THREAD=1 -UNDEBUG -Iinclude -Isrc -I/usr/include/cairo
-I/usr/include/freetype2 -I/usr/include/libpng12
-I/opt/gnome/include/gtk-2.0 -I/opt/gnome/lib/gtk-2.0/include
-I/opt/gnome/include/atk-1.0 -I/opt/gnome/include/pango-1.0
-I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include
-I/usr/include/python2.5 -c src/helpers.cpp -o
build-gtk2.unicode/temp.linux-i686-2.5/src/helpers.o -O3
In file included from src/helpers.cpp:16:
include/wx/wxPython/wxPython_int.h:19:19: error: wx/wx.h: No such file
or directory
include/wx/wxPython/wxPython_int.h:21:25: error: wx/busyinfo.h: No
such file or directory
include/wx/wxPython/wxPython_int.h:22:22: error: wx/caret.h: No such
file or directory
include/wx/wxPython/wxPython_int.h:23:25: error: wx/choicebk.h: No
such file or directory
include/wx/wxPython/wxPython_int.h:24:24: error: wx/clipbrd.h: No such
file or directory
include/wx/wxPython/wxPython_int.h:25:25: error: wx/colordlg.h: No
such file or directory
include/wx/wxPython/wxPython_int.h:26:23: error: wx/config.h: No such
file or directory
include/wx/wxPython/wxPython_int.h:27:23: error: wx/cshelp.h: No such
file or directory
include/wx/wxPython/wxPython_int.h:28:25: error: wx/dcmirror.h: No
such file or directory
include/wx/wxPython/wxPython_int.h:29:21: error: wx/dcps.h: No such
file or directory
include/wx/wxPython/wxPython_int.h:30:24: error: wx/dirctrl.h: No such
file or directory
include/wx/wxPython/wxPython_int.h:31:23: error: wx/dirdlg.h: No such
file or directory
include/wx/wxPython/wxPython_int.h:32:23: error: wx/numdlg.h: No such
file or directory
include/wx/wxPython/wxPython_int.h:33:20: error: wx/dnd.h: No such
file or directory
include/wx/wxPython/wxPython_int.h:34:24: error: wx/docview.h: No such
file or directory
include/wx/wxPython/wxPython_int.h:35:24: error: wx/encconv.h: No such
file or directory
include/wx/wxPython/wxPython_int.h:36:25: error: wx/fdrepdlg.h: No
such file or directory
include/wx/wxPython/wxPython_int.h:37:25: error: wx/fileconf.h: No
such file or directory
include/wx/wxPython/wxPython_int.h:38:24: error: wx/filesys.h: No such
file or directory
include/wx/wxPython/wxPython_int.h:39:24: error: wx/fontdlg.h: No such
file or directory
include/wx/wxPython/wxPython_int.h:40:24: error: wx/fs_inet.h: No such
file or directory
include/wx/wxPython/wxPython_int.h:41:23: error: wx/fs_mem.h: No such
file or directory
include/wx/wxPython/wxPython_int.h:42:23: error: wx/fs_zip.h: No such
file or directory
include/wx/wxPython/wxPython_int.h:43:24: error: wx/gbsizer.h: No such
file or directory
include/wx/wxPython/wxPython_int.h:44:25: error: wx/geometry.h: No
such file or directory
include/wx/wxPython/wxPython_int.h:45:25: error: wx/htmllbox.h: No
such file or directory
include/wx/wxPython/wxPython_int.h:46:22: error: wx/image.h: No such
file or directory
include/wx/wxPython/wxPython_int.h:47:25: error: wx/imaglist.h: No
such file or directory
include/wx/wxPython/wxPython_int.h:48:21: error: wx/intl.h: No such
file or directory
include/wx/wxPython/wxPython_int.h:49:23: error: wx/laywin.h: No such
file or directory
include/wx/wxPython/wxPython_int.h:50:25: error: wx/listbook.h: No
such file or directory
include/wx/wxPython/wxPython_int.h:51:25: error: wx/minifram.h: No
such file or directory
include/wx/wxPython/wxPython_int.h:52:25: error: wx/notebook.h: No
such file or directory
include/wx/wxPython/wxPython_int.h:53:22: error: wx/print.h: No such
file or directory
include/wx/wxPython/wxPython_int.h:54:25: error: wx/printdlg.h: No
such file or directory
include/wx/wxPython/wxPython_int.h:55:24: error: wx/process.h: No such
file or directory
include/wx/wxPython/wxPython_int.h:56:24: error: wx/progdlg.h: No such
file or directory
include/wx/wxPython/wxPython_int.h:57:24: error: wx/sashwin.h: No such
file or directory
include/wx/wxPython/wxPython_int.h:58:25: error: wx/spinbutt.h: No
such file or directory
include/wx/wxPython/wxPython_int.h:59:25: error: wx/spinctrl.h: No
such file or directory
include/wx/wxPython/wxPython_int.h:60:23: error: wx/splash.h: No such
file or directory
include/wx/wxPython/wxPython_int.h:61:25: error: wx/splitter.h: No
such file or directory
include/wx/wxPython/wxPython_int.h:62:25: error: wx/statline.h: No
such file or directory
include/wx/wxPython/wxPython_int.h:63:23: error: wx/stream.h: No such
file or directory
include/wx/wxPython/wxPython_int.h:64:23: error: wx/sysopt.h: No such
file or directory
include/wx/wxPython/wxPython_int.h:65:24: error: wx/taskbar.h: No such
file or directory
include/wx/wxPython/wxPython_int.h:66:23: error: wx/tglbtn.h: No such
file or directory
include/wx/wxPython/wxPython_int.h:67:23: error: wx/tipwin.h: No such
file or directory
include/wx/wxPython/wxPython_int.h:68:25: error: wx/toolbook.h: No
such file or directory
include/wx/wxPython/wxPython_int.h:69:24: error: wx/tooltip.h: No such
file or directory
include/wx/wxPython/wxPython_int.h:70:25: error: wx/treebook.h: No
such file or directory
include/wx/wxPython/wxPython_int.h:71:22: error: wx/vlbox.h: No such
file or directory
include/wx/wxPython/wxPython_int.h:72:24: error: wx/vscroll.h: No such
file or directory
include/wx/wxPython/wxPython_int.h:73:24: error: wx/dateevt.h: No such
file or directory
include/wx/wxPython/wxPython_int.h:74:25: error: wx/datectrl.h: No
such file or directory
include/wx/wxPython/wxPython_int.h:75:22: error: wx/power.h: No such
file or directory
include/wx/wxPython/wxPython_int.h:76:26: error: wx/hyperlink.h: No
such file or directory
include/wx/wxPython/wxPython_int.h:77:27: error: wx/pickerbase.h: No
such file or directory
include/wx/wxPython/wxPython_int.h:78:26: error: wx/clrpicker.h: No
such file or directory
include/wx/wxPython/wxPython_int.h:79:27: error: wx/filepicker.h: No
such file or directory
include/wx/wxPython/wxPython_int.h:80:31: error: wx/fontpicker.h: No
such file or directory
include/wx/wxPython/wxPython_int.h:81:25: error: wx/collpane.h: No
such file or directory
include/wx/wxPython/wxPython_int.h:82:25: error: wx/srchctrl.h: No
such file or directory
src/helpers.cpp:53:25: error: wx/mimetype.h: No such file or directory
include/wx/wxPython/wxPython_int.h:98: error: expected class-name
before '{' token
include/wx/wxPython/wxPython_int.h:100: error: expected `)' before 'evtType'
include/wx/wxPython/wxPython_int.h:103: error: ISO C++ forbids
declaration of 'wxEvent' with no type
include/wx/wxPython/wxPython_int.h:103: error: 'wxEvent' declared as a
'virtual' field
include/wx/wxPython/wxPython_int.h:103: error: expected ';' before '*' token
include/wx/wxPython/wxPython_int.h:104: error: expected `;' before '}' token
include/wx/wxPython/wxPython_int.h:111: error: 'wxPoint2DDouble' does
not name a type
include/wx/wxPython/wxPython_int.h:112: error: 'wxRect2DDouble' does
not name a type
include/wx/wxPython/wxPython_int.h:135: error: variable or field
'wxPyEventThunker' declared void
include/wx/wxPython/wxPython_int.h:135: error: 'wxObject' was not
declared in this scope
include/wx/wxPython/wxPython_int.h:135: error: expected
primary-expression before ',' token
include/wx/wxPython/wxPython_int.h:135: error: 'wxEvent' was not
declared in this scope
include/wx/wxPython/wxPython_int.h:135: error: 'event' was not
declared in this scope
include/wx/wxPython/wxPython_int.h:135: error: initializer expression
list treated as compound expression
include/wx/wxPython/wxPython_int.h:138: error: expected ',' or '...'
before '*' token
include/wx/wxPython/wxPython_int.h:138: error: ISO C++ forbids
declaration of 'wxChar' with no type
include/wx/wxPython/wxPython_int.h:140: error: expected ',' or '...'
before '*' token
include/wx/wxPython/wxPython_int.h:141: error: ISO C++ forbids
declaration of 'wxChar' with no type
include/wx/wxPython/wxPython_int.h:143: error: expected ',' or '...'
before '*' token
include/wx/wxPython/wxPython_int.h:143: error: ISO C++ forbids
declaration of 'wxChar' with no type
include/wx/wxPython/wxPython_int.h:144: error: expected ',' or '...'
before '*' token
include/wx/wxPython/wxPython_int.h:144: error: ISO C++ forbids
declaration of 'wxChar' with no type
include/wx/wxPython/wxPython_int.h:147: error: expected ',' or '...'
before '&' token
include/wx/wxPython/wxPython_int.h:147: error: ISO C++ forbids
declaration of 'wxString' with no type
include/wx/wxPython/wxPython_int.h:148: error: 'wxString' does not name a type
include/wx/wxPython/wxPython_int.h:150: error: 'wxObject' was not
declared in this scope
include/wx/wxPython/wxPython_int.h:150: error: 'source' was not
declared in this scope
include/wx/wxPython/wxPython_int.h:150: error: expected
primary-expression before 'bool'
include/wx/wxPython/wxPython_int.h:150: error: expected
primary-expression before 'bool'
include/wx/wxPython/wxPython_int.h:150: error: initializer expression
list treated as compound expression
include/wx/wxPython/wxPython_int.h:151: error: 'wxSizer' was not
declared in this scope
include/wx/wxPython/wxPython_int.h:151: error: 'source' was not
declared in this scope
include/wx/wxPython/wxPython_int.h:151: error: expected
primary-expression before 'bool'
include/wx/wxPython/wxPython_int.h:151: error: initializer expression
list treated as compound expression
include/wx/wxPython/wxPython_int.h:154: error: 'wxListBase' was not
declared in this scope
include/wx/wxPython/wxPython_int.h:154: error: 'list' was not declared
in this scope
include/wx/wxPython/wxPython_int.h:155: error: 'wxWindow' was not
declared in this scope
include/wx/wxPython/wxPython_int.h:155: error: 'win' was not declared
in this scope
include/wx/wxPython/wxPython_int.h:236: error: expected constructor,
destructor, or type conversion before '*' token
include/wx/wxPython/wxPython_int.h:242: error: expected constructor,
destructor, or type conversion before '*' token
include/wx/wxPython/wxPython_int.h:243: error: expected constructor,
destructor, or type conversion before '*' token
include/wx/wxPython/wxPython_int.h:244: error: expected constructor,
destructor, or type conversion before '*' token
include/wx/wxPython/wxPython_int.h:245: error: expected constructor,
destructor, or type conversion before '*' token
include/wx/wxPython/wxPython_int.h:246: error: expected constructor,
destructor, or type conversion before '*' token
include/wx/wxPython/wxPython_int.h:247: error: expected constructor,
destructor, or type conversion before '*' token
include/wx/wxPython/wxPython_int.h:249: error: 'wxSize' has not been declared
include/wx/wxPython/wxPython_int.h:250: error: 'wxPoint' has not been declared
include/wx/wxPython/wxPython_int.h:251: error: 'wxRealPoint' has not
been declared
include/wx/wxPython/wxPython_int.h:252: error: 'wxRect' has not been declared
include/wx/wxPython/wxPython_int.h:253: error: 'wxColour' has not been declared
include/wx/wxPython/wxPython_int.h:254: error: 'wxPoint2D' has not been declared
include/wx/wxPython/wxPython_int.h:255: error: 'wxRect2D' has not been declared
include/wx/wxPython/wxPython_int.h:258: error: expected ',' or '...'
before '*' token
include/wx/wxPython/wxPython_int.h:258: error: ISO C++ forbids
declaration of 'wxChar' with no type
include/wx/wxPython/wxPython_int.h:269: error: expected ',' or '...'
before '&' token
include/wx/wxPython/wxPython_int.h:269: error: ISO C++ forbids
declaration of 'wxArrayString' with no type
include/wx/wxPython/wxPython_int.h:270: error: expected ',' or '...'
before '&' token
include/wx/wxPython/wxPython_int.h:270: error: ISO C++ forbids
declaration of 'wxArrayInt' with no type
include/wx/wxPython/wxPython_int.h:271: error: expected ',' or '...'
before '&' token
include/wx/wxPython/wxPython_int.h:271: error: ISO C++ forbids
declaration of 'wxArrayDouble' with no type
include/wx/wxPython/wxPython_int.h:290: error: expected class-name
before '{' token
include/wx/wxPython/wxPython_int.h:291: error: ISO C++ forbids
declaration of 'DECLARE_ABSTRACT_CLASS' with no type
include/wx/wxPython/wxPython_int.h:292: error: expected ';' before 'public'
include/wx/wxPython/wxPython_int.h:297: error: 'wxEvent' has not been declared
include/wx/wxPython/wxPython_int.h:326: error: expected class-name
before ',' token
include/wx/wxPython/wxPython_int.h:327: error: ISO C++ forbids
declaration of 'DECLARE_ABSTRACT_CLASS' with no type
include/wx/wxPython/wxPython_int.h:328: error: expected ';' before 'public'
include/wx/wxPython/wxPython_int.h:333: error: ISO C++ forbids
declaration of 'wxEvent' with no type
include/wx/wxPython/wxPython_int.h:333: error: 'wxEvent' declared as a
'virtual' field
include/wx/wxPython/wxPython_int.h:333: error: expected ';' before '*' token
include/wx/wxPython/wxPython_int.h:334: error: expected `;' before '}' token
include/wx/wxPython/wxPython_int.h:337: error: expected class-name
before ',' token
include/wx/wxPython/wxPython_int.h:338: error: ISO C++ forbids
declaration of 'DECLARE_ABSTRACT_CLASS' with no type
include/wx/wxPython/wxPython_int.h:339: error: expected ';' before 'public'
include/wx/wxPython/wxPython_int.h:344: error: ISO C++ forbids
declaration of 'wxEvent' with no type
include/wx/wxPython/wxPython_int.h:344: error: 'wxEvent' declared as a
'virtual' field
include/wx/wxPython/wxPython_int.h:344: error: expected ';' before '*' token
include/wx/wxPython/wxPython_int.h:345: error: expected `;' before '}' token
include/wx/wxPython/wxPython_int.h:371: error: expected ',' or '...'
before '*' token
include/wx/wxPython/wxPython_int.h:371: error: ISO C++ forbids
declaration of 'wxChar' with no type
include/wx/wxPython/wxPython_int.h:372: error: expected ',' or '...'
before '*' token
include/wx/wxPython/wxPython_int.h:372: error: ISO C++ forbids
declaration of 'wxChar' with no type
include/wx/wxPython/wxPython_int.h:373: error: expected ',' or '...'
before '*' token
include/wx/wxPython/wxPython_int.h:373: error: ISO C++ forbids
declaration of 'wxChar' with no type
include/wx/wxPython/wxPython_int.h:374: error: expected ',' or '...'
before '*' token
include/wx/wxPython/wxPython_int.h:374: error: ISO C++ forbids
declaration of 'wxChar' with no type
include/wx/wxPython/wxPython_int.h:381: error: expected ';' before '(' token
include/wx/wxPython/wxPython_int.h:383: error: ISO C++ forbids
declaration of 'wxString' with no type
include/wx/wxPython/wxPython_int.h:383: error: expected ';' before '*' token
include/wx/wxPython/wxPython_int.h:384: error: expected identifier
before '*' token
include/wx/wxPython/wxPython_int.h:384: error: ISO C++ forbids
declaration of 'wxString' with no type
include/wx/wxPython/wxPython_int.h:384: error: 'wxString' declared as
function returning a function
include/wx/wxPython/wxPython_int.h:385: error: expected ',' or '...'
before '&' token
include/wx/wxPython/wxPython_int.h:385: error: ISO C++ forbids
declaration of 'wxString' with no type
include/wx/wxPython/wxPython_int.h:391: error: ISO C++ forbids
declaration of 'wxPoint' with no type
include/wx/wxPython/wxPython_int.h:391: error: expected ';' before '*' token
include/wx/wxPython/wxPython_int.h:392: error: ISO C++ forbids
declaration of 'wxBitmap' with no type
include/wx/wxPython/wxPython_int.h:392: error: expected ';' before '*' token
include/wx/wxPython/wxPython_int.h:393: error: ISO C++ forbids
declaration of 'wxString' with no type
include/wx/wxPython/wxPython_int.h:393: error: expected ';' before '*' token
include/wx/wxPython/wxPython_int.h:394: error: ISO C++ forbids
declaration of 'wxAcceleratorEntry' with no type
include/wx/wxPython/wxPython_int.h:394: error: expected ';' before '*' token
include/wx/wxPython/wxPython_int.h:396: error: 'wxSize' has not been declared
include/wx/wxPython/wxPython_int.h:397: error: 'wxPoint' has not been declared
include/wx/wxPython/wxPython_int.h:398: error: 'wxRealPoint' has not
been declared
include/wx/wxPython/wxPython_int.h:399: error: 'wxRect' has not been declared
include/wx/wxPython/wxPython_int.h:400: error: 'wxColour' has not been declared
include/wx/wxPython/wxPython_int.h:401: error: 'wxPoint2D' has not been declared
include/wx/wxPython/wxPython_int.h:404: error: expected ',' or '...'
before '*' token
include/wx/wxPython/wxPython_int.h:404: error: ISO C++ forbids
declaration of 'wxChar' with no type
include/wx/wxPython/wxPython_int.h:413: error: expected ';' before '(' token
include/wx/wxPython/wxPython_int.h:414: error: expected ';' before '(' token
include/wx/wxPython/wxPython_int.h:418: error: expected ',' or '...'
before '&' token
include/wx/wxPython/wxPython_int.h:418: error: ISO C++ forbids
declaration of 'wxArrayString' with no type
include/wx/wxPython/wxPython_int.h:419: error: expected ',' or '...'
before '&' token
include/wx/wxPython/wxPython_int.h:419: error: ISO C++ forbids
declaration of 'wxArrayInt' with no type
include/wx/wxPython/wxPython_int.h:434: error: expected ',' or '...'
before '&' token
include/wx/wxPython/wxPython_int.h:434: error: ISO C++ forbids
declaration of 'wxArrayDouble' with no type
include/wx/wxPython/wxPython_int.h:435: error: ISO C++ forbids
declaration of 'wxPoint2D' with no type
include/wx/wxPython/wxPython_int.h:435: error: expected ';' before '*' token
include/wx/wxPython/wxPython_int.h:436: error: 'wxRect2D' has not been declared
include/wx/wxPython/wxPython_int.h:451: error: expected class-name
before '{' token
include/wx/wxPython/wxPython_int.h:470: error: expected class-name
before '{' token
include/wx/wxPython/wxPython_int.h:512: error: expected class-name
before '{' token
include/wx/wxPython/wxPython_int.h:523: error: expected ';' before '(' token
include/wx/wxPython/wxPython_int.h:524: error: expected ';' before '(' token
include/wx/wxPython/wxPython_int.h:525: error: expected ';' before '(' token
include/wx/wxPython/wxPython_int.h:532: error: 'wxImage' has not been declared
include/wx/wxPython/wxPython_int.h:532: error: 'wxInputStream' has not
been declared
include/wx/wxPython/wxPython_int.h:534: error: 'wxImage' has not been declared
include/wx/wxPython/wxPython_int.h:534: error: 'wxOutputStream' has
not been declared
include/wx/wxPython/wxPython_int.h:536: error: 'wxInputStream' has not
been declared
include/wx/wxPython/wxPython_int.h:537: error: 'wxInputStream' has not
been declared
include/wx/wxPython/wxPython_int.h:512: warning: 'class
wxPyImageHandler' has virtual functions but non-virtual destructor
include/wx/wxPython/wxPython_int.h:619: error: expected class-name
before '{' token
include/wx/wxPython/wxPython_int.h:620: error: ISO C++ forbids
declaration of 'DECLARE_ABSTRACT_CLASS' with no type
include/wx/wxPython/wxPython_int.h:622: error: expected ';' before 'public'
include/wx/wxPython/wxPython_int.h:644: error: expected ',' or '...'
before '&' token
include/wx/wxPython/wxPython_int.h:644: error: ISO C++ forbids
declaration of 'wxString' with no type
include/wx/wxPython/wxPython_int.h:645: error: expected ',' or '...'
before '&' token
include/wx/wxPython/wxPython_int.h:645: error: ISO C++ forbids
declaration of 'wxString' with no type
include/wx/wxPython/wxPython_int.h:653: error: 'wxString' does not name a type
include/wx/wxPython/wxPython_int.h:659: error: expected ',' or '...'
before '&' token
include/wx/wxPython/wxPython_int.h:659: error: ISO C++ forbids
declaration of 'wxString' with no type
include/wx/wxPython/pyistream.h:27: error: ISO C++ forbids declaration
of 'wxInputStream' with no type
include/wx/wxPython/pyistream.h:27: error: expected ';' before '*' token
include/wx/wxPython/pyistream.h:30: error: expected `)' before '*' token
include/wx/wxPython/pyistream.h:60: error: 'wxSeekMode' has not been declared
include/wx/wxPython/pyistream.h: In member function 'char
wxPyInputStream::Peek()':
include/wx/wxPython/pyistream.h:53: error: 'm_wxis' was not declared
in this scope
include/wx/wxPython/pyistream.h: In member function 'char
wxPyInputStream::GetC()':
include/wx/wxPython/pyistream.h:54: error: 'm_wxis' was not declared
in this scope
include/wx/wxPython/pyistream.h: In member function 'size_t
wxPyInputStream::LastRead()':
include/wx/wxPython/pyistream.h:55: error: 'm_wxis' was not declared
in this scope
include/wx/wxPython/pyistream.h: In member function 'bool
wxPyInputStream::CanRead()':
include/wx/wxPython/pyistream.h:56: error: 'm_wxis' was not declared
in this scope
include/wx/wxPython/pyistream.h: In member function 'bool
wxPyInputStream::Eof()':
include/wx/wxPython/pyistream.h:57: error: 'm_wxis' was not declared
in this scope
include/wx/wxPython/pyistream.h: In member function 'bool
wxPyInputStream::Ungetch(char)':
include/wx/wxPython/pyistream.h:58: error: 'm_wxis' was not declared
in this scope
include/wx/wxPython/pyistream.h: In member function 'long unsigned int
wxPyInputStream::SeekI(long unsigned int, int)':
include/wx/wxPython/pyistream.h:61: error: 'm_wxis' was not declared
in this scope
include/wx/wxPython/pyistream.h: In member function 'long unsigned int
wxPyInputStream::TellI()':
include/wx/wxPython/pyistream.h:62: error: 'm_wxis' was not declared
in this scope
include/wx/wxPython/pyistream.h: At global scope:
include/wx/wxPython/pyistream.h:69: error: expected class-name before '{' token
include/wx/wxPython/pyistream.h:72: error: 'wxFileOffset' does not name a type
include/wx/wxPython/pyistream.h:86: error: 'wxFileOffset' does not name a type
include/wx/wxPython/pyistream.h:87: error: 'wxFileOffset' does not name a type
include/wx/wxPython/pyistream.h:69: warning: 'class wxPyCBInputStream'
has virtual functions but non-virtual destructor
include/wx/wxPython/twoitem.h:19: error: expected ',' or '...' before '*' token
include/wx/wxPython/twoitem.h:19: error: ISO C++ forbids declaration
of 'wxChar' with no type
include/wx/wxPython/twoitem.h: In function 'bool
wxPyTwoIntItem_helper(PyObject*, T**, int)':
include/wx/wxPython/twoitem.h:24: error: 'name' was not declared in this scope
include/wx/wxPython/twoitem.h:45: error: 'wxString' was not declared
in this scope
include/wx/wxPython/twoitem.h:45: error: expected `;' before 'msg'
include/wx/wxPython/twoitem.h:46: error: 'msg' was not declared in this scope
include/wx/wxPython/twoitem.h:46: error: there are no arguments to
'wxT' that depend on a template parameter, so a declaration of 'wxT'
must be available
include/wx/wxPython/twoitem.h:46: error: (if you use '-fpermissive',
G++ will accept your code, but allowing the use of an undeclared name
is deprecated)
include/wx/wxPython/twoitem.h:46: error: 'name' was not declared in this scope
src/helpers.cpp: At global scope:
src/helpers.cpp:125: error: 'wxApp' has not been declared
src/helpers.cpp:125: error: expected constructor, destructor, or type
conversion before ';' token
src/helpers.cpp:128: error: definition of implicitly-declared
'wxPyApp::wxPyApp()'
src/helpers.cpp: In destructor 'wxPyApp::~wxPyApp()':
src/helpers.cpp:136: error: 'wxApp' has not been declared
src/helpers.cpp: In member function 'int wxPyApp::MainLoop()':
src/helpers.cpp:149: error: 'DeletePendingObjects' was not declared in
this scope
src/helpers.cpp:150: error: 'wxTopLevelWindows' was not declared in this scope
src/helpers.cpp:152: error: 'm_exitOnFrameDelete' was not declared in this scope
src/helpers.cpp:152: error: 'Later' was not declared in this scope
src/helpers.cpp:153: error: 'Yes' was not declared in this scope
src/helpers.cpp:156: error: 'wxApp' has not been declared
src/helpers.cpp: In member function 'virtual bool wxPyApp::OnInitGui()':
src/helpers.cpp:165: error: 'wxApp' has not been declared
src/helpers.cpp: In member function 'virtual int wxPyApp::OnExit()':
src/helpers.cpp:180: error: 'wxApp' has not been declared
src/helpers.cpp: In member function 'virtual void wxPyApp::ExitMainLoop()':
src/helpers.cpp:193: error: 'wxApp' has not been declared
src/helpers.cpp: At global scope:
src/helpers.cpp:289: error: expected ',' or '...' before '&' token
src/helpers.cpp:289: error: ISO C++ forbids declaration of 'wxString'
with no type
src/helpers.cpp: In member function 'virtual void wxPyApp::MacOpenFile(int)':
src/helpers.cpp:293: error: 'fileName' was not declared in this scope
src/helpers.cpp: At global scope:
src/helpers.cpp:300: error: expected ',' or '...' before '&' token
src/helpers.cpp:300: error: ISO C++ forbids declaration of 'wxString'
with no type
src/helpers.cpp: In member function 'virtual void wxPyApp::MacPrintFile(int)':
src/helpers.cpp:304: error: 'fileName' was not declared in this scope
src/helpers.cpp: At global scope:
src/helpers.cpp:361: error: 'wxString' does not name a type
src/helpers.cpp:395: error: expected ',' or '...' before '&' token
src/helpers.cpp:395: error: ISO C++ forbids declaration of 'wxString'
with no type
src/helpers.cpp: In member function 'void wxPyApp::_BootstrapApp()':
src/helpers.cpp:438: error: 'wxEntryStart' was not declared in this scope
src/helpers.cpp:465: error: 'class wxPyApp' has no member named 'argc'
src/helpers.cpp:466: error: 'class wxPyApp' has no member named 'argv'
src/helpers.cpp: In function 'void __wxPyPreStart(PyObject*)':
src/helpers.cpp:599: error: 'wxApp' has not been declared
src/helpers.cpp:599: error: 'WX_BUILD_OPTIONS_SIGNATURE' was not
declared in this scope
src/helpers.cpp:601: error: 'wxInitAllImageHandlers' was not declared
in this scope
src/helpers.cpp: In function 'void __wxPyCleanup()':
src/helpers.cpp:610: error: 'wxEntryCleanup' was not declared in this scope
src/helpers.cpp: In function 'PyObject* __wxPySetDictionary(PyObject*,
PyObject*)':
src/helpers.cpp:682: error: 'wxPlatform' was not declared in this scope
src/helpers.cpp:683: error: 'wxUSE_UNICODE' was not declared in this scope
src/helpers.cpp:696: error: 'wxPlatName' was not declared in this scope
src/helpers.cpp: In function 'bool wxPyCheckForApp()':
src/helpers.cpp:746: error: 'wxTheApp' was not declared in this scope
src/helpers.cpp: At global scope:
src/helpers.cpp:863: error: redefinition of 'PyObject* wxPyMake_wxObject'
include/wx/wxPython/wxPython_int.h:150: error: 'PyObject*
wxPyMake_wxObject' previously defined here
src/helpers.cpp:863: error: 'wxObject' was not declared in this scope
src/helpers.cpp:863: error: 'source' was not declared in this scope
src/helpers.cpp:863: error: expected primary-expression before 'bool'
src/helpers.cpp:928: error: redefinition of 'PyObject* wxPyMake_wxSizer'
include/wx/wxPython/wxPython_int.h:151: error: 'PyObject*
wxPyMake_wxSizer' previously defined here
src/helpers.cpp:928: error: 'wxSizer' was not declared in this scope
src/helpers.cpp:928: error: 'source' was not declared in this scope
src/helpers.cpp:928: error: expected primary-expression before 'bool'
src/helpers.cpp: In member function 'bool wxPyInputStream::eof()':
src/helpers.cpp:1090: error: 'm_wxis' was not declared in this scope
src/helpers.cpp: In destructor 'wxPyInputStream::~wxPyInputStream()':
src/helpers.cpp:1097: error: 'm_wxis' was not declared in this scope
src/helpers.cpp:1098: error: type '<type error>' argument given to
'delete', expected pointer
src/helpers.cpp: In member function 'PyObject* wxPyInputStream::read(int)':
src/helpers.cpp:1106: error: 'wxMemoryBuffer' was not declared in this scope
src/helpers.cpp:1106: error: expected `;' before 'buf'
src/helpers.cpp:1110: error: 'm_wxis' was not declared in this scope
src/helpers.cpp:1119: error: 'm_wxis' was not declared in this scope
src/helpers.cpp:1120: error: 'buf' was not declared in this scope
src/helpers.cpp:1125: error: 'm_wxis' was not declared in this scope
src/helpers.cpp:1125: error: 'buf' was not declared in this scope
src/helpers.cpp:1131: error: 'wxStreamError' was not declared in this scope
src/helpers.cpp:1131: error: expected `;' before 'err'
src/helpers.cpp:1132: error: 'err' was not declared in this scope
src/helpers.cpp:1132: error: 'wxSTREAM_NO_ERROR' was not declared in this scope
src/helpers.cpp:1132: error: 'wxSTREAM_EOF' was not declared in this scope
src/helpers.cpp:1137: error: 'buf' was not declared in this scope
src/helpers.cpp: In member function 'PyObject* wxPyInputStream::readline(int)':
src/helpers.cpp:1146: error: 'wxMemoryBuffer' was not declared in this scope
src/helpers.cpp:1146: error: expected `;' before 'buf'
src/helpers.cpp:1151: error: 'm_wxis' was not declared in this scope
src/helpers.cpp:1159: error: 'm_wxis' was not declared in this scope
src/helpers.cpp:1161: error: 'buf' was not declared in this scope
src/helpers.cpp:1166: error: 'wxStreamError' was not declared in this scope
src/helpers.cpp:1166: error: expected `;' before 'err'
src/helpers.cpp:1167: error: 'err' was not declared in this scope
src/helpers.cpp:1167: error: 'wxSTREAM_NO_ERROR' was not declared in this scope
src/helpers.cpp:1167: error: 'wxSTREAM_EOF' was not declared in this scope
src/helpers.cpp:1172: error: 'buf' was not declared in this scope
src/helpers.cpp: In member function 'PyObject* wxPyInputStream::readlines(int)':
src/helpers.cpp:1183: error: 'm_wxis' was not declared in this scope
src/helpers.cpp:1204: error: 'm_wxis' was not declared in this scope
src/helpers.cpp:1219: error: 'wxStreamError' was not declared in this scope
src/helpers.cpp:1219: error: expected `;' before 'err'
src/helpers.cpp:1220: error: 'err' was not declared in this scope
src/helpers.cpp:1220: error: 'wxSTREAM_NO_ERROR' was not declared in this scope
src/helpers.cpp:1220: error: 'wxSTREAM_EOF' was not declared in this scope
src/helpers.cpp: In member function 'void wxPyInputStream::seek(int, int)':
src/helpers.cpp:1233: error: 'm_wxis' was not declared in this scope
src/helpers.cpp:1234: error: 'wxSeekMode' was not declared in this scope
src/helpers.cpp: In member function 'int wxPyInputStream::tell()':
src/helpers.cpp:1238: error: 'm_wxis' was not declared in this scope
src/helpers.cpp: In constructor
'wxPyCBInputStream::wxPyCBInputStream(PyObject*, PyObject*, PyObject*,
bool)':
src/helpers.cpp:1247: error: class 'wxPyCBInputStream' does not have
any field named 'wxInputStream'
src/helpers.cpp: At global scope:
src/helpers.cpp:1314: error: 'wxFileOffset' does not name a type
src/helpers.cpp: In member function 'virtual size_t
wxPyCBInputStream::OnSysRead(void*, size_t)':
src/helpers.cpp:1340: error: 'm_lasterror' was not declared in this scope
src/helpers.cpp:1340: error: 'wxSTREAM_EOF' was not declared in this scope
src/helpers.cpp:1348: error: 'm_lasterror' was not declared in this scope
src/helpers.cpp:1348: error: 'wxSTREAM_READ_ERROR' was not declared in
this scope
src/helpers.cpp: In member function 'virtual size_t
wxPyCBInputStream::OnSysWrite(const void*, size_t)':
src/helpers.cpp:1354: error: 'm_lasterror' was not declared in this scope
src/helpers.cpp:1354: error: 'wxSTREAM_WRITE_ERROR' was not declared
in this scope
src/helpers.cpp: At global scope:
src/helpers.cpp:1359: error: 'wxFileOffset' does not name a type
src/helpers.cpp:1380: error: 'wxFileOffset' does not name a type
src/helpers.cpp:1399: error: 'wxObject' has not been declared
src/helpers.cpp:1399: error: expected constructor, destructor, or type
conversion before ';' token
src/helpers.cpp:1401: error: prototype for
'wxPyCallback::wxPyCallback(PyObject*)' does not match any in class
'wxPyCallback'
include/wx/wxPython/wxPython_int.h:294: error: candidate is:
wxPyCallback::wxPyCallback(const wxPyCallback&)
src/helpers.cpp:1422: error: variable or field 'EventThunker' declared void
src/helpers.cpp:1422: error: 'int wxPyCallback::EventThunker' is not a
static member of 'class wxPyCallback'
src/helpers.cpp:1422: error: 'wxEvent' was not declared in this scope
src/helpers.cpp:1422: error: 'event' was not declared in this scope
src/helpers.cpp:1422: error: expected ',' or ';' before '{' token
src/helpers.cpp:1773: error: 'wxEvent' has not been declared
src/helpers.cpp:1773: error: expected constructor, destructor, or type
conversion before ';' token
src/helpers.cpp:1774: error: 'wxCommandEvent' has not been declared
src/helpers.cpp:1774: error: expected constructor, destructor, or type
conversion before ';' token
src/helpers.cpp:1777: error: 'wxEventType' has not been declared
src/helpers.cpp:1777: error: prototype for 'wxPyEvent::wxPyEvent(int,
int)' does not match any in class 'wxPyEvent'
include/wx/wxPython/wxPython_int.h:330: error: candidate is:
wxPyEvent::wxPyEvent(const wxPyEvent&)
src/helpers.cpp: In constructor 'wxPyEvent::wxPyEvent(int, int)':
src/helpers.cpp:1778: error: class 'wxPyEvent' does not have any field
named 'wxEvent'
src/helpers.cpp: In copy constructor 'wxPyEvent::wxPyEvent(const wxPyEvent&)':
src/helpers.cpp:1783: error: class 'wxPyEvent' does not have any field
named 'wxEvent'
src/helpers.cpp: At global scope:
src/helpers.cpp:1793: error: expected `)' before 'commandType'
src/helpers.cpp: In copy constructor
'wxPyCommandEvent::wxPyCommandEvent(const wxPyCommandEvent&)':
src/helpers.cpp:1799: error: class 'wxPyCommandEvent' does not have
any field named 'wxCommandEvent'
src/helpers.cpp: At global scope:
src/helpers.cpp:1816: error: redefinition of 'PyObject* wxPy_ConvertList'
include/wx/wxPython/wxPython_int.h:154: error: 'PyObject*
wxPy_ConvertList' previously defined here
src/helpers.cpp:1816: error: 'wxListBase' was not declared in this scope
src/helpers.cpp:1816: error: 'listbase' was not declared in this scope
src/helpers.cpp:1838: error: redefinition of 'long int wxPyGetWinHandle'
include/wx/wxPython/wxPython_int.h:155: error: 'long int
wxPyGetWinHandle' previously defined here
src/helpers.cpp:1838: error: 'wxWindow' was not declared in this scope
src/helpers.cpp:1838: error: 'win' was not declared in this scope
src/helpers.cpp:1860: error: expected constructor, destructor, or type
conversion before '*' token
src/helpers.cpp:1906: error: 'wxString' does not name a type
src/helpers.cpp:1949: error: expected ',' or '...' before '&' token
src/helpers.cpp:1949: error: ISO C++ forbids declaration of 'wxString'
with no type
src/helpers.cpp: In function 'PyObject* wx2PyString(int)':
src/helpers.cpp:1955: error: 'src' was not declared in this scope
src/helpers.cpp: At global scope:
src/helpers.cpp:2070: error: 'wxPoint' has not been declared
src/helpers.cpp: In function 'bool wxPointFromObjects(PyObject*,
PyObject*, int*)':
src/helpers.cpp:2074: error: request for member 'x' in '* point',
which is of non-class type 'int'
src/helpers.cpp:2076: error: request for member 'x' in '* point',
which is of non-class type 'int'
src/helpers.cpp:2078: error: request for member 'x' in '* point',
which is of non-class type 'int'
src/helpers.cpp:2084: error: request for member 'y' in '* point',
which is of non-class type 'int'
src/helpers.cpp:2086: error: request for member 'y' in '* point',
which is of non-class type 'int'
src/helpers.cpp:2088: error: request for member 'y' in '* point',
which is of non-class type 'int'
src/helpers.cpp: At global scope:
src/helpers.cpp:2103: error: 'wxPoint2D' has not been declared
src/helpers.cpp: In function 'bool wxPoint2DFromObjects(PyObject*,
PyObject*, int*)':
src/helpers.cpp:2107: error: request for member 'm_x' in '* point',
which is of non-class type 'int'
src/helpers.cpp:2109: error: request for member 'm_x' in '* point',
which is of non-class type 'int'
src/helpers.cpp:2111: error: request for member 'm_x' in '* point',
which is of non-class type 'int'
src/helpers.cpp:2117: error: request for member 'm_y' in '* point',
which is of non-class type 'int'
src/helpers.cpp:2119: error: request for member 'm_y' in '* point',
which is of non-class type 'int'
src/helpers.cpp:2121: error: request for member 'm_y' in '* point',
which is of non-class type 'int'
src/helpers.cpp: At global scope:
src/helpers.cpp:2130: error: expected constructor, destructor, or type
conversion before '*' token
src/helpers.cpp:2213: error: expected constructor, destructor, or type
conversion before '*' token
src/helpers.cpp:2297: error: expected constructor, destructor, or type
conversion before '*' token
src/helpers.cpp:2328: error: expected constructor, destructor, or type
conversion before '*' token
src/helpers.cpp:2361: error: expected constructor, destructor, or type
conversion before '*' token
src/helpers.cpp:2397: error: expected constructor, destructor, or type
conversion before '*' token
src/helpers.cpp:2493: error: expected ',' or '...' before '*' token
src/helpers.cpp:2493: error: ISO C++ forbids declaration of 'wxChar'
with no type
src/helpers.cpp: In function 'bool wxPySimple_typecheck(PyObject*, int)':
src/helpers.cpp:2498: error: 'classname' was not declared in this scope
src/helpers.cpp:2502: error: 'seqLen' was not declared in this scope
src/helpers.cpp: At global scope:
src/helpers.cpp:2508: error: 'wxSize' has not been declared
src/helpers.cpp: In function 'bool wxSize_helper(PyObject*, int**)':
src/helpers.cpp:2511: error: 'wxSize' was not declared in this scope
src/helpers.cpp:2514: error: 'wxT' was not declared in this scope
src/helpers.cpp: At global scope:
src/helpers.cpp:2518: error: 'wxPoint' has not been declared
src/helpers.cpp: In function 'bool wxPoint_helper(PyObject*, int**)':
src/helpers.cpp:2521: error: 'wxPoint' was not declared in this scope
src/helpers.cpp:2524: error: 'wxT' was not declared in this scope
src/helpers.cpp: At global scope:
src/helpers.cpp:2529: error: 'wxRealPoint' has not been declared
src/helpers.cpp: In function 'bool wxRealPoint_helper(PyObject*, int**)':
src/helpers.cpp:2532: error: 'wxRealPoint' was not declared in this scope
src/helpers.cpp:2538: error: 'wxRealPoint' was not declared in this scope
src/helpers.cpp:2538: error: 'ptr' was not declared in this scope
src/helpers.cpp:2539: error: 'wxT' was not declared in this scope
src/helpers.cpp:2553: error: 'wxRealPoint' was not declared in this scope
src/helpers.cpp: At global scope:
src/helpers.cpp:2566: error: 'wxRect' has not been declared
src/helpers.cpp: In function 'bool wxRect_helper(PyObject*, int**)':
src/helpers.cpp:2569: error: 'wxRect' was not declared in this scope
src/helpers.cpp:2575: error: 'wxRect' was not declared in this scope
src/helpers.cpp:2575: error: 'ptr' was not declared in this scope
src/helpers.cpp:2576: error: 'wxT' was not declared in this scope
src/helpers.cpp:2596: error: 'wxRect' was not declared in this scope
src/helpers.cpp: At global scope:
src/helpers.cpp:2611: error: 'wxColour' has not been declared
src/helpers.cpp: In function 'bool wxColour_helper(PyObject*, int**)':
src/helpers.cpp:2614: error: 'wxNullColour' was not declared in this scope
src/helpers.cpp:2620: error: 'wxColour' was not declared in this scope
src/helpers.cpp:2620: error: 'ptr' was not declared in this scope
src/helpers.cpp:2621: error: 'wxT' was not declared in this scope
src/helpers.cpp:2628: error: 'wxString' was not declared in this scope
src/helpers.cpp:2628: error: expected `;' before 'spec'
src/helpers.cpp:2629: error: 'spec' was not declared in this scope
src/helpers.cpp:2636: error: 'wxColour' was not declared in this scope
src/helpers.cpp:2640: error: 'wxColour' was not declared in this scope
src/helpers.cpp:2655: error: 'wxColour' was not declared in this scope
src/helpers.cpp:2673: error: 'wxColour' was not declared in this scope
src/helpers.cpp: In function 'bool wxColour_typecheck(PyObject*)':
src/helpers.cpp:2690: error: 'wxT' was not declared in this scope
src/helpers.cpp: At global scope:
src/helpers.cpp:2701: error: 'wxPoint2D' has not been declared
src/helpers.cpp: In function 'bool wxPoint2D_helper(PyObject*, int**)':
src/helpers.cpp:2704: error: 'wxPoint2D' was not declared in this scope
src/helpers.cpp:2710: error: 'wxPoint2D' was not declared in this scope
src/helpers.cpp:2710: error: 'ptr' was not declared in this scope
src/helpers.cpp:2711: error: 'wxT' was not declared in this scope
src/helpers.cpp:2726: error: 'wxPoint2D' was not declared in this scope
src/helpers.cpp: At global scope:
src/helpers.cpp:2738: error: 'wxRect2D' has not been declared
src/helpers.cpp: In function 'bool wxRect2D_helper(PyObject*, int**)':
src/helpers.cpp:2741: error: 'wxRect2D' was not declared in this scope
src/helpers.cpp:2747: error: 'wxRect2D' was not declared in this scope
src/helpers.cpp:2747: error: 'ptr' was not declared in this scope
src/helpers.cpp:2748: error: 'wxT' was not declared in this scope
src/helpers.cpp:2769: error: 'wxRect2D' was not declared in this scope
src/helpers.cpp: At global scope:
src/helpers.cpp:2784: error: expected ',' or '...' before '&' token
src/helpers.cpp:2784: error: ISO C++ forbids declaration of
'wxArrayString' with no type
src/helpers.cpp: In function 'PyObject* wxArrayString2PyList_helper(int)':
src/helpers.cpp:2787: error: 'arr' was not declared in this scope
src/helpers.cpp: At global scope:
src/helpers.cpp:2800: error: expected ',' or '...' before '&' token
src/helpers.cpp:2800: error: ISO C++ forbids declaration of
'wxArrayInt' with no type
src/helpers.cpp: In function 'PyObject* wxArrayInt2PyList_helper(int)':
src/helpers.cpp:2803: error: 'arr' was not declared in this scope
src/helpers.cpp: At global scope:
src/helpers.cpp:2812: error: expected ',' or '...' before '&' token
src/helpers.cpp:2812: error: ISO C++ forbids declaration of
'wxArrayDouble' with no type
src/helpers.cpp: In function 'PyObject* wxArrayDouble2PyList_helper(int)':
src/helpers.cpp:2815: error: 'arr' was not declared in this scope
src/helpers.cpp: At global scope:
src/helpers.cpp:2835: error: 'PyObject*
wxPyImageHandler::py_InputStream' is not a static member of 'class
wxPyImageHandler'
src/helpers.cpp:2835: error: 'wxInputStream' was not declared in this scope
src/helpers.cpp:2835: error: 'stream' was not declared in this scope
src/helpers.cpp:2835: error: expected ',' or ';' before '{' token
src/helpers.cpp:2840: error: 'PyObject* wxPyImageHandler::py_Image' is
not a static member of 'class wxPyImageHandler'
src/helpers.cpp:2840: error: 'wxImage' was not declared in this scope
src/helpers.cpp:2840: error: 'image' was not declared in this scope
src/helpers.cpp:2840: error: expected ',' or ';' before '{' token
src/helpers.cpp:2844: error: 'PyObject*
wxPyImageHandler::py_OutputStream' is not a static member of 'class
wxPyImageHandler'
src/helpers.cpp:2844: error: 'wxOutputStream' was not declared in this scope
src/helpers.cpp:2844: error: 'stream' was not declared in this scope
src/helpers.cpp:2844: error: expected ',' or ';' before '{' token
src/helpers.cpp:2872: error: 'bool wxPyImageHandler::DoCanRead' is not
a static member of 'class wxPyImageHandler'
src/helpers.cpp:2872: error: 'wxInputStream' was not declared in this scope
src/helpers.cpp:2872: error: 'stream' was not declared in this scope
src/helpers.cpp:2872: error: expected ',' or ';' before '{' token
src/helpers.cpp:2894: error: 'bool wxPyImageHandler::LoadFile' is not
a static member of 'class wxPyImageHandler'
src/helpers.cpp:2894: error: 'wxImage' was not declared in this scope
src/helpers.cpp:2894: error: 'image' was not declared in this scope
src/helpers.cpp:2894: error: 'wxInputStream' was not declared in this scope
src/helpers.cpp:2894: error: 'stream' was not declared in this scope
src/helpers.cpp:2895: error: expected primary-expression before 'bool'
src/helpers.cpp:2895: error: expected primary-expression before 'int'
src/helpers.cpp:2895: error: initializer expression list treated as
compound expression
src/helpers.cpp:2895: error: expected ',' or ';' before '{' token
src/helpers.cpp:2919: error: 'bool wxPyImageHandler::SaveFile' is not
a static member of 'class wxPyImageHandler'
src/helpers.cpp:2919: error: 'wxImage' was not declared in this scope
src/helpers.cpp:2919: error: 'image' was not declared in this scope
src/helpers.cpp:2919: error: 'wxOutputStream' was not declared in this scope
src/helpers.cpp:2919: error: 'stream' was not declared in this scope
src/helpers.cpp:2920: error: expected primary-expression before 'bool'
src/helpers.cpp:2920: error: initializer expression list treated as
compound expression
src/helpers.cpp:2920: error: expected ',' or ';' before '{' token
src/helpers.cpp:2942: error: 'int wxPyImageHandler::GetImageCount' is
not a static member of 'class wxPyImageHandler'
src/helpers.cpp:2942: error: 'wxInputStream' was not declared in this scope
src/helpers.cpp:2942: error: 'stream' was not declared in this scope
src/helpers.cpp:2942: error: expected ',' or ';' before '{' token
src/helpers.cpp: In function 'bool wxPyTestDisplayAvailable()':
src/helpers.cpp:3016: warning: no return statement in function
returning non-void
error: command 'gcc' failed with exit status 1

Any clues what is missing?

Thanks.

···

On 2/9/07, Robin Dunn <robin@alldunn.com> wrote:

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

--
M. Shuaib Khan

M. Shuaib Khan wrote:

···

On 2/9/07, Robin Dunn <robin@alldunn.com> wrote:

M. Shuaib Khan wrote:
> Hi,
>
> I am having a hard time installing wxPython from source on my openSuse
> 10.2 installation. Are you guys sure that one can easily install
> wxPython following the build instructions given on the website?
> Because I tried, and every time, I get strange errors during
> compilation. I tried alternatives, like the simple, ./configure, make,
> make install method, and then 'python ./setup.py install', but that
> gives 'errors' as well.

I can't read your mind. What errors did you get?

Here they are...

python ./setup.py install
Found wx-config: /usr/local/bin/wx-config
   Using flags: --toolkit=gtk2 --unicode=yes --version=2.8

Warning: No config found to match: /usr/local/bin/wx-config
--toolkit=gtk2 --unicode=yes --version=2.8 --cxxflags
          in /usr/local/lib/wx/config

I expect that you didn't do a unicode build of wxWidgets, or there is some other configuration mismatch. Run "/usr/local/bin/wx-config --list" to show what configurations are installed in that prefix.

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!