ggazzo / opennero

Automatically exported from code.google.com/p/opennero
Other
0 stars 0 forks source link

import wx failed in Linux #103

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.import wx
2.
3.

What is the expected output? What do you see instead?
Their should be no out.

What version of the product are you using? On what operating system?
OpenNERO-2011-11-14-i686

Please provide any additional information below.
This is the output:
>>> import wx
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/__init__.py", line 45, in <module>
    from wx._core import *
  File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 14796, in <module>
    from _misc import *
  File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_misc.py", line 4, in <module>
    import _misc_
ImportError: /usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_misc_.so: 
symbol wxDefaultVideoMode, version WXU_2.8 not defined in file 
libwx_gtk2u_core-2.8.so.0 with link time reference
>>> 

Original issue reported on code.google.com by fghj...@gmail.com on 16 Nov 2011 at 6:59

GoogleCodeExporter commented 9 years ago
This appears to have nothing to do with OpenNERO itself, so I would try to find 
more information about that issue for your Linux distribution. For example, 
here is a bug (that appears resolved) in RedHat:

https://bugzilla.redhat.com/show_bug.cgi?id=587900

Which version of Linux are you using? I will close this bug report here as it 
really doesn't seem like it's our fault - correct me if I'm wrong =).

Original comment by ikarpov on 17 Nov 2011 at 2:28

GoogleCodeExporter commented 9 years ago
Here is someone getting the same error using something else in Ubuntu 11.04

https://answers.launchpad.net/ubuntu/+source/playonlinux/+question/176518

Original comment by ikarpov on 17 Nov 2011 at 2:31

GoogleCodeExporter commented 9 years ago
I am using Ubuntu 11.04. Yes, I agree that is not the fault of OpenNera. 

If you find some solution, do post. For the time being, I am searching for 
solution.

Thanks

Original comment by fghj...@gmail.com on 17 Nov 2011 at 2:55

GoogleCodeExporter commented 9 years ago
Solved.

Installing 
1. libwxgtk2.8-dev 
2. libgtk2.0-dev

solves the problem.

Thankyou.

Original comment by fghj...@gmail.com on 17 Nov 2011 at 3:04