Author Topic: wxwidgets folder  (Read 4329 times)

Offline Kamesh

  • Single posting newcomer
  • *
  • Posts: 6
wxwidgets folder
« 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

Offline Kamesh

  • Single posting newcomer
  • *
  • Posts: 6
Re: wxwidgets folder
« Reply #1 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.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
Re: wxwidgets folder
« Reply #2 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.
« Last Edit: March 30, 2010, 04:09:09 am by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Kamesh

  • Single posting newcomer
  • *
  • Posts: 6
Re: wxwidgets folder
« Reply #3 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

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
Re: wxwidgets folder
« Reply #4 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.
« Last Edit: March 31, 2010, 07:41:13 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Kamesh

  • Single posting newcomer
  • *
  • Posts: 6
Re: wxwidgets folder
« Reply #5 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

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
Re: wxwidgets folder
« Reply #6 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.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org