Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: Kamesh on March 29, 2010, 08:00:54 am

Title: wxwidgets folder
Post by: Kamesh on March 29, 2010, 08:00:54 am
Hello all,
I have installed Dev-C++ and I am able to write sample applications. I would like to use CB for form design etc. I installed CB but do not want to install MingW and widgets as they are any way installed by Dev-C++. I would like CB to use installed MingW and widgets. To do this I tried to include a path for widgets (C:\Dev-CPP\lib) but I get an error that CB is unable to detect widgets. Can some one help me with this please? Thank you.

Kamesh
Title: Re: wxwidgets folder
Post by: Kamesh on March 30, 2010, 03:16:27 am
Hello all,
I am surprised at nil suggestions  :( . I am sure there are many Gurus in CB who can help me.
Title: Re: wxwidgets folder
Post by: stahta01 on March 30, 2010, 03:49:49 am
Please read
http://wiki.codeblocks.org/index.php?title=Recommended_global_variables

Quote
wx     Base directory of wxWidgets

Edited: added more info.

Example my Base directory of wxWidgets is "H:\SourceCode\Projects\wxWidgets\wxWidgets-2.8.x"

The Base directory of wxWidgets should contain sub-folders of "include", "src", and "lib".

Tim S.
Title: Re: wxwidgets folder
Post by: Kamesh on March 31, 2010, 06:52:41 pm
Hello Tim,
Thanks for your post. Just to test I installed wxwidgets directly under C drive and reinstalled code blocks. Even now/here CB throws an error (warnig) stating that there are no folders for debug and release. This is in spite of properly installed widgets. Any suggestions please? Thank you.


Kamesh
Title: Re: wxwidgets folder
Post by: stahta01 on March 31, 2010, 07:39:00 pm
Did you compile wxWidgets; if not, then you need to compile wxWidgets. Or use wxPack a pre-compiled version of wxWidgets. Note, the compiler/version they used must match yours in most cases.

Note, if you are already a programmer then compile wxWidgets yourself. The newbies try wxPack; but you need to know more than most newbies know to use wxPack.

If you have no idea of your compiler name and version; you first must learn that. Before making a choice.


http://wiki.codeblocks.org/index.php?title=WxWindowsQuickRef

Tim S.
Title: Re: wxwidgets folder
Post by: Kamesh on April 01, 2010, 07:31:56 am
Hello Tim,
Thanks for the reply. I have used wxMSW-2.9.0-Setup to install widgets. Is this not correct? Secondly I am not aware that the version number is so very important/critical for CB. I will switch to widgets 2.8.x and see if everything is ok. Thank once again.

Regards
Kamesh
Title: Re: wxwidgets folder
Post by: stahta01 on April 01, 2010, 03:42:47 pm
Hello Tim,
Thanks for the reply. I have used wxMSW-2.9.0-Setup to install widgets. Is this not correct?

wxWidgets 2.9.x are development releases; till you learn to use a normal stable release using a development release is NOT a good path.

Secondly I am not aware that the version number is so very important/critical for CB. I will switch to widgets 2.8.x and see if everything is ok. Thank once again.
Regards
Kamesh

After installing the source code for 2.8.10 or 2.8.11 you STILL need to build (Compile/Link) it.

Tim S.