ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

What is swig-wx?

asked 2012-07-01 04:57:42 -0500

mano gravatar image


i know what swig is, but what is swig-wx exactly and why do i need this when i want to compile ros?

swig-wx version 1.3.29 (2006)

swig version 2.0.7 (2012)

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2012-07-02 07:53:35 -0500

mano gravatar image

Thanks for your quick answer!

I found this on the swig-wx site (

This is a special version of swig needed by wxPython, which is SWIG version 1.3.29 plus some custom patches (explained at The patched latest version of wxPython SWIG is available at

... under the Install graphical library dependencies section of the install guide).

Is there a general installation guide which lists the dependencies?

edit flag offensive delete link more



It's generally considered to be bad form to ask additional questions in posting an answer. If you did not intend for this to be posted as an answer to your own question, it would be better to move it into your original question and delete this answer post.

Asomerville gravatar image Asomerville  ( 2012-07-02 08:49:59 -0500 )edit

answered 2012-07-01 21:02:43 -0500

ipso gravatar image

From the wxWidgets site:

wxWidgets is a C++ library that lets developers create applications for Windows, OS X, Linux and UNIX on 32-bit and 64-bit architectures as well as several mobile platforms including Windows Mobile, iPhone SDK and embedded GTK+.

And also:

It has popular language bindings for Python, Perl, Ruby and many other languages.

From the SWIG site:

SWIG is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages.

Combining this: swig-wx provides bindings to wxWidgets for the languages used in ROS. Using these bindings, various tools in ROS are able to provide a graphical user interface.

So this package is needed in order to be able to build (and run) the tools that use the toolkit for their UIs (which is also why it is mentioned under the Install graphical library dependencies section of the install guide).

edit flag offensive delete link more

Question Tools


Asked: 2012-07-01 04:57:42 -0500

Seen: 1,158 times

Last updated: Jul 02 '12