Code::Blocks Forums

User forums => Help => Topic started by: physpy on May 18, 2012, 08:35:30 am

Title: error:fatal error: wx/gizmos/ledctrl.h: No such file or directory
Post by: physpy on May 18, 2012, 08:35:30 am
hello!
my system is fedora 16.
there is an error happend:error:fatal error: wx/gizmos/ledctrl.h: No such file or directory after configure and make.
I think that the file Makefile.am and Makefile.in  in src/plugins/contrib/wxContribItems/wxled/  have some problem,they loss -I$(srcdir)/gizmosled/include.
svn7966
Title: Re: error:fatal error: wx/gizmos/ledctrl.h: No such file or directory
Post by: Jenna on May 18, 2012, 09:02:55 am
The Makefile.am did not change for a long time in svn.
I'm currently switching my system from debian to fedora(16) and will look into it as soon as possible.

By the way:
did you run ./bootstrap before running ./configure to regenerate all Makefile.in's and the configure script ?
Title: Re: error:fatal error: wx/gizmos/ledctrl.h: No such file or directory
Post by: physpy on May 18, 2012, 09:35:20 am
The Makefile.am did not change for a long time in svn.
I'm currently switching my system from debian to fedora(16) and will look into it as soon as possible.

By the way:
did you run ./bootstrap before running ./configure to regenerate all Makefile.in's and the configure script ?

yes, I follow the list from http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Linux

after insert -I$(srcdir)/gizmosled/include in Makefile(src/plugins/contrib/wxContribItems/wxled/) line 348  ,everything is ok!
Title: Re: error:fatal error: wx/gizmos/ledctrl.h: No such file or directory
Post by: Jenna on May 19, 2012, 04:50:47 pm
Don't work with the Makefile's directly, if you really need to do changes, please do it in the Makefile.am and rerun ./bootstrap from C::B root-folder.
All other changes are only locally and will be overwritten sooner or later.

By the way, it works here without any problems (fedora 16 64-bit).

If I find the time, I will prepare a repo for fedora 16 and upload nightly builds from time to time.