Anjuta officially supports wxWidgets (with some modifications, see below).
Currently in Alpha stage & not yet ready for regular use.
I installed Anjuta 2.0.2 on my Gentoo box, and tried to buld different projecs for wx. The executable worked out of the box. Steps to perform:
1. Create a new Anjuta project. Besides the "New" button, there is an arrow button. When you click on it, the list will appear. Choose "Project". 2. On the first Wizard page select the "C/C++" tab for the property page, and choose "wxWidgets". Click "Forward". 3. Fill out the form about the author and project name and version. Click "Forward". 4. If you want, change the location of the project and if the project should support internationalization. Leave everything else intact. Click "Forward". 5. Click "Apply". Anjuta will generate Makefiles. 6. Press "Shift+F11" to compile the project. (If you try to do a "Run" or "F3", you will get a message "Nothing to run!") 7. If the compilation successful, you can run and test you program.
However, if you want to build a DLL - either .so or .a - you will run into the problems. They were reported to the Anjuta team already, and hopefully will be fixed. As soon as I will have more info or the patch, I will update this page with the more info.
This is added by the oneeyeman on 08 September 2006 at 2:30 PM PDT.
HOWTO compile a wxWidgets project on anjuta-1.2.4 and wxWidgets-2.6.2:
if you try to compile the standard project template: First you need to add wxT() around "Hello World" on line 19 on the original template(main.cc): change "Hello World" to wxT("Hello World")
Disable overwriting of configure.in file: goto menu Project->Configure Project->Build Files and check "Project configure.in". Click ok.
Open configure.in (located at the root of your project dir) in your favourite text editor. Find the line "AM_PATH_WXCONFIG(2.3.2, wxWin=1)" and change the version to 2.6.2 (or whatever version you have). Now it should look somewhat like "AM_PATH_WXCONFIG(2.6.2, wxWin=1)"
Then you need to remove the else block of the if right below the line you just edited. That would be line 42 to 55 for me:
dnl Quick hack until wx-config does it
Then add this after fi:
Now your configure.in should contain something like this:
if test "$wxWin" != 1; then
wxWindows must be installed on your system.
Please check that wx-config is in path, the directory
where wxWindows libraries are installed (returned by
'wx-config --libs' or 'wx-config --static --libs' command)
is in LD_LIBRARY_PATH or equivalent variable and
wxWindows version is 2.3.2 or above.
This small howto added by faern 09:35, 10 August 2006 (PDT). I wrote this just minutes after I found the solution, so it's not well tested
Packages needed in (Ubuntu GNU/Linux)
If you install only the "Anjuta IDE" and try to create a wxWidgets application with the wizard, it can complain for missing some components. You can solve this by running the following command in a system console:
sudo apt-get install libgtk2.0-dev automake libtool autoconf
(done with a Ubuntu GNU/Linux 7.04 -64bit)