How to install wxWidget on slackware 13
./xchm.SlackBuild
Code:
checking where the gettext function comes from... libc Code:
No packages match the pattern for install. Try: |
You could try to build it from source. Search Google for wxWidgets, get the tarball from there and then build it on your system. It's not hard to build things. People just think that it is.
|
|
I already know that conflicts with wxGTK, but does it actually contain the widgets or just the python bindings? I usually go with the GTK+ version when I build wxWidgets is why I'm asking. What's the difference?
|
Downloaded wxWidget from official site and did:
Code:
tar vxjf file.bz2 |
@ rworkman .. No wxPython is not wxwidgets
.. wxPython provides a Python binding to the wxGTK library. The package providing /usr/bin/wx-config is wxgtk : http://slackbuilds.org/repository/13.0/libraries/wxGTK/ .. which is the wxWidget library for Linux. A ready to install package is available from http://connie.slackware.com/~alien/slackbuilds/ > > http://connie.slackware.com/~alien/s...xGTK/pkg/13.0/ > wxGTK-2.8.10-i486-1alien.tgz . ..... |
Quote:
|
Like WxPython, WxGtk serves Gtk bindings for WxWidgets,
WxWidgets should be installed before you can compile and use WxPython or WxGtk. you can get all of them from www.slackbuilds.org if you want to compile them from source as well as make packages. see here and follow the instructions http://slackbuilds.org/result/?search=wx&sv=13.0 |
eek, I can't ever keep the wx* family straight with regards to which one contains what and which one conflicts with which other one and why.
|
Now if i want to remove wxWidget from system,how would i do that?
slackpkg remove wxWidget doesn't work |
No, you don't have to remove your wxGTK install,
which is what you got from installing wxWidgets. I can repeat : wxGTK is the wxWidgets library for Linux. A genuine slack package may look nicer, but anyway, you have the required files, no difference in functions. Conclusion : No need to uninstall, you can always change it later. ( There may be a # 'make uninstall' in the wx source.) ..... |
Quote:
Code:
removepkg wxWidgets Eric |
Quote:
Code:
tito@pandora:~$ grep wx-config /var/log/scripts/* Quote:
|
fwiw, I've never successfuly got wxwidgets to even build, wxGtk has usually been the better route for me.
|
Hi every body,
I'm a new to code block and i wanna use it to develope a GUI application using the wxwidgets library, I'm using Ubuntu 9.4 running on VirtualBox (as Virtual machine ) I installed the Wxwidgets successfully. # tar -xzvf wxwidgets-2.8.10.tar.gz # cd wxwidgets-2.8.10 # mkdir build-x11 # cd build-x11 # ../configure --with-x11 --without-gtk --enable-no_rtti --enable-no_exceptions --disable-threads --disable-sockets --disable-joystick --disable-mdi --disable-printarch --disable-postscript --disable-resources --disable-prologio --with-zlib=builtin --with-libpng=builtin --with-libjpeg=builtin --with-libtiff=builtin # make #make install #ldconfig I installed the Code::Block successfully too. #apt-get install codeblocks I create a new Wxwidget projects. file -> new project -> wxwidgets project -> ... I compiled this project and every thing gonna good. Run the project in Linux and the project run successfully After that i install the Arm-Linux cross compilation tool-chain to the linux as follow: # cd /opt/FriendlyArm/mini2440/source/ # tar -xzvf arm-linux-gcc-4.3.2.tgz after unpacking the ziped file it gives me usr directory I added the path to path enviroment export PATH=/opt/FriendlyArm/mini2440/source/usr/local/arm/4.3.2:$PATH After that i gone to the my code::block Setting -> compiler and debugger -> choose the GNU ARM GCC compiler -> and under the toolchain executables change this configuration c compiler --> arm-linux-gcc c++ compiler --> arm-linux-g++ Linker for dynamic library --> arm-linux-g++ Linker for static library --> arm-linux-ar Debugger --> arm-linux-qdb compiler installation directory --> /opt/FriendlyArm/mini2440/source/usr/local/arm/4.3.2 project -> properties -> build option Choose release tap -> duplicated ->and choose ArmRelease as new name Choose the compiler as GNU ARM GCC compiler OK and when i compiled ARMRelease it gives me this error cannot find -lwx_gtk2u_richtext-2.8 I googled in the internet and find that i should add this lines to the configuration 'wx-config --cflags' to the compiler option and 'wx-config --libs' to the linker option I successfully add this lines to the compiler and linker as follow: project -> properties -> build-option ->choose ARMRelease -> compiler -> other option project -> properties -> build-option ->choose ARMRelease -> linker -> other option After that i got more errors : this some of all because it is more that 2000 char and it got refused by the forumas follow: obj/ARMRelease/GUIFrame.o||In function `__static_initialization_and_destruction_0(int, int)':| GUIFrame.cpp:(.text+0x48)||undefined reference to `std::ios_base::Init::Init()'| GUIFrame.cpp:(.text+0x64)||undefined reference to `wxEventHashTable::wxEventHashTable(wxEventTable const&)'| GUIFrame.cpp:(.text+0x174)||undefined reference to `std::ios_base::Init::~Init()'| GUIFrame.cpp:(.text+0x180)||undefined reference to `wxEventHashTable::~wxEventHashTable()'| GUIFrame.cpp:(.text+0x18c)||undefined reference to `wxEVT_CLOSE_WINDOW'| GUIFrame.cpp:(.text+0x190)||undefined reference to `wxEVT_COMMAND_MENU_SELECTED'| GUIFrame.cpp:(.text+0x194)||undefined reference to `wxEVT_NULL'| obj/ARMRelease/GUIFrame.o||In function `GUIFrame::GUIFrame(wxWindow*, int, wxString, wxPoint, wxSize, int)':| GUIFrame.cpp:(.text+0x1dc)||undefined reference to `wxStringBase::InitWith(wchar_t const*, unsigned int, unsigned int)'| GUIFrame.cpp:(.text+0x1e4)||undefined reference to `wxFrameBase::wxFrameBase()'| GUIFrame.cpp:(.text+0x1f4)||undefined reference to `wxFrame::Init()'| GUIFrame.cpp:(.text+0x224)||undefined reference to `wxFrame::Create(wxWindow*, int, wxString const&, wxPoint const&, wxSize const&, long, wxString const&)'| ||=== Build finished: 534 errors, 0 warnings ===| Could any body help me please I don't know what can i do. |
All times are GMT -5. The time now is 02:29 PM. |