Bug #7750 2006-06-04 18:29

ajwilkinson

Wxwidgets wizard fails on debian package of codeblocks.

In codeblocks build 28 May 2006   v1.0

Platform:  Debian sid

The wxWidgets wizard got stuck at the point where it asked
"Please select a valid path to wxWidgets...".
It would not allow me to continue if I pointed it to the correct location.  A fix is needed.

After examining the wizard.script, I could see that the wizard check would not ever work on my debian installation, because the sought wxwidgets file was located at  /usr/include/wx-2.6/wx/wx.h instead of '/usr/include/wx/wx.h' as expected by the script.

I put in an extra link in order to make the "wxWidgets wizard" work:

ln -s   /usr/include/wx-2.6/wx    /usr/include/wx

I leave the solution on how to fix the script up to you.
The relevant code segment to be fixed is below.

regards

Andrew


/usr/share/codeblocks/templates/wizard/wxwidgets/wizard.script

            ShowError("Please select a valid path to wxWidgets...");
            return false;
		}
        if (!IO.FileExists(dir + "/include/wx/wx.h"))
        {
            ShowError("The path you entered seems valid, but this wizard "
                    "can't locate wxWidgets' files in it...");
            return false;
Category
 
Group
 
Status
Closed
Close date
2006-07-06 17:38
Assigned to
 
mandrav 2006-07-06 17:38

This bug has been already fixed in HEAD.

Thank you.