Compiling wxWidgets on Ubuntu 9.04
Hi I did fine with Ubuntu 9.04 for a month and then things went wrong and I could no longer compile programs though others on the same distro could so I reinstalled Ubuntu 9.04. First step is to compile wxWidgets. Before this was automatic sudo make install libgtk2.0-dev, download wxGTK from wxWidgets then compile and make wxWidgets. Now I can't even do that, I get make errors every time and as soon as I resolve one. another shows. Widgets version 2-8-10 is the same as before. Does anyone know a current address for a tutorial getting widgets to compile with Ubuntu, I don't know whether to ask you, Ubuntu or Widgets (or understand what went wrong with Ubuntu in the first place.
Thanks |
Might be easier to help if you posted the error message. It's likely something simple like a missing dev package on your system.
|
Quote:
|
Well, that's not usually much information to go on. Generally, when you post the output of failed makes, its a good idea to post the last 20-30 lines of output. Sometimes even more depending on where the actual error occurs. In this case, you could have gone to this page and found that libwx_baseu_xml-2.8 is provided by the libwxbase package. Do you have that package and its associated -dev package installed?
|
Well in Ubuntu you usually need to install build-essential package to compile packages from source. Did you install that?
Just a thought though. |
Hi
some make output below. Yes had libwxbase and dev package already.... running this from the directory I unpacked wxGTK to Desktop/wxGTK-2.8.10 (what I did before) Thanks Code:
make[1]: Entering directory `/home/gale/Desktop/wxGTK-2.8.10/utils/wxrc' |
It appears now the problem may have been that I had done sudo apt-get build-dep for the app I was wanting to build which depends on wxWidgets. When I compiled the app (after installing various libwx dev and dbg packages) it compiled without my having compiled wxWidgets. Does this make any sense, and what are dbg packages? I noticed the app was built with widgets 2.8.9 not the 2.8.10 I was trying to build. What would I do now to build the app with 2.8.10? I have almost no clue about paths on Linux as I know windows (as per username).
Thanks |
All times are GMT -5. The time now is 04:05 AM. |