Hi,
I receipt this erorr when I try to build wxpython.
Any ideas?? Im running Ubuntu 15.04 64 bits.
mario@mario:~/Descargas/Software$ sudo python build-wxpython.py --build_dir=../bld
.......
(arg1)->SetSizer(arg2);
^
src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_SizerItem_SetSpacer(PyObject*, PyObject*, PyObject*)’:
src/gtk/_core_wrap.cpp:61436:44: warning: ‘void wxSizerItem::SetSpacer(const wxSize&)’ is deprecated (declared at /home/mario/Descargas/Software/wxPython-src-3.0.2.0/include/wx/sizer.h:1124) [-Wdeprecated-declarations]
(arg1)->SetSpacer((wxSize const &)*arg2);
^
src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_Sizer_SetVirtualSizeHints(PyObject*, PyObject*, PyObject*)’:
src/gtk/_core_wrap.cpp:63369:37: warning: ‘void wxSizer::SetVirtualSizeHints(wxWindow*)’ is deprecated (declared at /home/mario/Descargas/Software/wxPython-src-3.0.2.0/include/wx/sizer.h:666) [-Wdeprecated-declarations]
(arg1)->SetVirtualSizeHints(arg2);
^
src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_new_ImageFromDataWithAlpha(PyObject*, PyObject*, PyObject*)’:
src/gtk/_core_wrap.cpp:3670:56: warning: ‘arg6’ may be used uninitialized in this function [-Wmaybe-uninitialized]
buffer acopy = (buffer)malloc(ALPHASIZE);
^
src/gtk/_core_wrap.cpp:17631:7: note: ‘arg6’ was declared here
int arg6 ;
^
src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_Image_SetAlphaData(PyObject*, PyObject*, PyObject*)’:
src/gtk/_core_wrap.cpp:3730:52: warning: ‘arg3’ may be used uninitialized in this function [-Wmaybe-uninitialized]
buffer acopy = (buffer)malloc(ALPHASIZE);
^
src/gtk/_core_wrap.cpp:20407:7: note: ‘arg3’ was declared here
int arg3 ;
^
src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_Image_SetAlphaBuffer(PyObject*, PyObject*, PyObject*)’:
src/gtk/_core_wrap.cpp:3747:13: warning: ‘arg3’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (ALPHASIZE != self->GetWidth() * self->GetHeight()) {
^
src/gtk/_core_wrap.cpp:20474:7: note: ‘arg3’ was declared here
int arg3 ;
^
cc1plus: some warnings being treated as errors
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
ERROR: failed building wxPython.
How did you build it and where did you received your sources (git,
snapshot, source-tarball)?
···
On 2015-04-30 23:41 Mario Lacunza <mlacunza@gmail.com> wrote:
I receipt this erorr when I try to build wxpython.
Any ideas?? Im running Ubuntu 15.04 64 bits.
Hi
I put the command I used in my first email and I downloaded the sources from sourceforge
···
Enviado desde mi LG G3 usando Gmail Móvil
El 01/05/2015 03:12, c.buhtz@posteo.jp escribió:
On 2015-04-30 23:41 Mario Lacunza mlacunza@gmail.com wrote:
I receipt this erorr when I try to build wxpython.
Any ideas?? Im running Ubuntu 15.04 64 bits.
How did you build it and where did you received your sources (git,
snapshot, source-tarball)?
–
You received this message because you are subscribed to the Google Groups “wxPython-users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Any help with this problem?? thanks!
Saludos / Best regards
Mario Lacunza
Email:: mlacunza@gmail.com
Personal Website:: http://www.lacunza.biz/
Hosting:: http://mlv-host.com/
Mascotas Perdidas:: http://mascotas-perdidas.com/
Google Hangouts / / Skype: mlacunzav
···
El 30/04/15 a las 23:41, Mario Lacunza escribió:
Hi,
I receipt this erorr when I try to build wxpython.
Any ideas?? Im running Ubuntu 15.04 64 bits.
mario@mario:~/Descargas/Software$ sudo python build-wxpython.py --build_dir=../bld
.......
(arg1)->SetSizer(arg2);
^
src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_SizerItem_SetSpacer(PyObject*, PyObject*, PyObject*)’:
src/gtk/_core_wrap.cpp:61436:44: warning: ‘void wxSizerItem::SetSpacer(const wxSize&)’ is deprecated (declared at /home/mario/Descargas/Software/wxPython-src-3.0.2.0/include/wx/sizer.h:1124) [-Wdeprecated-declarations]
(arg1)->SetSpacer((wxSize const &)*arg2);
^
src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_Sizer_SetVirtualSizeHints(PyObject*, PyObject*, PyObject*)’:
src/gtk/_core_wrap.cpp:63369:37: warning: ‘void wxSizer::SetVirtualSizeHints(wxWindow*)’ is deprecated (declared at /home/mario/Descargas/Software/wxPython-src-3.0.2.0/include/wx/sizer.h:666) [-Wdeprecated-declarations]
(arg1)->SetVirtualSizeHints(arg2);
^
src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_new_ImageFromDataWithAlpha(PyObject*, PyObject*, PyObject*)’:
src/gtk/_core_wrap.cpp:3670:56: warning: ‘arg6’ may be used uninitialized in this function [-Wmaybe-uninitialized]
buffer acopy = (buffer)malloc(ALPHASIZE);
^
src/gtk/_core_wrap.cpp:17631:7: note: ‘arg6’ was declared here
int arg6 ;
^
src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_Image_SetAlphaData(PyObject*, PyObject*, PyObject*)’:
src/gtk/_core_wrap.cpp:3730:52: warning: ‘arg3’ may be used uninitialized in this function [-Wmaybe-uninitialized]
buffer acopy = (buffer)malloc(ALPHASIZE);
^
src/gtk/_core_wrap.cpp:20407:7: note: ‘arg3’ was declared here
int arg3 ;
^
src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_Image_SetAlphaBuffer(PyObject*, PyObject*, PyObject*)’:
src/gtk/_core_wrap.cpp:3747:13: warning: ‘arg3’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (ALPHASIZE != self->GetWidth() * self->GetHeight()) {
^
src/gtk/_core_wrap.cpp:20474:7: note: ‘arg3’ was declared here
int arg3 ;
^
cc1plus: some warnings being treated as errors
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
ERROR: failed building wxPython.
Hi,
just in case anyone have the same problem, I just found the way to install it in Ubuntu 15.04 64bits:
1. After download and unzip the scr package you need go to the ../wxPython folder
2. Run this command:
$: sudo CFLAGS=-Wno-error=format-security CPPFLAGS=-Wno-error=format-security python setup.py install
and after some time process finish with no errors.
Maybe you will need to run:
$: sudo ldconfig
and after that you can run the latest version, hope this help.
Saludos / Best regards
Mario Lacunza
Email:: mlacunza@gmail.com
Personal Website:: http://www.lacunza.biz/
Hosting:: http://mlv-host.com/
Mascotas Perdidas:: http://mascotas-perdidas.com/
Google Hangouts / / Skype: mlacunzav
···
El 01/05/15 a las 03:12, c.buhtz@posteo.jp escribió:
On 2015-04-30 23:41 Mario Lacunza <mlacunza@gmail.com> wrote:
I receipt this erorr when I try to build wxpython.
Any ideas?? Im running Ubuntu 15.04 64 bits.
How did you build it and where did you received your sources (git,
snapshot, source-tarball)?